Table of Contents Index NMS Glossary Previous Page Next Page (Page 31 of 32 in this chapter) Version


NMS_V5StopInterface

Description

Stops a provisioned interface.

Prototype

NMS_V5_RESULT_T NMS_V5StopInterface
(NMS_GR303_INTERFACE_ID_T interfaceId)

interfaceId Interface ID of a provisioned interface.

Return Values

Events

None.

Details

This function disables the HDLC channels and E1 links associated with the specified interface leaving the channels and links configured but inactive.

After stopping an interface, the application can restart the interface without reprovisioning it with NMS_V5StartInterface.

See Also

NMS_V5DestroyInterface, NMS_V5StartInterface

Example

void  StopInterface( void )
{
    NMS_V5_RESULT_T     NmsResult;
    DWORD     InterfaceId;

    printf("NMS_V5StopInterface:\n");
    /* Get parameters */
    promptdw_nodft("Enter InterfaceId", &InterfaceId);

    NmsResult = NMS_V5StopInterface( InterfaceId );

    printf ("NMS_V5StopInterface:
            Result=%s\n",PRINT_RESULT(NmsResult));

}



Table of Contents Index NMS Glossary Previous Page Next Page (Page 31 of 32 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, NMS Communications Corporation. All rights reserved.