1sip_hold_trans(3SISPe)ssion Initiation Protocol Library Functisoinps_hold_trans(3SIP)
2
3
4
6 sip_hold_trans, sip_release_trans - hold or release reference on a
7 transaction
8
10 cc [ flag ... ] file ... -lsip [ library ... ]
11 #include <sip.h>
12
13 void sip_hold_trans(sip_transaction_t sip_trans);
14
15
16 void sip_release_trans(sip_transaction_t sip_trans);
17
18
20 The sip_hold_trans() function is used to hold a reference on the trans‐
21 action sip_trans. A transaction is not freed if there are any refer‐
22 ences on it.
23
24
25 The sip_release_trans() function is used to release a reference on the
26 transaction sip_trans. If the reference falls to 0 and the transaction
27 is in a terminated state, the transaction is freed.
28
30 The value of errno is not changed by these calls in the event of an
31 error.
32
34 See attributes(5) for descriptions of the following attributes:
35
36
37
38
39 ┌─────────────────────────────┬─────────────────────────────┐
40 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
41 ├─────────────────────────────┼─────────────────────────────┤
42 │Interface Stability │Committed │
43 ├─────────────────────────────┼─────────────────────────────┤
44 │MT-Level │MT-Safe │
45 └─────────────────────────────┴─────────────────────────────┘
46
48 libsip(3LIB)
49
50
51
52SunOS 5.11 25 Jan 2007 sip_hold_trans(3SIP)