Query: sip_hold_msg
OS: opensolaris
Section: 3sip
Links: opensolaris man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sip_hold_msg(3SIP) Session Initiation Protocol Library Functions sip_hold_msg(3SIP)NAMEsip_hold_msg, sip_free_msg - adds and removes a reference from a SIP messageSYNOPSIScc [ flag ... ] file ... -lsip [ library ... ] #include <sip.h> void sip_hold_msg(sip_msg_t sip_msg); void sip_free_msg(sip_msg_t sip_msg);DESCRIPTIONThe sip_hold_msg() function adds a reference to the SIP message passed as the argument. The reference is used to prevent the SIP message from being freed when in use. The sip_free_msg() function is used to remove an added reference on the SIP message passed as the argument. If this is the last reference on the SIP message (i.e. the number of references on the SIP message is 0), the SIP message is destroyed and associated resources freed. Freeing a SIP message does not set the sip_msg pointer to NULL. Applications should not expect the pointer to a freed SIP message to be NULL.RETURN VALUESThe value of errno is not changed by these calls in the event of an error.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOlibsip(3LIB) SunOS 5.11 25 Jan 2007 sip_hold_msg(3SIP)
Similar Topics in the Unix Linux Community |
---|
SIP and Web-Based Applications (IT Management) |
Asterisk / SIP Question. |
Sofia-SIP 1.12.8 (Default branch) |
Same IP | Different port | Different MAC |
Can't get local IP address in getaddrinfo |