1sip_clone_msg(3SIPS)ession Initiation Protocol Library Functiosnisp_clone_msg(3SIP)
2
3
4

NAME

6       sip_clone_msg - clone a SIP message
7

SYNOPSIS

9       cc [ flag ... ] file ... -lsip [ library ... ]
10       #include <sip.h>
11
12       sip_msg_t sip_clone_msg(sip_msg_t sip_msg);
13
14

DESCRIPTION

16       The  sip_clone_msg()  function clones the input SIP message and returns
17       the cloned message. The resulting cloned message has all the SIP  head‐
18       ers and message body, if present, from the input message.
19

RETURN VALUES

21       The  sip_clone_msg() function returns the cloned message on success and
22       NULL on failure.
23
24
25       The value of errno is not changed by these calls in  the  event  of  an
26       error.
27

ATTRIBUTES

29       See attributes(5) for descriptions of the following attributes:
30
31
32
33
34       ┌─────────────────────────────┬─────────────────────────────┐
35       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
36       ├─────────────────────────────┼─────────────────────────────┤
37       │Interface Stability          │Committed                    │
38       ├─────────────────────────────┼─────────────────────────────┤
39       │MT-Level                     │MT-Safe                      │
40       └─────────────────────────────┴─────────────────────────────┘
41

SEE ALSO

43       libsip(3LIB)
44
45
46
47SunOS 5.11                        25 Jan 2007              sip_clone_msg(3SIP)
Impressum