Performs an internal V5 library clean-up procedure prior to exiting the library.
NMS_V5_RESULT_T NMS_V5Exit
|
Return value |
Description |
|
NMSV5_SUCCESS |
|
|
NMSV5_INTERNAL_FAILURE |
Internal failure. Refer to the trace log for more information. |
|
NMSV5_NOT_INITIALIZED |
NMS V5 library was not initialized with NMS_V5Initialize. |
NMS_V5Exit stops and destroys all HDLC channels and E1 links provisioned by the application, flushes trace buffers, stops NMS V5 library tasks, and frees internally allocated memory.
NMS_V5DestroyInterface, NMS_V5StopInterface
void Exit( void )
{
NMS_V5_RESULT_T NmsResult;
printf("NMS_V5Exit:\n");
NmsResult = NMS_V5Exit();
printf ("NMS_V5Exit: Result=%s\n",PRINT_RESULT(NmsResult));
}