The Min-Expires syntax is defined in RFC 3261 as follows:
Min-Expires = "Min-Expires" HCOLON delta-seconds
The parsed Min-Expires header is stored in sip_min_expires_t structure.
|
|
Initializer for structure sip_min_expires_t. A static sip_min_expires_t structure for Min-Expires header must be initialized with the SIP_MIN_EXPIRES_INIT() macro. For instance, |
|
|
Tag list item for pointer to a Min-Expires header structure sip_min_expires_t. The SIPTAG_MIN_EXPIRES() macro is used to include a tag item with a pointer to a sip_min_expires_t structure in a tag list.
|
|
|
Tag list item for string with Min-Expires header value. The SIPTAG_MIN_EXPIRES_STR() macro is used to include a tag item with a string containing value of a sip_min_expires_t header in a tag list.
The corresponding tag taking reference parameter is SIPTAG_MIN_EXPIRES_STR_REF(). |
|
|
The structure sip_min_expires_t contains representation of SIP Min-Expires header. The sip_min_expires_t is defined as follows: typedef struct sip_min_expires_s { sip_common_t me_common[1]; // Common fragment info sip_error_t *me_next; // Link to next (dummy) unsigned long me_delta; // Seconds } sip_min_expires_t; |
|
|
Test if header object is instance of sip_min_expires_t. Check if the header class is an instance of Min-Expires header object and return true (nonzero), otherwise return false (zero).
|
|
||||||||||||
|
Copy a list of Min-Expires header header structures sip_min_expires_t.
The function sip_min_expires_copy() copies a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||
|
Duplicate a list of Min-Expires header header structures sip_min_expires_t.
Duplicate a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||||||
|
Make a Min-Expires header from formatting result. Make a new sip_min_expires_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_min_expires_t.
|
|
|
Initialize a structure sip_min_expires_t. An sip_min_expires_t structure for Min-Expires header can be initialized with the sip_min_expires_init() function/macro. For instance, |
|
||||||||||||
|
Make a Min-Expires header structure sip_min_expires_t. The function sip_min_expires_make() makes a new sip_min_expires_t header structure. It allocates a new header structure, and decodes the string s as the value of the structure.
|
|
|
Header class for Min-Expires header. The header class sip_min_expires_class defines how a SIP Min-Expires header is parsed and printed. It also contains methods used by SIP parser and other functions to manipulate the sip_min_expires_t header structure. |