Communication Protocol Parser Utilities Library Functions
sdpclonesession(3COMPUTIL)
NAME
sdpclonesession - clone an SDP session structure
SYNOPSIS
cc [ flag...] file... -lcommputil [ library...]
#include
sdpsessiont *sdpclonesession(const sdpsessiont *session);
DESCRIPTION
The sdpclonesession() function clones the input SDP ses-
sion structure and returns the cloned structure. The result-
ing cloned structure has all the SDP fields from the input
structure. The caller is responsible for freeing the
returned cloned structure using sdpfreesession(),
described on the sdpfreesession(3COMPUTIL) manual page.
RETURN VALUES
The sdpclonesession() function returns the cloned struc-
ture on success and NUL on failure.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level Safe
SEE ALSO
libcommputil(3LIB), sdpfreesession(3COMPUTIL), attri-
butes(5)
SunOS 5.11 Last change: 12 Oct 2007 1
Communication Protocol Parser Utilities Library Functions
sdpclonesession(3COMPUTIL)
SunOS 5.11 Last change: 12 Oct 2007 2
|