1sip_init_conn_objeScets(s3iSoInP)Initiation Protocol LibrarysFiupn_citniiotn_sconn_object(3SIP)
2
3
4
6 sip_init_conn_object, sip_clear_stale_data, sip_conn_destroyed - con‐
7 nection object related functions
8
10 cc [ flag ... ] file ... -lsip [ library ... ]
11 #include <sip.h>
12
13 int sip_init_conn_object(sip_conn_object_t obj);
14
15
16 void sip_clear_stale_data(sip_conn_object_t obj);
17
18
19 void sip_conn_destroyed(sip_conn_object_t obj);
20
21
23 The sip_init_conn_object() function initializes the connection object
24 obj for use by the stack. The first member of the connection object (a
25 void *) is used by the stack to store connection object specific stack-
26 private data.
27
28
29 The sip_clear_stale_data() function is used to clear any stack-private
30 data in the connection object obj.
31
32
33 The sip_conn_destroyed() function is used to intimate the stack of the
34 pending destruction of the connection object obj. The stack clean up
35 any stack-private data in obj and also removes obj from any caches the
36 stack maintains.
37
39 The sip_init_conn_object() function returns 0 on success and the appro‐
40 priate error value on failure.
41
42
43 The value of errno is not changed by these calls in the event of an
44 error.
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Interface Stability │Committed │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │MT-Level │MT-Safe │
58 └─────────────────────────────┴─────────────────────────────┘
59
61 libsip(3LIB)
62
63
64
65SunOS 5.11 25 Jan 2007 sip_init_conn_object(3SIP)