In order to avoid modifying messages with integrity protection, the separator line has its own header structure which is included in the sip_t structure.
The parsed separator line is stored in sip_separator_t structure.
|
|
Initializer for structure sip_separator_t. A static sip_separator_t structure for separator line between headers and body must be initialized with the SIP_SEPARATOR_INIT() macro. For instance, |
|
|
Tag list item for pointer to a separator line between headers and body structure sip_separator_t. The SIPTAG_SEPARATOR() macro is used to include a tag item with a pointer to a sip_separator_t structure in a tag list.
|
|
|
Tag list item for string with separator line between headers and body value. The SIPTAG_SEPARATOR_STR() macro is used to include a tag item with a string containing value of a sip_separator_t header in a tag list.
The corresponding tag taking reference parameter is SIPTAG_SEPARATOR_STR_REF(). |
|
|
The structure sip_separator_t contains representation of separator line between message headers and body. The sip_separator_t is defined as follows: typedef struct sip_separator_s { msg_common_t sep_common[1]; // Common fragment info msg_header_t *sep_next; // Pointer to next header char sep_data[4]; // NUL-terminated separator } sip_separator_t; |
|
|
Test if header object is instance of sip_separator_t. Check if the header class is an instance of separator line between headers and body object and return true (nonzero), otherwise return false (zero).
|
|
||||||||||||
|
Copy a list of separator line between headers and body header structures sip_separator_t.
The function sip_separator_copy() copies a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||
|
Duplicate a list of separator line between headers and body header structures sip_separator_t.
Duplicate a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||||||
|
Make a separator line between headers and body from formatting result. Make a new sip_separator_t object using formatting result as its value. The function first prints the arguments according to the format fmt specified. Then it allocates a new header structure, and parses the formatting result to the structure sip_separator_t.
|
|
|
Initialize a structure sip_separator_t. An sip_separator_t structure for separator line between headers and body can be initialized with the sip_separator_init() function/macro. For instance, |
|
||||||||||||
|
Make a separator line between headers and body structure sip_separator_t. The function sip_separator_make() makes a new sip_separator_t header structure. It allocates a new header structure, and decodes the string s as the value of the structure.
|
|
|
Header class for separator line between headers and body. The header class sip_separator_class defines how a SIP separator line between headers and body is parsed and printed. It also contains methods used by SIP parser and other functions to manipulate the sip_separator_t header structure. |