1sip_get_uri_parsedS(e3sSsIiPo)n Initiation Protocol Library Fusnicpt_igoents_uri_parsed(3SIP)
2
3
4

NAME

6       sip_get_uri_parsed - return the parsed URI
7

SYNOPSIS

9       cc [ flag ... ] file ... -lsip [ library ... ]
10       #include <sip.h>
11
12       const struct sip_uri *sip_get_uri_parsed(sip_header_value_t value,
13            int *error);
14
15

DESCRIPTION

17       The  sip_get_uri_parsed()  function returns the parsed URI sip_uri from
18       the SIP header value specified in value.
19

RETURN VALUES

21       The sip_get_uri_parsed() function returns the  parsed  URI  sip_uri  on
22       success. The function returns NULL on failure.
23
24
25       The  value  of  errno  is not changed by these calls in the event of an
26       error.
27

ERRORS

29       If the error is non-null, following value is set:
30
31       EINVAL    The SIP header value of the SIP message is NULL or  there  is
32                 no URI.
33
34                 The  input  URI  is  null  or  the requested URI component is
35                 invalid. The error flag is set for the requested component.
36
37                 The URI parameters or headers are requested from a non-SIP[S]
38                 URI;  or the 'opaque', 'query', 'path', 'reg-name' components
39                 are requested from a SIP[S] URI.
40
41
42
43       On success, the value of the location pointed to by error is set to 0.
44

ATTRIBUTES

46       See attributes(5) for descriptions of the following attributes:
47
48
49
50
51       ┌─────────────────────────────┬─────────────────────────────┐
52       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │Interface Stability          │Committed                    │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │MT-Level                     │MT-Safe                      │
57       └─────────────────────────────┴─────────────────────────────┘
58

SEE ALSO

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