1sdp_new_sessCioomnm(u3nCiOcMaMtPiUoTnILP)rotocol Parser Utilities Lsidbpr_anreyw_Fsuenscstiioonn(s3COMMPUTIL)
2
3
4

NAME

6       sdp_new_session,  sdp_free_session  - allocate a new SDP session struc‐
7       ture
8

SYNOPSIS

10       cc [ flag...] file... -lcommputil [ library...]
11       #include <sdp.h>
12
13       sdp_session_t *sdp_new_session();
14
15
16       void sdp_free_session(sdp_session_t *session);
17
18

DESCRIPTION

20       The sdp_new_session() function allocates  memory  for  an  SDP  session
21       structure specified by session, assigns a version number to the session
22       structure, and returns a new session structure. It is the  responsibil‐
23       ity  of  the user to free the memory allocated to the session structure
24       using the sdp_free_session() function.
25
26
27       The sdp_free_session() function destroys the SDP session structure  and
28       frees the resources associated with it.
29

RETURN VALUES

31       The  sdp_new_session() function returns the newly allocated SDP session
32       structure on success and NULL on failure.
33

ATTRIBUTES

35       See attributes(5) for descriptions of the following attributes:
36
37
38
39
40       ┌─────────────────────────────┬─────────────────────────────┐
41       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
42       ├─────────────────────────────┼─────────────────────────────┤
43       │Interface Stability          │Committed                    │
44       ├─────────────────────────────┼─────────────────────────────┤
45       │MT-Level                     │Safe                         │
46       └─────────────────────────────┴─────────────────────────────┘
47

SEE ALSO

49       libcommputil(3LIB), attributes(5)
50
51
52
53SunOS 5.11                        12 Oct 2007      sdp_new_session(3COMMPUTIL)
Impressum