Structure for Accept-Charset, Accept-Encoding and Accept-Language headers. More...
#include <msg_mime.h>
Data Fields | |
msg_common_t | aa_common [1] |
Common fragment info. | |
msg_accept_any_t * | aa_next |
Pointer to next Accept-* header. | |
char const * | aa_value |
Token. | |
msg_param_t const * | aa_params |
List of parameters. | |
char const * | aa_q |
Value of q parameter. | |
Related Functions | |
(Note that these are not member functions.) | |
issize_t | msg_accept_any_d (su_home_t *home, msg_header_t *h, char *s, isize_t slen) |
Decode an Accept-* header. | |
issize_t | msg_accept_any_e (char b[], isize_t bsiz, msg_header_t const *h, int f) |
Encode an Accept-* header field. | |
isize_t | msg_accept_any_dup_xtra (msg_header_t const *h, isize_t offset) |
Calculate extra memory used by accept-* headers. | |
char * | msg_accept_any_dup_one (msg_header_t *dst, msg_header_t const *src, char *b, isize_t xtra) |
Duplicate one msg_accept_any_t object. |
Structure for Accept-Charset, Accept-Encoding and Accept-Language headers.
issize_t msg_accept_any_d | ( | su_home_t * | home, | |
msg_header_t * | h, | |||
char * | s, | |||
isize_t | slen | |||
) | [related] |
Decode an Accept-* header.
char * msg_accept_any_dup_one | ( | msg_header_t * | dst, | |
msg_header_t const * | src, | |||
char * | b, | |||
isize_t | xtra | |||
) | [related] |
Duplicate one msg_accept_any_t object.
isize_t msg_accept_any_dup_xtra | ( | msg_header_t const * | h, | |
isize_t | offset | |||
) | [related] |
Calculate extra memory used by accept-* headers.
issize_t msg_accept_any_e | ( | char | b[], | |
isize_t | bsiz, | |||
msg_header_t const * | h, | |||
int | f | |||
) | [related] |
Encode an Accept-* header field.