NMS GR303 and V5 Library Developer's Reference Manual (9000-62083-11): Function Reference
(Page 22 of 32 in this chapter) Version
NMS_V5Initialize
Description
- Loads and initializes the NMS V5 library.
Prototype
- NMS_V5_RESULT_T
(NMS_V5_BOARD_FAMILY_T board_family,
void *init_parms)
- board_family Specifies the board family used on the system. The NMS_V5_BOARD_FAMILY_T type is defined in the following structure:
typedef enum _NMS_V5_BOARD_FAMILY_T
{
NMSV5_BOARD_FAMILY_CG = 0x01
} NMS_V5_BOARD_FAMILY_T;
- init_parms Pointer to board-specific initialization parameters. For CG 6000 and CG 6000C boards, the application passes NULL.
Return Values
Events
- None.
Details
- This function loads and initializes the NMS V5 library. If the system uses CG 6000 or CG 6000C boards, the application passes NULL as the init_parms argument.
- If the application wants to receive tracing information from the NMS V5 library, it should invoke NMS_V5SetTrace immediately after invoking NMS_V5Initialize.
See Also
- NMS_V5Exit, NMS_V5ProvisionInterface, NMS_V5SetTrace
Example
void Initialize( void* InitParms )
{
NMS_V5_RESULT_T NmsResult;
printf("NMS_V5Initialize:\n");
NmsResult = NMS_V5Initialize( g_BoardFamily, InitParms );
printf ("NMS_V5Initialize: Result=%s\n",PRINT_RESULT(NmsResult));
}
(Page 22 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.