Skip Navigation Links | |
Exit Print View | |
SIPAPI Developer's Guide Oracle Solaris 11.1 Information Library |
2. Oracle Solaris SIP Internals
3. Multithreading and URI Support
SIP Request and Response Creation Functions
Header and Message Copying Functions
Header and Value Deleting Functions
Value Retrieval and Response Description Functions
SIP Header Value Retrieval Functions
This function initializes the SIP stack. This is the stack initialization 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;
The structure has the following elements:
The value of this variable is equal to the value of the SIP_STACK_VERSION attribute.
Set the value of this variable to SIP_STACK_DIALOGS to make the stack manage dialogs.
The values in this field provide the connection manager interfaces.
The values in this field contain the upper layer registrations. Upper layer registrations are functions that the application must register with the stack during initialization.
The values in this field are the custom headers that the application registers and the parsing functions that are associated with those headers. The application can specify the following elements for each custom header:
header_name
header_short_name (optional)
header_parse_func
header_check_compliance (optional)
header_is_equal (optional)
header_free