1sip_hold_dialog(3SSIePs)sion Initiation Protocol Library Functsiiopn_shold_dialog(3SIP)
2
3
4

NAME

6       sip_hold_dialog,  sip_release_dialog - hold/release reference on a dia‐
7       log
8

SYNOPSIS

10       cc [ flag ... ] file ... -lsip [ library ... ]
11       #include <sip.h>
12
13       void sip_hold_dialog(sip_dialog_t dialog);
14
15
16       void sip_release_dialog(sip_dialog_t dialog);
17
18

DESCRIPTION

20       For functions that return a pointer of  type  sip_str_t,  sip_str_t  is
21       supplied by:
22
23         typedef struct sip_str {
24              char *sip_str_ptr;
25              int  sip_str_len;
26         }sip_str_t;
27
28
29
30       The sip_str_ptr parameter points to the start of the returned value and
31       sip_str_len supplies the length of the returned value.
32
33
34       The sip_hold_dialog() function is used to hold a reference on the  dia‐
35       log. A dialog is not freed if there are any references on it.
36
37
38       The sip_release_dialog() function is used to release a reference in the
39       dialog. If the  reference  in  a  dialog  drops  to  0  and  it  is  in
40       SIP_DLG_DESTROYED state, it is freed.
41

RETURN VALUES

43       The  value  of  errno  is not changed by these calls in the event of an
44       error.
45

ATTRIBUTES

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

SEE ALSO

61       libsip(3LIB)
62
63
64
65SunOS 5.11                        25 Jan 2007            sip_hold_dialog(3SIP)
Impressum