Skip Navigation Links | |
Exit Print View | |
SIPAPI Developer's Guide Oracle Solaris 11.1 Information Library |
The SIP stack must be initialized before performing any other functions. This section discusses the initialization parameters in some detail. The initialization structure is given by the following structure:
typedef struct sip_stack_init_s { int sip_version; uint32_t sip_stack_flags; sip_io_pointers_t *sip_io_pointers; sip_ulp_pointers_t *sip_ulp_pointers; sip_header_function_t *sip_function_table; }sip_stack_init_t;
This variable must be set to SIP_STACK_VERSION
If the application wants the SIP stack to maintain dialogs, this flag must be set to SIP_STACK_DIALOGS, otherwise this must be set to 0. If SIP_STACK_DIALOGS is not set, the stack does not deal with dialogs at all.