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 SDP_CLONE_SESSION 3COMMPUTIL "Oct 12, 2007"
8 sdp_clone_session \- clone an SDP session structure
12 \fBcc\fR [ \fIflag\fR...] \fIfile\fR... -\fBlcommputil\fR [ \fIlibrary\fR...]
15 \fBsdp_session_t *\fR\fBsdp_clone_session\fR(\fBconst sdp_session_t *\fR\fIsession\fR);
21 The \fBsdp_clone_session()\fR function clones the input SDP session structure
22 and returns the cloned structure. The resulting cloned structure has all the
23 SDP fields from the input structure. The caller is responsible for freeing the
24 returned cloned structure using \fBsdp_free_session()\fR, described on the
25 \fBsdp_free_session\fR(3COMMPUTIL) manual page.
29 The \fBsdp_clone_session()\fR function returns the cloned structure on success
30 and \fINULL\fR on failure.
34 See \fBattributes\fR(5) for descriptions of the following attributes:
42 ATTRIBUTE TYPE ATTRIBUTE VALUE
44 Interface Stability Committed
52 \fBlibcommputil\fR(3LIB), \fBsdp_free_session\fR(3COMMPUTIL),