Files | |
file | msg_date.h |
Defined when <sofia-sip/msg_date.h> has been included. | |
file | msg_mclass.h |
Defined when <sofia-sip/msg_mclass.h> has been included. | |
file | msg_mclass_hash.h |
Defined when <sofia-sip/msg_mclass_hash.h> has been included. | |
file | msg_parser.h |
Defined when <sofia-sip/msg_parser.h> has been included. | |
Functions | |
issize_t | msg_auth_d (su_home_t *home, msg_header_t *h, char *s, isize_t slen) |
Parse security headers. | |
msg_time_t | msg_now (void) |
Return current time as seconds since Mon, 01 Jan 1900 00:00:00 GMT. | |
msg_mclass_t * | msg_mclass_clone (msg_mclass_t const *old, int newsize, int empty) |
Clone a message class. | |
msg_mclass_t * | msg_mclass_clone (msg_mclass_t const *old, int newsize, int empty) |
Clone a message class. |
issize_t msg_auth_d | ( | su_home_t * | home, | |
msg_header_t * | h, | |||
char * | s, | |||
isize_t | slen | |||
) |
Parse security headers.
msg_mclass_t * msg_mclass_clone | ( | msg_mclass_t const * | old, | |
int | newsize, | |||
int | empty | |||
) | [related, inherited] |
Clone a message class.
The function msg_mclass_clone() makes a copy of message class object old. It is possible to resize the hash table by giving a non-zero newsize. If newsize is 0, the size of hash table is not changed. If empty is true, the copied message class object will not recognize any headers. This is useful if more fine-grained control of parsing process is required, for instance.
[in] | old | pointer to the message class object to be copied |
[in] | newsize | size of hash table in the copied object |
[in] | empty | if true, resulting copy does not contain any headers |
msg_mclass_t* msg_mclass_clone | ( | msg_mclass_t const * | old, | |
int | newsize, | |||
int | empty | |||
) |
Clone a message class.
The function msg_mclass_clone() makes a copy of message class object old. It is possible to resize the hash table by giving a non-zero newsize. If newsize is 0, the size of hash table is not changed. If empty is true, the copied message class object will not recognize any headers. This is useful if more fine-grained control of parsing process is required, for instance.
[in] | old | pointer to the message class object to be copied |
[in] | newsize | size of hash table in the copied object |
[in] | empty | if true, resulting copy does not contain any headers |
msg_time_t msg_now | ( | void | ) |
Return current time as seconds since Mon, 01 Jan 1900 00:00:00 GMT.