2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH SIP_HOLD_DIALOG 3SIP "Jan 25, 2007"
8 sip_hold_dialog, sip_release_dialog \- hold/release reference on a dialog
12 \fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lsip\fR [ \fIlibrary\fR ... ]
15 \fBvoid\fR \fIsip_hold_dialog\fR(\fBsip_dialog_t\fR \fIdialog\fR);
20 \fBvoid\fR \fIsip_release_dialog\fR(\fBsip_dialog_t\fR \fIdialog\fR);
26 For functions that return a pointer of type \fBsip_str_t\fR, \fBsip_str_t\fR is
31 typedef struct sip_str {
40 The \fIsip_str_ptr\fR parameter points to the start of the returned value and
41 \fIsip_str_len\fR supplies the length of the returned value.
44 The \fBsip_hold_dialog()\fR function is used to hold a reference on the
45 \fIdialog\fR. A dialog is not freed if there are any references on it.
48 The \fBsip_release_dialog()\fR function is used to release a reference in the
49 \fIdialog\fR. If the reference in a dialog drops to \fB0\fR and it is in
50 \fBSIP_DLG_DESTROYED\fR state, it is freed.
54 The value of \fBerrno\fR is not changed by these calls in the event of an
59 See \fBattributes\fR(5) for descriptions of the following attributes:
67 ATTRIBUTE TYPE ATTRIBUTE VALUE
69 Interface Stability Committed