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


NMS_GR303DestroyInterface

Description

Destroys all connections for HDLC instances associated with a specified interface.

Prototype

NMS_GR303_RESULT_T NMS_GR303DestroyInterface
(NMS_GR303_INTERFACE_ID_T interfaceId)

interfaceId Interface ID of a provisioned interface.

Return Values

Events

Details

This function:

Applications must stop the interface with NMS_GR303StopInterface before calling NMS_GR303DestroyInterface, and must call NMS_GR303DestroyInterface before reprovisioning the interface with NMS_GR303ProvisionInterface.

See Also

NMS_GR303Exit, NMS_GR303ProvisionInterface, NMS_GR303StopInterface

Example

void  DestroyInterface( void )
{
 NMS_GR303_RESULT_T     NmsResult;
 DWORD     InterfaceId;

 printf("NMS_GR303DestroyInterface:\n");

 /* Get parameters */
 promptdw_nodft("Enter interfaceId", &InterfaceId);

 NmsResult = NMS_GR303DestroyInterface( InterfaceId );

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


Table of Contents Index NMS Glossary Previous Page Next Page (Page 2 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.