1sdp_clone_seCsosmimounn(i3cCaOtMiMoPnUTPIrLo)tocol Parser UtilitiessdLpi_bcrlaornye_Fsuenscstiioonn(s3COMMPUTIL)
2
3
4
6 sdp_clone_session - clone an SDP session structure
7
9 cc [ flag...] file... -lcommputil [ library...]
10 #include <sdp.h>
11
12 sdp_session_t *sdp_clone_session(const sdp_session_t *session);
13
14
16 The sdp_clone_session() function clones the input SDP session structure
17 and returns the cloned structure. The resulting cloned structure has
18 all the SDP fields from the input structure. The caller is responsible
19 for freeing the returned cloned structure using sdp_free_session(),
20 described on the sdp_free_session(3COMMPUTIL) manual page.
21
23 The sdp_clone_session() function returns the cloned structure on suc‐
24 cess and NULL on failure.
25
27 See attributes(5) for descriptions of the following attributes:
28
29
30
31
32 ┌─────────────────────────────┬─────────────────────────────┐
33 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
34 ├─────────────────────────────┼─────────────────────────────┤
35 │Interface Stability │Committed │
36 ├─────────────────────────────┼─────────────────────────────┤
37 │MT-Level │Safe │
38 └─────────────────────────────┴─────────────────────────────┘
39
41 libcommputil(3LIB), sdp_free_session(3COMMPUTIL), attributes(5)
42
43
44
45SunOS 5.11 12 Oct 2007 sdp_clone_session(3COMMPUTIL)