Its syntax is defined in [H19.4.1, S10.28] as follows:
MIME-Version = "MIME-Version" HCOLON 1*DIGIT "." 1*DIGIT
The parsed MIME-Version header is stored in sip_mime_version_t structure.
|
|
Initializer for structure sip_mime_version_t. A static sip_mime_version_t structure for MIME-Version header must be initialized with the SIP_MIME_VERSION_INIT() macro. For instance, |
|
|
Tag list item for pointer to a MIME-Version header structure sip_mime_version_t. The SIPTAG_MIME_VERSION() macro is used to include a tag item with a pointer to a sip_mime_version_t structure in a tag list.
|
|
|
Tag list item for string with MIME-Version header value. The SIPTAG_MIME_VERSION_STR() macro is used to include a tag item with a string containing value of a sip_mime_version_t header in a tag list.
The corresponding tag taking reference parameter is SIPTAG_MIME_VERSION_STR_REF(). |
|
|
The structure sip_mime_version_t contains representation of an MIME-Version header. The sip_mime_version_t is defined as follows: typedef struct msg_generic_s { msg_common_t g_common[1]; // Common fragment info msg_generic_t *g_next; // Link to next header char const *g_string; // Header value } sip_mime_version_t; |
|
|
Test if header object is instance of sip_mime_version_t. Check if the header class is an instance of MIME-Version header object and return true (nonzero), otherwise return false (zero).
|
|
||||||||||||
|
Copy a list of MIME-Version header header structures sip_mime_version_t.
The function sip_mime_version_copy() copies a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||
|
Duplicate a list of MIME-Version header header structures sip_mime_version_t.
Duplicate a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||||||
|
Make a MIME-Version header from formatting result. Make a new sip_mime_version_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_mime_version_t.
|
|
|
Initialize a structure sip_mime_version_t. An sip_mime_version_t structure for MIME-Version header can be initialized with the sip_mime_version_init() function/macro. For instance, |
|
||||||||||||
|
Make a MIME-Version header structure sip_mime_version_t. The function sip_mime_version_make() makes a new sip_mime_version_t header structure. It allocates a new header structure, and decodes the string s as the value of the structure.
|
|
|
Header class for MIME-Version header. The header class sip_mime_version_class defines how a SIP MIME-Version header is parsed and printed. It also contains methods used by SIP parser and other functions to manipulate the sip_mime_version_t header structure. |