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;