SIP_DELETE_DIALOG(3SIP) Session Initiation Protocol Library Functions SIP_DELETE_DIALOG(3SIP)

sip_delete_dialog - delete a dialog

cc [ flag ... ] file ... -lsip [ library ... ]
#include <sip.h>
void sip_delete_dialog(sip_dialog_t dialog);

For functions that return a pointer of type sip_str_t, sip_str_t is supplied by:


typedef struct sip_str {

char *sip_str_ptr;
int sip_str_len; }sip_str_t;

The sip_str_ptr parameter points to a specified value at the start of an input string. The sip_str_len supplies the length of the returned value starting from sip_str_ptr.

The sip_delete_dialog() function is used to delete the dialog specified in dialog. The dialog is not freed if it has outstanding references on it. When the last reference is released the dialog is freed.

The value of errno is not changed by these calls in the event of an error.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe

libsip(3LIB)

January 25, 2007 OmniOS