25 #ifndef MSG_MIME_PROTOS_H
27 #define MSG_MIME_PROTOS_H
54 MSG_DLL
extern msg_mclass_t const msg_multipart_mclass[1];
56 #define msg_multipart_class ((msg_hclass_t *)msg_multipart_mclass)
76 MSG_DLL msg_xtra_f msg_content_type_dup_xtra;
77 MSG_DLL msg_dup_f msg_content_type_dup_one;
87 #ifndef msg_content_type_class
102 #define MSG_CONTENT_TYPE_INIT() MSG_HDR_INIT(content_type)
124 #define msg_content_type_init(x) \
125 MSG_HEADER_INIT(x, msg_content_type_class, sizeof(msg_content_type_t))
149 #define msg_content_type_p(h) msg_is_content_type((h))
291 __attribute__((__format__ (printf, 2, 3)));
326 MSG_DLL msg_xtra_f msg_content_disposition_dup_xtra;
327 MSG_DLL msg_dup_f msg_content_disposition_dup_one;
337 #ifndef msg_content_disposition_class
352 #define MSG_CONTENT_DISPOSITION_INIT() MSG_HDR_INIT(content_disposition)
374 #define msg_content_disposition_init(x) \
375 MSG_HEADER_INIT(x, msg_content_disposition_class, sizeof(msg_content_disposition_t))
399 #define msg_content_disposition_p(h) msg_is_content_disposition((h))
541 __attribute__((__format__ (printf, 2, 3)));
576 MSG_DLL msg_xtra_f msg_content_location_dup_xtra;
577 MSG_DLL msg_dup_f msg_content_location_dup_one;
587 #ifndef msg_content_location_class
602 #define MSG_CONTENT_LOCATION_INIT() MSG_HDR_INIT(content_location)
624 #define msg_content_location_init(x) \
625 MSG_HEADER_INIT(x, msg_content_location_class, sizeof(msg_content_location_t))
649 #define msg_content_location_p(h) msg_is_content_location((h))
791 __attribute__((__format__ (printf, 2, 3)));
826 MSG_DLL msg_xtra_f msg_content_id_dup_xtra;
827 MSG_DLL msg_dup_f msg_content_id_dup_one;
837 #ifndef msg_content_id_class
852 #define MSG_CONTENT_ID_INIT() MSG_HDR_INIT(content_id)
874 #define msg_content_id_init(x) \
875 MSG_HEADER_INIT(x, msg_content_id_class, sizeof(msg_content_id_t))
899 #define msg_content_id_p(h) msg_is_content_id((h))
1041 __attribute__((__format__ (printf, 2, 3)));
1076 MSG_DLL msg_xtra_f msg_content_language_dup_xtra;
1077 MSG_DLL msg_dup_f msg_content_language_dup_one;
1087 #ifndef msg_content_language_class
1102 #define MSG_CONTENT_LANGUAGE_INIT() MSG_HDR_INIT(content_language)
1124 #define msg_content_language_init(x) \
1125 MSG_HEADER_INIT(x, msg_content_language_class, sizeof(msg_content_language_t))
1149 #define msg_content_language_p(h) msg_is_content_language((h))
1291 __attribute__((__format__ (printf, 2, 3)));
1326 MSG_DLL msg_xtra_f msg_content_encoding_dup_xtra;
1327 MSG_DLL msg_dup_f msg_content_encoding_dup_one;
1337 #ifndef msg_content_encoding_class
1352 #define MSG_CONTENT_ENCODING_INIT() MSG_HDR_INIT(content_encoding)
1374 #define msg_content_encoding_init(x) \
1375 MSG_HEADER_INIT(x, msg_content_encoding_class, sizeof(msg_content_encoding_t))
1399 #define msg_content_encoding_p(h) msg_is_content_encoding((h))
1541 __attribute__((__format__ (printf, 2, 3)));
1576 MSG_DLL msg_xtra_f msg_content_transfer_encoding_dup_xtra;
1577 MSG_DLL msg_dup_f msg_content_transfer_encoding_dup_one;
1587 #ifndef msg_content_transfer_encoding_class
1602 #define MSG_CONTENT_TRANSFER_ENCODING_INIT() MSG_HDR_INIT(content_transfer_encoding)
1624 #define msg_content_transfer_encoding_init(x) \
1625 MSG_HEADER_INIT(x, msg_content_transfer_encoding_class, sizeof(msg_content_transfer_encoding_t))
1649 #define msg_content_transfer_encoding_p(h) msg_is_content_transfer_encoding((h))
1791 __attribute__((__format__ (printf, 2, 3)));
1826 MSG_DLL msg_xtra_f msg_accept_dup_xtra;
1827 MSG_DLL msg_dup_f msg_accept_dup_one;
1837 #ifndef msg_accept_class
1852 #define MSG_ACCEPT_INIT() MSG_HDR_INIT(accept)
1874 #define msg_accept_init(x) \
1875 MSG_HEADER_INIT(x, msg_accept_class, sizeof(msg_accept_t))
1899 #define msg_accept_p(h) msg_is_accept((h))
2041 __attribute__((__format__ (printf, 2, 3)));
2076 MSG_DLL msg_xtra_f msg_accept_charset_dup_xtra;
2077 MSG_DLL msg_dup_f msg_accept_charset_dup_one;
2087 #ifndef msg_accept_charset_class
2102 #define MSG_ACCEPT_CHARSET_INIT() MSG_HDR_INIT(accept_charset)
2124 #define msg_accept_charset_init(x) \
2125 MSG_HEADER_INIT(x, msg_accept_charset_class, sizeof(msg_accept_charset_t))
2149 #define msg_accept_charset_p(h) msg_is_accept_charset((h))
2291 __attribute__((__format__ (printf, 2, 3)));
2326 MSG_DLL msg_xtra_f msg_accept_encoding_dup_xtra;
2327 MSG_DLL msg_dup_f msg_accept_encoding_dup_one;
2337 #ifndef msg_accept_encoding_class
2352 #define MSG_ACCEPT_ENCODING_INIT() MSG_HDR_INIT(accept_encoding)
2374 #define msg_accept_encoding_init(x) \
2375 MSG_HEADER_INIT(x, msg_accept_encoding_class, sizeof(msg_accept_encoding_t))
2399 #define msg_accept_encoding_p(h) msg_is_accept_encoding((h))
2541 __attribute__((__format__ (printf, 2, 3)));
2576 MSG_DLL msg_xtra_f msg_accept_language_dup_xtra;
2577 MSG_DLL msg_dup_f msg_accept_language_dup_one;
2587 #ifndef msg_accept_language_class
2602 #define MSG_ACCEPT_LANGUAGE_INIT() MSG_HDR_INIT(accept_language)
2624 #define msg_accept_language_init(x) \
2625 MSG_HEADER_INIT(x, msg_accept_language_class, sizeof(msg_accept_language_t))
2649 #define msg_accept_language_p(h) msg_is_accept_language((h))
2791 __attribute__((__format__ (printf, 2, 3)));
2826 MSG_DLL msg_xtra_f msg_mime_version_dup_xtra;
2827 MSG_DLL msg_dup_f msg_mime_version_dup_one;
2837 #ifndef msg_mime_version_class
2852 #define MSG_MIME_VERSION_INIT() MSG_HDR_INIT(mime_version)
2874 #define msg_mime_version_init(x) \
2875 MSG_HEADER_INIT(x, msg_mime_version_class, sizeof(msg_mime_version_t))
2899 #define msg_mime_version_p(h) msg_is_mime_version((h))
3041 __attribute__((__format__ (printf, 2, 3)));
3076 MSG_DLL msg_xtra_f msg_content_md5_dup_xtra;
3077 MSG_DLL msg_dup_f msg_content_md5_dup_one;
3087 #ifndef msg_content_md5_class
3102 #define MSG_CONTENT_MD5_INIT() MSG_HDR_INIT(content_md5)
3124 #define msg_content_md5_init(x) \
3125 MSG_HEADER_INIT(x, msg_content_md5_class, sizeof(msg_content_md5_t))
3149 #define msg_content_md5_p(h) msg_is_content_md5((h))
3291 __attribute__((__format__ (printf, 2, 3)));
3326 MSG_DLL msg_xtra_f msg_content_length_dup_xtra;
3327 MSG_DLL msg_dup_f msg_content_length_dup_one;
3337 #ifndef msg_content_length_class
3352 #define MSG_CONTENT_LENGTH_INIT() MSG_HDR_INIT(content_length)
3374 #define msg_content_length_init(x) \
3375 MSG_HEADER_INIT(x, msg_content_length_class, sizeof(msg_content_length_t))
3399 #define msg_content_length_p(h) msg_is_content_length((h))
3541 __attribute__((__format__ (printf, 2, 3)));
3576 MSG_DLL msg_xtra_f msg_multipart_dup_xtra;
3577 MSG_DLL msg_dup_f msg_multipart_dup_one;
3587 #ifndef msg_multipart_class
3602 #define MSG_MULTIPART_INIT() MSG_HDR_INIT(multipart)
3624 #define msg_multipart_init(x) \
3625 MSG_HEADER_INIT(x, msg_multipart_class, sizeof(msg_multipart_t))
3649 #define msg_multipart_p(h) msg_is_multipart((h))
3791 __attribute__((__format__ (printf, 2, 3)));
3826 MSG_DLL msg_xtra_f msg_warning_dup_xtra;
3827 MSG_DLL msg_dup_f msg_warning_dup_one;
3837 #ifndef msg_warning_class
3852 #define MSG_WARNING_INIT() MSG_HDR_INIT(warning)
3874 #define msg_warning_init(x) \
3875 MSG_HEADER_INIT(x, msg_warning_class, sizeof(msg_warning_t))
3899 #define msg_warning_p(h) msg_is_warning((h))
4041 __attribute__((__format__ (printf, 2, 3)));
4061 MSG_DLL msg_update_f msg_accept_update;
4062 MSG_DLL msg_update_f msg_accept_any_update;
4063 MSG_DLL msg_update_f msg_content_disposition_update;
msg_accept_charset_t * msg_accept_charset_make(su_home_t *home, char const *s)
Make a header structure msg_accept_charset_t.
Definition: msg_mime_protos.h:2257
msg_accept_charset_t * msg_accept_charset_dup(su_home_t *home, msg_accept_charset_t const *header)
Duplicate (deep copy) msg_accept_charset_t.
Definition: msg_mime_protos.h:2186
msg_accept_charset_t * msg_accept_charset_copy(su_home_t *home, msg_accept_charset_t const *header)
Copy an msg_accept_charset_t header structure.
Definition: msg_mime_protos.h:2231
msg_accept_charset_t * msg_accept_charset_init(msg_accept_charset_t x[1])
Initialize an msg_accept_charset_t structure.
Definition: msg_mime_protos.h:2119
msg_accept_charset_t * msg_accept_charset_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Charset header from formatting result.
Definition: msg_mime_protos.h:2294
msg_parse_f msg_accept_charset_d
Parse a Accept-Charset header.
Definition: msg_mime_protos.h:2071
int msg_is_accept_charset(msg_header_t const *header)
Test if header object is an instance of msg_accept_charset_t.
Definition: msg_mime_protos.h:2141
msg_print_f msg_accept_charset_e
Print a Accept-Charset header.
Definition: msg_mime_protos.h:2074
msg_hclass_t msg_accept_charset_class[]
Header class for Accept-Charset header.
Definition: msg_mime.c:1293
@ msg_accept_charset_hash
Hash of Accept-Charset header.
Definition: msg_mime_protos.h:2067
msg_accept_encoding_t * msg_accept_encoding_init(msg_accept_encoding_t x[1])
Initialize an msg_accept_encoding_t structure.
Definition: msg_mime_protos.h:2369
msg_accept_encoding_t * msg_accept_encoding_dup(su_home_t *home, msg_accept_encoding_t const *header)
Duplicate (deep copy) msg_accept_encoding_t.
Definition: msg_mime_protos.h:2436
msg_parse_f msg_accept_encoding_d
Parse a Accept-Encoding header.
Definition: msg_mime_protos.h:2321
msg_print_f msg_accept_encoding_e
Print a Accept-Encoding header.
Definition: msg_mime_protos.h:2324
msg_hclass_t msg_accept_encoding_class[]
Header class for Accept-Encoding header.
Definition: msg_mime.c:1344
msg_accept_encoding_t * msg_accept_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Encoding header from formatting result.
Definition: msg_mime_protos.h:2544
msg_accept_encoding_t * msg_accept_encoding_make(su_home_t *home, char const *s)
Make a header structure msg_accept_encoding_t.
Definition: msg_mime_protos.h:2507
msg_accept_encoding_t * msg_accept_encoding_copy(su_home_t *home, msg_accept_encoding_t const *header)
Copy an msg_accept_encoding_t header structure.
Definition: msg_mime_protos.h:2481
int msg_is_accept_encoding(msg_header_t const *header)
Test if header object is an instance of msg_accept_encoding_t.
Definition: msg_mime_protos.h:2391
@ msg_accept_encoding_hash
Hash of Accept-Encoding header.
Definition: msg_mime_protos.h:2317
msg_accept_language_t * msg_accept_language_make(su_home_t *home, char const *s)
Make a header structure msg_accept_language_t.
Definition: msg_mime_protos.h:2757
msg_accept_language_t * msg_accept_language_init(msg_accept_language_t x[1])
Initialize an msg_accept_language_t structure.
Definition: msg_mime_protos.h:2619
msg_print_f msg_accept_language_e
Print a Accept-Language header.
Definition: msg_mime_protos.h:2574
msg_accept_language_t * msg_accept_language_dup(su_home_t *home, msg_accept_language_t const *header)
Duplicate (deep copy) msg_accept_language_t.
Definition: msg_mime_protos.h:2686
msg_hclass_t msg_accept_language_class[]
Header class for Accept-Language header.
Definition: msg_mime.c:1395
int msg_is_accept_language(msg_header_t const *header)
Test if header object is an instance of msg_accept_language_t.
Definition: msg_mime_protos.h:2641
msg_parse_f msg_accept_language_d
Parse a Accept-Language header.
Definition: msg_mime_protos.h:2571
msg_accept_language_t * msg_accept_language_copy(su_home_t *home, msg_accept_language_t const *header)
Copy an msg_accept_language_t header structure.
Definition: msg_mime_protos.h:2731
msg_accept_language_t * msg_accept_language_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Language header from formatting result.
Definition: msg_mime_protos.h:2794
@ msg_accept_language_hash
Hash of Accept-Language header.
Definition: msg_mime_protos.h:2567
msg_accept_t * msg_accept_copy(su_home_t *home, msg_accept_t const *header)
Copy an msg_accept_t header structure.
Definition: msg_mime_protos.h:1981
int msg_is_accept(msg_header_t const *header)
Test if header object is an instance of msg_accept_t.
Definition: msg_mime_protos.h:1891
msg_parse_f msg_accept_d
Parse a Accept header.
Definition: msg_mime_protos.h:1821
msg_accept_t * msg_accept_init(msg_accept_t x[1])
Initialize an msg_accept_t structure.
Definition: msg_mime_protos.h:1869
msg_print_f msg_accept_e
Print a Accept header.
Definition: msg_mime_protos.h:1824
msg_accept_t * msg_accept_make(su_home_t *home, char const *s)
Make a header structure msg_accept_t.
Definition: msg_mime_protos.h:2007
msg_accept_t * msg_accept_format(su_home_t *home, char const *fmt,...)))
Make a Accept header from formatting result.
Definition: msg_mime_protos.h:2044
msg_accept_t * msg_accept_dup(su_home_t *home, msg_accept_t const *header)
Duplicate (deep copy) msg_accept_t.
Definition: msg_mime_protos.h:1936
msg_hclass_t msg_accept_class[]
Header class for Accept header.
Definition: msg_mime.c:1068
@ msg_accept_hash
Hash of Accept header.
Definition: msg_mime_protos.h:1817
msg_print_f msg_content_disposition_e
Print a Content-Disposition header.
Definition: msg_mime_protos.h:324
msg_content_disposition_t * msg_content_disposition_dup(su_home_t *home, msg_content_disposition_t const *header)
Duplicate (deep copy) msg_content_disposition_t.
Definition: msg_mime_protos.h:436
msg_content_disposition_t * msg_content_disposition_make(su_home_t *home, char const *s)
Make a header structure msg_content_disposition_t.
Definition: msg_mime_protos.h:507
msg_content_disposition_t * msg_content_disposition_format(su_home_t *home, char const *fmt,...)))
Make a Content-Disposition header from formatting result.
Definition: msg_mime_protos.h:544
msg_parse_f msg_content_disposition_d
Parse a Content-Disposition header.
Definition: msg_mime_protos.h:321
msg_hclass_t msg_content_disposition_class[]
Header class for Content-Disposition header.
Definition: msg_mime.c:1470
msg_content_disposition_t * msg_content_disposition_copy(su_home_t *home, msg_content_disposition_t const *header)
Copy an msg_content_disposition_t header structure.
Definition: msg_mime_protos.h:481
int msg_is_content_disposition(msg_header_t const *header)
Test if header object is an instance of msg_content_disposition_t.
Definition: msg_mime_protos.h:391
msg_content_disposition_t * msg_content_disposition_init(msg_content_disposition_t x[1])
Initialize an msg_content_disposition_t structure.
Definition: msg_mime_protos.h:369
@ msg_content_disposition_hash
Hash of Content-Disposition header.
Definition: msg_mime_protos.h:317
msg_content_encoding_t * msg_content_encoding_copy(su_home_t *home, msg_content_encoding_t const *header)
Copy an msg_content_encoding_t header structure.
Definition: msg_mime_protos.h:1481
msg_content_encoding_t * msg_content_encoding_init(msg_content_encoding_t x[1])
Initialize an msg_content_encoding_t structure.
Definition: msg_mime_protos.h:1369
msg_content_encoding_t * msg_content_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Content-Encoding header from formatting result.
Definition: msg_mime_protos.h:1544
msg_content_encoding_t * msg_content_encoding_dup(su_home_t *home, msg_content_encoding_t const *header)
Duplicate (deep copy) msg_content_encoding_t.
Definition: msg_mime_protos.h:1436
int msg_is_content_encoding(msg_header_t const *header)
Test if header object is an instance of msg_content_encoding_t.
Definition: msg_mime_protos.h:1391
msg_print_f msg_content_encoding_e
Print a Content-Encoding header.
Definition: msg_mime_protos.h:1324
msg_parse_f msg_content_encoding_d
Parse a Content-Encoding header.
Definition: msg_mime_protos.h:1321
msg_content_encoding_t * msg_content_encoding_make(su_home_t *home, char const *s)
Make a header structure msg_content_encoding_t.
Definition: msg_mime_protos.h:1507
msg_hclass_t msg_content_encoding_class[]
Header class for Content-Encoding header.
Definition: msg_mime.c:1583
@ msg_content_encoding_hash
Hash of Content-Encoding header.
Definition: msg_mime_protos.h:1317
msg_content_id_t * msg_content_id_copy(su_home_t *home, msg_content_id_t const *header)
Copy an msg_content_id_t header structure.
Definition: msg_mime_protos.h:981
msg_content_id_t * msg_content_id_make(su_home_t *home, char const *s)
Make a header structure msg_content_id_t.
Definition: msg_mime_protos.h:1007
msg_content_id_t * msg_content_id_dup(su_home_t *home, msg_content_id_t const *header)
Duplicate (deep copy) msg_content_id_t.
Definition: msg_mime_protos.h:936
msg_print_f msg_content_id_e
Print a Content-ID header.
Definition: msg_mime_protos.h:824
int msg_is_content_id(msg_header_t const *header)
Test if header object is an instance of msg_content_id_t.
Definition: msg_mime_protos.h:891
msg_parse_f msg_content_id_d
Parse a Content-ID header.
Definition: msg_mime_protos.h:821
msg_content_id_t * msg_content_id_format(su_home_t *home, char const *fmt,...)))
Make a Content-ID header from formatting result.
Definition: msg_mime_protos.h:1044
msg_content_id_t * msg_content_id_init(msg_content_id_t x[1])
Initialize an msg_content_id_t structure.
Definition: msg_mime_protos.h:869
msg_hclass_t msg_content_id_class[]
Header class for Content-ID header.
Definition: msg_mime.c:1789
@ msg_content_id_hash
Hash of Content-ID header.
Definition: msg_mime_protos.h:817
int msg_is_content_language(msg_header_t const *header)
Test if header object is an instance of msg_content_language_t.
Definition: msg_mime_protos.h:1141
msg_hclass_t msg_content_language_class[]
Header class for Content-Language header.
Definition: msg_mime.c:1638
msg_parse_f msg_content_language_d
Parse a Content-Language header.
Definition: msg_mime_protos.h:1071
msg_content_language_t * msg_content_language_format(su_home_t *home, char const *fmt,...)))
Make a Content-Language header from formatting result.
Definition: msg_mime_protos.h:1294
msg_content_language_t * msg_content_language_dup(su_home_t *home, msg_content_language_t const *header)
Duplicate (deep copy) msg_content_language_t.
Definition: msg_mime_protos.h:1186
msg_content_language_t * msg_content_language_copy(su_home_t *home, msg_content_language_t const *header)
Copy an msg_content_language_t header structure.
Definition: msg_mime_protos.h:1231
msg_content_language_t * msg_content_language_make(su_home_t *home, char const *s)
Make a header structure msg_content_language_t.
Definition: msg_mime_protos.h:1257
msg_content_language_t * msg_content_language_init(msg_content_language_t x[1])
Initialize an msg_content_language_t structure.
Definition: msg_mime_protos.h:1119
msg_print_f msg_content_language_e
Print a Content-Language header.
Definition: msg_mime_protos.h:1074
@ msg_content_language_hash
Hash of Content-Language header.
Definition: msg_mime_protos.h:1067
int msg_is_content_length(msg_header_t const *header)
Test if header object is an instance of msg_content_length_t.
Definition: msg_mime_protos.h:3391
msg_content_length_t * msg_content_length_format(su_home_t *home, char const *fmt,...)))
Make a Content-Length header from formatting result.
Definition: msg_mime_protos.h:3544
msg_hclass_t msg_content_length_class[]
Header class for Content-Length header.
Definition: msg_mime.c:1687
msg_content_length_t * msg_content_length_init(msg_content_length_t x[1])
Initialize an msg_content_length_t structure.
Definition: msg_mime_protos.h:3369
msg_print_f msg_content_length_e
Print a Content-Length header.
Definition: msg_mime_protos.h:3324
msg_parse_f msg_content_length_d
Parse a Content-Length header.
Definition: msg_mime_protos.h:3321
msg_content_length_t * msg_content_length_copy(su_home_t *home, msg_content_length_t const *header)
Copy an msg_content_length_t header structure.
Definition: msg_mime_protos.h:3481
msg_content_length_t * msg_content_length_dup(su_home_t *home, msg_content_length_t const *header)
Duplicate (deep copy) msg_content_length_t.
Definition: msg_mime_protos.h:3436
msg_content_length_t * msg_content_length_make(su_home_t *home, char const *s)
Make a header structure msg_content_length_t.
Definition: msg_mime_protos.h:3507
@ msg_content_length_hash
Hash of Content-Length header.
Definition: msg_mime_protos.h:3317
msg_parse_f msg_content_location_d
Parse a Content-Location header.
Definition: msg_mime_protos.h:571
msg_content_location_t * msg_content_location_format(su_home_t *home, char const *fmt,...)))
Make a Content-Location header from formatting result.
Definition: msg_mime_protos.h:794
msg_content_location_t * msg_content_location_make(su_home_t *home, char const *s)
Make a header structure msg_content_location_t.
Definition: msg_mime_protos.h:757
int msg_is_content_location(msg_header_t const *header)
Test if header object is an instance of msg_content_location_t.
Definition: msg_mime_protos.h:641
msg_hclass_t msg_content_location_class[]
Header class for Content-Location header.
Definition: msg_mime.c:1972
msg_content_location_t * msg_content_location_copy(su_home_t *home, msg_content_location_t const *header)
Copy an msg_content_location_t header structure.
Definition: msg_mime_protos.h:731
msg_content_location_t * msg_content_location_init(msg_content_location_t x[1])
Initialize an msg_content_location_t structure.
Definition: msg_mime_protos.h:619
msg_content_location_t * msg_content_location_dup(su_home_t *home, msg_content_location_t const *header)
Duplicate (deep copy) msg_content_location_t.
Definition: msg_mime_protos.h:686
msg_print_f msg_content_location_e
Print a Content-Location header.
Definition: msg_mime_protos.h:574
@ msg_content_location_hash
Hash of Content-Location header.
Definition: msg_mime_protos.h:567
int msg_is_content_md5(msg_header_t const *header)
Test if header object is an instance of msg_content_md5_t.
Definition: msg_mime_protos.h:3141
msg_content_md5_t * msg_content_md5_copy(su_home_t *home, msg_content_md5_t const *header)
Copy an msg_content_md5_t header structure.
Definition: msg_mime_protos.h:3231
msg_content_md5_t * msg_content_md5_init(msg_content_md5_t x[1])
Initialize an msg_content_md5_t structure.
Definition: msg_mime_protos.h:3119
msg_print_f msg_content_md5_e
Print a Content-MD5 header.
Definition: msg_mime_protos.h:3074
msg_parse_f msg_content_md5_d
Parse a Content-MD5 header.
Definition: msg_mime_protos.h:3071
msg_content_md5_t * msg_content_md5_dup(su_home_t *home, msg_content_md5_t const *header)
Duplicate (deep copy) msg_content_md5_t.
Definition: msg_mime_protos.h:3186
msg_hclass_t msg_content_md5_class[]
Header class for Content-MD5 header.
Definition: msg_mime.c:1752
msg_content_md5_t * msg_content_md5_make(su_home_t *home, char const *s)
Make a header structure msg_content_md5_t.
Definition: msg_mime_protos.h:3257
msg_content_md5_t * msg_content_md5_format(su_home_t *home, char const *fmt,...)))
Make a Content-MD5 header from formatting result.
Definition: msg_mime_protos.h:3294
@ msg_content_md5_hash
Hash of Content-MD5 header.
Definition: msg_mime_protos.h:3067
int msg_is_content_transfer_encoding(msg_header_t const *header)
Test if header object is an instance of msg_content_transfer_encoding_t.
Definition: msg_mime_protos.h:1641
msg_content_transfer_encoding_t * msg_content_transfer_encoding_make(su_home_t *home, char const *s)
Make a header structure msg_content_transfer_encoding_t.
Definition: msg_mime_protos.h:1757
msg_content_transfer_encoding_t * msg_content_transfer_encoding_dup(su_home_t *home, msg_content_transfer_encoding_t const *header)
Duplicate (deep copy) msg_content_transfer_encoding_t.
Definition: msg_mime_protos.h:1686
msg_parse_f msg_content_transfer_encoding_d
Parse a Content-Transfer-Encoding header.
Definition: msg_mime_protos.h:1571
msg_content_transfer_encoding_t * msg_content_transfer_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Content-Transfer-Encoding header from formatting result.
Definition: msg_mime_protos.h:1794
msg_print_f msg_content_transfer_encoding_e
Print a Content-Transfer-Encoding header.
Definition: msg_mime_protos.h:1574
msg_content_transfer_encoding_t * msg_content_transfer_encoding_init(msg_content_transfer_encoding_t x[1])
Initialize an msg_content_transfer_encoding_t structure.
Definition: msg_mime_protos.h:1619
msg_content_transfer_encoding_t * msg_content_transfer_encoding_copy(su_home_t *home, msg_content_transfer_encoding_t const *header)
Copy an msg_content_transfer_encoding_t header structure.
Definition: msg_mime_protos.h:1731
msg_hclass_t msg_content_transfer_encoding_class[]
Header class for Content-Transfer-Encoding header.
Definition: msg_mime.c:2038
@ msg_content_transfer_encoding_hash
Hash of Content-Transfer-Encoding header.
Definition: msg_mime_protos.h:1567
msg_content_type_t * msg_content_type_init(msg_content_type_t x[1])
Initialize an msg_content_type_t structure.
Definition: msg_mime_protos.h:119
msg_parse_f msg_content_type_d
Parse a Content-Type header.
Definition: msg_mime_protos.h:71
msg_content_type_t * msg_content_type_dup(su_home_t *home, msg_content_type_t const *header)
Duplicate (deep copy) msg_content_type_t.
Definition: msg_mime_protos.h:186
msg_content_type_t * msg_content_type_copy(su_home_t *home, msg_content_type_t const *header)
Copy an msg_content_type_t header structure.
Definition: msg_mime_protos.h:231
msg_content_type_t * msg_content_type_format(su_home_t *home, char const *fmt,...)))
Make a Content-Type header from formatting result.
Definition: msg_mime_protos.h:294
msg_print_f msg_content_type_e
Print a Content-Type header.
Definition: msg_mime_protos.h:74
msg_hclass_t msg_content_type_class[]
Header class for Content-Type header.
Definition: msg_mime.c:1832
int msg_is_content_type(msg_header_t const *header)
Test if header object is an instance of msg_content_type_t.
Definition: msg_mime_protos.h:141
msg_content_type_t * msg_content_type_make(su_home_t *home, char const *s)
Make a header structure msg_content_type_t.
Definition: msg_mime_protos.h:257
@ msg_content_type_hash
Hash of Content-Type header.
Definition: msg_mime_protos.h:67
msg_mime_version_t * msg_mime_version_copy(su_home_t *home, msg_mime_version_t const *header)
Copy an msg_mime_version_t header structure.
Definition: msg_mime_protos.h:2981
int msg_is_mime_version(msg_header_t const *header)
Test if header object is an instance of msg_mime_version_t.
Definition: msg_mime_protos.h:2891
msg_print_f msg_mime_version_e
Print a MIME-Version header.
Definition: msg_mime_protos.h:2824
msg_hclass_t msg_mime_version_class[]
Header class for MIME-Version header.
Definition: msg_mime.c:1931
msg_mime_version_t * msg_mime_version_dup(su_home_t *home, msg_mime_version_t const *header)
Duplicate (deep copy) msg_mime_version_t.
Definition: msg_mime_protos.h:2936
msg_parse_f msg_mime_version_d
Parse a MIME-Version header.
Definition: msg_mime_protos.h:2821
msg_mime_version_t * msg_mime_version_format(su_home_t *home, char const *fmt,...)))
Make a MIME-Version header from formatting result.
Definition: msg_mime_protos.h:3044
msg_mime_version_t * msg_mime_version_make(su_home_t *home, char const *s)
Make a header structure msg_mime_version_t.
Definition: msg_mime_protos.h:3007
msg_mime_version_t * msg_mime_version_init(msg_mime_version_t x[1])
Initialize an msg_mime_version_t structure.
Definition: msg_mime_protos.h:2869
@ msg_mime_version_hash
Hash of MIME-Version header.
Definition: msg_mime_protos.h:2817
msg_parse_f msg_multipart_d
Parse a Recursive multipart header.
Definition: msg_mime_protos.h:3571
msg_multipart_t * msg_multipart_init(msg_multipart_t x[1])
Initialize an msg_multipart_t structure.
Definition: msg_mime_protos.h:3619
msg_multipart_t * msg_multipart_copy(su_home_t *home, msg_multipart_t const *header)
Copy an msg_multipart_t header structure.
Definition: msg_mime_protos.h:3731
msg_multipart_t * msg_multipart_dup(su_home_t *home, msg_multipart_t const *header)
Duplicate (deep copy) msg_multipart_t.
Definition: msg_mime_protos.h:3686
msg_multipart_t * msg_multipart_format(su_home_t *home, char const *fmt,...)))
Make a Recursive multipart header from formatting result.
Definition: msg_mime_protos.h:3794
int msg_is_multipart(msg_header_t const *header)
Test if header object is an instance of msg_multipart_t.
Definition: msg_mime_protos.h:3641
msg_multipart_t * msg_multipart_make(su_home_t *home, char const *s)
Make a header structure msg_multipart_t.
Definition: msg_mime_protos.h:3757
msg_print_f msg_multipart_e
Print a Recursive multipart header.
Definition: msg_mime_protos.h:3574
@ msg_multipart_hash
Hash of Recursive multipart header.
Definition: msg_mime_protos.h:3567
int msg_is_warning(msg_header_t const *header)
Test if header object is an instance of msg_warning_t.
Definition: msg_mime_protos.h:3891
msg_hclass_t msg_warning_class[]
Header class for Warning header.
Definition: msg_mime.c:2166
msg_warning_t * msg_warning_copy(su_home_t *home, msg_warning_t const *header)
Copy an msg_warning_t header structure.
Definition: msg_mime_protos.h:3981
msg_warning_t * msg_warning_make(su_home_t *home, char const *s)
Make a header structure msg_warning_t.
Definition: msg_mime_protos.h:4007
msg_warning_t * msg_warning_init(msg_warning_t x[1])
Initialize an msg_warning_t structure.
Definition: msg_mime_protos.h:3869
msg_warning_t * msg_warning_dup(su_home_t *home, msg_warning_t const *header)
Duplicate (deep copy) msg_warning_t.
Definition: msg_mime_protos.h:3936
msg_print_f msg_warning_e
Print a Warning header.
Definition: msg_mime_protos.h:3824
msg_warning_t * msg_warning_format(su_home_t *home, char const *fmt,...)))
Make a Warning header from formatting result.
Definition: msg_mime_protos.h:4044
msg_parse_f msg_warning_d
Parse a Warning header.
Definition: msg_mime_protos.h:3821
@ msg_warning_hash
Hash of Warning header.
Definition: msg_mime_protos.h:3817
Parser table and message factory object.
MIME headers and multipart messages (RFC 2045).
Message parser interface.
struct msg_hclass_s const msg_hclass_t
Header class.
Definition: msg_types.h:48
MSG_HDR_T msg_header_t
Any protocol-specific header object.
Definition: msg_types.h:87
Structure for Accept-Charset, Accept-Encoding and Accept-Language headers.
Definition: msg_mime.h:95
Structure for Accept header.
Definition: msg_mime.h:81
Structure for Content-Disposition header.
Definition: msg_mime.h:107
Structure for Content-Length header.
Definition: msg_mime.h:122
Structure for Content-Type header.
Definition: msg_mime.h:133
Generic header.
Definition: msg_types.h:151
List header.
Definition: msg_types.h:161
Factory object for protocol messages.
Definition: msg_mclass.h:97
Structure for a part in MIME multipart message.
Definition: msg_mime.h:161
Structure for Warning header.
Definition: msg_mime.h:146