opensolaris man page for sip_hold_msg

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)

NAME
sip_hold_msg, sip_free_msg - adds and removes a reference from a SIP message
SYNOPSIS
cc [ 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);
DESCRIPTION
The 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 VALUES
The value of errno is not changed by these calls in the event of an error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
libsip(3LIB) SunOS 5.11 25 Jan 2007 sip_hold_msg(3SIP)
Related Man Pages
sip_clone_msg(3sip) - opensolaris
sip_copy_header(3sip) - opensolaris
sip_delete_header(3sip) - opensolaris
sip_delete_start_line(3sip) - opensolaris
sip_get_header(3sip) - opensolaris
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