|
|
issize_t | sip_p_asserted_identity_d (su_home_t *, msg_header_t *, char *s, isize_t slen) |
| | Parse a SIP P-Asserted-Identity header.
|
|
issize_t | sip_p_asserted_identity_e (char b[], isize_t bsiz, msg_header_t const *h, int flags) |
| | Print a SIP P-Asserted-Identity header.
|
| sip_p_asserted_identity_t * | sip_p_asserted_identity_init (sip_p_asserted_identity_t x[1]) |
| | Initialize a structure #sip_p_asserted_identity_t.
|
| int | sip_is_p_asserted_identity (sip_header_t const *header) |
| | Test if header object is instance of #sip_p_asserted_identity_t.
|
| sip_p_asserted_identity_t * | sip_p_asserted_identity_dup (su_home_t *home, sip_p_asserted_identity_t const *hdr)) |
| | Duplicate a list of P-Asserted-Identity header header structures #sip_p_asserted_identity_t.
|
| sip_p_asserted_identity_t * | sip_p_asserted_identity_copy (su_home_t *home, sip_p_asserted_identity_t const *hdr)) |
| | Copy a list of P-Asserted-Identity header header structures #sip_p_asserted_identity_t.
|
| sip_p_asserted_identity_t * | sip_p_asserted_identity_make (su_home_t *home, char const *s)) |
| | Make a P-Asserted-Identity header structure #sip_p_asserted_identity_t.
|
| sip_p_asserted_identity_t * | sip_p_asserted_identity_format (su_home_t *home, char const *fmt,...))) |
| | Make a P-Asserted-Identity header from formatting result.
|
| sip_p_asserted_identity_t * sip_p_asserted_identity_copy |
( |
su_home_t * | home, |
|
|
sip_p_asserted_identity_t const * | hdr ) |
|
inline |
Copy a list of P-Asserted-Identity header header structures #sip_p_asserted_identity_t.
The function sip_p_asserted_identity_copy() copies a header structure hdr. If the header structure hdr contains a reference (hdr->h_next) to a list of headers, all the headers in that list are copied, too. The function uses given memory home to allocate all the memory areas used to copy the list of header structure hdr.
- Parameters
-
| home | memory home used to allocate new structure |
| hdr | pointer to the header structure to be copied |
When copying, only the header structure and parameter lists attached to it are duplicated. The new header structure retains all the references to the strings within the old hdr header, including the encoding of the old header, if present.
- Example
sip_p_asserted_identity_t * sip_p_asserted_identity_copy(su_home_t *home, sip_p_asserted_identity_t const *hdr))
Copy a list of P-Asserted-Identity header header structures sip_p_asserted_identity_t.
Definition sip_extra.h:1744
- Returns
- A pointer to newly copied header structure, or NULL upon an error.
- Since
- New in
-
New in 1.12.7.
| sip_p_asserted_identity_t * sip_p_asserted_identity_dup |
( |
su_home_t * | home, |
|
|
sip_p_asserted_identity_t const * | hdr ) |
|
inline |
Duplicate a list of P-Asserted-Identity header header structures #sip_p_asserted_identity_t.
Duplicate a header structure hdr. If the header structure hdr contains a reference (hdr->x_next) to a list of headers, all the headers in the list are duplicated, too.
- Parameters
-
| home | memory home used to allocate new structure |
| hdr | header structure to be duplicated |
When duplicating, all parameter lists and non-constant strings attached to the header are copied, too. The function uses given memory home to allocate all the memory areas used to copy the header.
- Example
sip_p_asserted_identity_t * sip_p_asserted_identity_dup(su_home_t *home, sip_p_asserted_identity_t const *hdr))
Duplicate a list of P-Asserted-Identity header header structures sip_p_asserted_identity_t.
Definition sip_extra.h:1700
- Returns
- A pointer to the newly duplicated #sip_p_asserted_identity_t header structure, or NULL upon an error.
- Since
- New in
-
New in 1.12.7.