NMS GR303 and V5 Library Developer's Reference Manual (9000-62083-11): Function Reference
(Page 6 of 32 in this chapter) Version
NMS_GR303Initialize
Description
- Loads and initializes the NMS GR303 library.
Prototype
- NMS_GR303_RESULT_T NMS_GR303Initialize (
NMS_GR303_BOARD_FAMILY_T board_family,
void *init_parms)
- board_family Specifies the board family used on the system. The NMS_GR303_BOARD_FAMILY_T type is defined in the following structure:
typedef enum _NMS_GR303_BOARD_FAMILY_T
{
NMSGR303_BOARD_FAMILY_CG = 0x01
/* CG board family*/
} NMS_GR303_BOARD_FAMILY_T;
- init_parms For CG 6000 or CG 6000C boards, the application passes NULL.
Return Values
Events
Details
- This function loads and initializes the NMS GR303 library. Applications invoke this function only once at start up time.
- If the application wants the NMS GR303 library to return trace information, it should invoke NMS_GR303SetTrace immediately after invoking NMS_GR303Initialize.
See Also
- NMS_GR303Exit, NMS_GR303SetTrace, NMS_GR303StartInterface
Example
void Initialize( void* InitParms )
{
NMS_GR303_RESULT_T NmsResult;
printf("NMS_GR303Initialize:\n");
NmsResult = NMS_GR303Initialize( g_BoardFamily, InitParms );
printf ("NMS_GR303Initialize:
Result=%s\n",PRINT_RESULT(NmsResult));
}
(Page 6 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.