Communication Protocol Parser Utilities Library Functions
sdpnewsession(3COMPUTIL)
NAME
sdpnewsession, sdpfreesession - allocate a new SDP ses-
sion structure
SYNOPSIS
cc [ flag...] file... -lcommputil [ library...]
#include
sdpsessiont *sdpnewsession();
void sdpfreesession(sdpsessiont *session);
DESCRIPTION
The sdpnewsession() function allocates memory for an SDP
session structure specified by session, assigns a version
number to the session structure, and returns a new session
structure. It is the responsibility of the user to free the
memory allocated to the session structure using the
sdpfreesession() function.
The sdpfreesession() function destroys the SDP session
structure and frees the resources associated with it.
RETURN VALUES
The sdpnewsession() function returns the newly allocated
SDP session structure 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), attributes(5)
SunOS 5.11 Last change: 12 Oct 2007 1
Communication Protocol Parser Utilities Library Functions
sdpnewsession(3COMPUTIL)
SunOS 5.11 Last change: 12 Oct 2007 2
|