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
The sip_msg_to_str() function returns a string that contains all of the headers and content in the SIP message that is defined by the sip_msg parameter. The calling thread must free the string that this function returns.
char sip_hdr_to_str(sip_header_t sip_header, int *error);The sip_hdr_to_str() function returns the value of the sip_header parameter as a string. The calling thread must free the string that this function returns.
char sip_reqline_to_str(sip_msg_t sip_msg, int *error);The sip_reqline_to_str() function returns the request line in the SIP message that is defined by the sip_msg parameter as a string. The calling thread must free the string that this function returns.
char *sip_respline_to_str(sip_msg_t sip_msg, int *error);The sip_respline_to_str() function returns the response line in the SIP message that is defined by the sip_msg parameter as a string. The calling thread must free the string that this function returns.
int sip_init_conn_object(sip_conn_object_t conn_obj);The sip_init_conn_object() function initializes a connection object with library specific private data.
void sip_clear_stale_data(sip_conn_object_t conn_obj);The sip_clear_stale_data() function clears any library specific private data that is stored in the connection object that is specified by the conn_obj parameter.
void sip_conn_destroyed(sip_conn_object_t conn_obj);The sip_conn_destroyed() function clears any library specific private data that is stored in the connection object that is defined by the value of the obj parameter. This function also performs cleanup if this connection object has been cached by the system.