Its syntax is defined in RFC 3261 as follows:
Error-Info = "Error-Info" HCOLON error-uri *(COMMA error-uri)
error-uri = LAQUOT absoluteURI RAQUOT *( SEMI generic-param )
The parsed Error-Info header is stored in sip_error_info_t structure.
|
|
Initializer for structure sip_error_info_t. A static sip_error_info_t structure for Error-Info header must be initialized with the SIP_ERROR_INFO_INIT() macro. For instance, |
|
|
Tag list item for pointer to a Error-Info header structure sip_error_info_t. The SIPTAG_ERROR_INFO() macro is used to include a tag item with a pointer to a sip_error_info_t structure in a tag list.
|
|
|
Tag list item for string with Error-Info header value. The SIPTAG_ERROR_INFO_STR() macro is used to include a tag item with a string containing value of a sip_error_info_t header in a tag list.
The corresponding tag taking reference parameter is SIPTAG_ERROR_INFO_STR_REF(). |
|
|
The structure sip_error_info_t contains representation of an Error-Info header. The sip_error_info_t is defined as follows: struct sip_error_info_s { sip_common_t ei_common[1]; // Common fragment info sip_error_info_t *ei_next; // Link to next @ErrorInfo url_t ei_url[1]; // URI to error info msg_param_t const *ei_params; // List of parameters }; |
|
||||||||||||
|
Copy a list of Error-Info header header structures sip_error_info_t.
The function sip_error_info_copy() copies a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||
|
Duplicate a list of Error-Info header header structures sip_error_info_t.
Duplicate a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||||||
|
Make a Error-Info header from formatting result. Make a new sip_error_info_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_error_info_t.
|
|
|
Initialize a structure sip_error_info_t. An sip_error_info_t structure for Error-Info header can be initialized with the sip_error_info_init() function/macro. For instance, |
|
||||||||||||
|
Make a Error-Info header structure sip_error_info_t. The function sip_error_info_make() makes a new sip_error_info_t header structure. It allocates a new header structure, and decodes the string s as the value of the structure.
|
|
|
Test if header object is instance of sip_error_info_t. Check if the header class is an instance of Error-Info header object and return true (nonzero), otherwise return false (zero).
|
|
|
Header class for Error-Info header. The header class sip_error_info_class defines how a SIP Error-Info header is parsed and printed. It also contains methods used by SIP parser and other functions to manipulate the sip_error_info_t header structure. |