43#ifndef HTTP_HCLASSES_H
47#define http_header_make(h, c, s) \
48 ((http_header_t *)msg_header_make((h), (c), (s)))
49#define http_header_vformat(h, c, f, a) \
50 ((http_header_t *)msg_header_vformat((h), (c), (f), (a)))
73#ifndef HTTP_HCLASSES_ONLY
92#define HTTP_REQUEST_INIT() HTTP_HDR_INIT(request)
113#define http_request_init(x) \
114 HTTP_HEADER_INIT(x, http_request_class, sizeof(http_request_t))
137#define http_is_request(h) \
138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_request_hash)
173 __attribute__((__malloc__));
208 __attribute__((__malloc__));
232 __attribute__((__malloc__));
260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
323#ifndef HTTP_HCLASSES_ONLY
342#define HTTP_STATUS_INIT() HTTP_HDR_INIT(status)
363#define http_status_init(x) \
364 HTTP_HEADER_INIT(x, http_status_class, sizeof(http_status_t))
387#define http_is_status(h) \
388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_status_hash)
423 __attribute__((__malloc__));
458 __attribute__((__malloc__));
482 __attribute__((__malloc__));
510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
573#ifndef HTTP_HCLASSES_ONLY
592#define HTTP_ACCEPT_INIT() HTTP_HDR_INIT(accept)
613#define http_accept_init(x) \
614 HTTP_HEADER_INIT(x, http_accept_class, sizeof(http_accept_t))
637#define http_is_accept(h) \
638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_hash)
672 http_accept_t
const *hdr)
673 __attribute__((__malloc__));
707 http_accept_t
const *hdr)
708 __attribute__((__malloc__));
732 __attribute__((__malloc__));
760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
775 return (http_accept_t *)h;
781 return (http_accept_t *)
788 return (http_accept_t *)
823#ifndef HTTP_HCLASSES_ONLY
842#define HTTP_ACCEPT_CHARSET_INIT() HTTP_HDR_INIT(accept_charset)
863#define http_accept_charset_init(x) \
864 HTTP_HEADER_INIT(x, http_accept_charset_class, sizeof(http_accept_charset_t))
887#define http_is_accept_charset(h) \
888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_charset_hash)
922 http_accept_charset_t
const *hdr)
923 __attribute__((__malloc__));
957 http_accept_charset_t
const *hdr)
958 __attribute__((__malloc__));
982 __attribute__((__malloc__));
1010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1025 return (http_accept_charset_t *)h;
1031 return (http_accept_charset_t *)
1038 return (http_accept_charset_t *)
1073#ifndef HTTP_HCLASSES_ONLY
1092#define HTTP_ACCEPT_ENCODING_INIT() HTTP_HDR_INIT(accept_encoding)
1113#define http_accept_encoding_init(x) \
1114 HTTP_HEADER_INIT(x, http_accept_encoding_class, sizeof(http_accept_encoding_t))
1137#define http_is_accept_encoding(h) \
1138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_encoding_hash)
1172 http_accept_encoding_t
const *hdr)
1173 __attribute__((__malloc__));
1207 http_accept_encoding_t
const *hdr)
1208 __attribute__((__malloc__));
1232 __attribute__((__malloc__));
1260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1275 return (http_accept_encoding_t *)h;
1281 return (http_accept_encoding_t *)
1288 return (http_accept_encoding_t *)
1323#ifndef HTTP_HCLASSES_ONLY
1342#define HTTP_ACCEPT_LANGUAGE_INIT() HTTP_HDR_INIT(accept_language)
1363#define http_accept_language_init(x) \
1364 HTTP_HEADER_INIT(x, http_accept_language_class, sizeof(http_accept_language_t))
1387#define http_is_accept_language(h) \
1388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_language_hash)
1422 http_accept_language_t
const *hdr)
1423 __attribute__((__malloc__));
1457 http_accept_language_t
const *hdr)
1458 __attribute__((__malloc__));
1482 __attribute__((__malloc__));
1510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1525 return (http_accept_language_t *)h;
1531 return (http_accept_language_t *)
1538 return (http_accept_language_t *)
1573#ifndef HTTP_HCLASSES_ONLY
1592#define HTTP_ACCEPT_RANGES_INIT() HTTP_HDR_INIT(accept_ranges)
1613#define http_accept_ranges_init(x) \
1614 HTTP_HEADER_INIT(x, http_accept_ranges_class, sizeof(http_accept_ranges_t))
1637#define http_is_accept_ranges(h) \
1638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_ranges_hash)
1673 __attribute__((__malloc__));
1708 __attribute__((__malloc__));
1732 __attribute__((__malloc__));
1760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1823#ifndef HTTP_HCLASSES_ONLY
1842#define HTTP_ALLOW_INIT() HTTP_HDR_INIT(allow)
1863#define http_allow_init(x) \
1864 HTTP_HEADER_INIT(x, http_allow_class, sizeof(http_allow_t))
1887#define http_is_allow(h) \
1888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_allow_hash)
1923 __attribute__((__malloc__));
1958 __attribute__((__malloc__));
1982 __attribute__((__malloc__));
2010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2073#ifndef HTTP_HCLASSES_ONLY
2092#define HTTP_AUTHENTICATION_INFO_INIT() HTTP_HDR_INIT(authentication_info)
2113#define http_authentication_info_init(x) \
2114 HTTP_HEADER_INIT(x, http_authentication_info_class, sizeof(http_authentication_info_t))
2137#define http_is_authentication_info(h) \
2138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_authentication_info_hash)
2172 http_authentication_info_t
const *hdr)
2173 __attribute__((__malloc__));
2207 http_authentication_info_t
const *hdr)
2208 __attribute__((__malloc__));
2232 __attribute__((__malloc__));
2260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2275 return (http_authentication_info_t *)h;
2281 return (http_authentication_info_t *)
2288 return (http_authentication_info_t *)
2323#ifndef HTTP_HCLASSES_ONLY
2342#define HTTP_AUTHORIZATION_INIT() HTTP_HDR_INIT(authorization)
2363#define http_authorization_init(x) \
2364 HTTP_HEADER_INIT(x, http_authorization_class, sizeof(http_authorization_t))
2387#define http_is_authorization(h) \
2388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_authorization_hash)
2422 http_authorization_t
const *hdr)
2423 __attribute__((__malloc__));
2457 http_authorization_t
const *hdr)
2458 __attribute__((__malloc__));
2482 __attribute__((__malloc__));
2510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2525 return (http_authorization_t *)h;
2531 return (http_authorization_t *)
2538 return (http_authorization_t *)
2573#ifndef HTTP_HCLASSES_ONLY
2592#define HTTP_AGE_INIT() HTTP_HDR_INIT(age)
2613#define http_age_init(x) \
2614 HTTP_HEADER_INIT(x, http_age_class, sizeof(http_age_t))
2634 return header && header->sh_class->hc_hash ==
http_age_hash;
2637#define http_is_age(h) \
2638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_age_hash)
2672 http_age_t
const *hdr)
2673 __attribute__((__malloc__));
2707 http_age_t
const *hdr)
2708 __attribute__((__malloc__));
2732 __attribute__((__malloc__));
2760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2775 return (http_age_t *)h;
2781 return (http_age_t *)
2788 return (http_age_t *)
2823#ifndef HTTP_HCLASSES_ONLY
2842#define HTTP_CACHE_CONTROL_INIT() HTTP_HDR_INIT(cache_control)
2863#define http_cache_control_init(x) \
2864 HTTP_HEADER_INIT(x, http_cache_control_class, sizeof(http_cache_control_t))
2887#define http_is_cache_control(h) \
2888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_cache_control_hash)
2923 __attribute__((__malloc__));
2958 __attribute__((__malloc__));
2982 __attribute__((__malloc__));
3010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3073#ifndef HTTP_HCLASSES_ONLY
3092#define HTTP_CONNECTION_INIT() HTTP_HDR_INIT(connection)
3113#define http_connection_init(x) \
3114 HTTP_HEADER_INIT(x, http_connection_class, sizeof(http_connection_t))
3137#define http_is_connection(h) \
3138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_connection_hash)
3173 __attribute__((__malloc__));
3208 __attribute__((__malloc__));
3232 __attribute__((__malloc__));
3260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3323#ifndef HTTP_HCLASSES_ONLY
3342#define HTTP_DATE_INIT() HTTP_HDR_INIT(date)
3363#define http_date_init(x) \
3364 HTTP_HEADER_INIT(x, http_date_class, sizeof(http_date_t))
3387#define http_is_date(h) \
3388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_date_hash)
3423 __attribute__((__malloc__));
3458 __attribute__((__malloc__));
3482 __attribute__((__malloc__));
3510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3573#ifndef HTTP_HCLASSES_ONLY
3592#define HTTP_ETAG_INIT() HTTP_HDR_INIT(etag)
3613#define http_etag_init(x) \
3614 HTTP_HEADER_INIT(x, http_etag_class, sizeof(http_etag_t))
3637#define http_is_etag(h) \
3638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_etag_hash)
3672 http_etag_t
const *hdr)
3673 __attribute__((__malloc__));
3707 http_etag_t
const *hdr)
3708 __attribute__((__malloc__));
3732 __attribute__((__malloc__));
3760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3775 return (http_etag_t *)h;
3781 return (http_etag_t *)
3788 return (http_etag_t *)
3823#ifndef HTTP_HCLASSES_ONLY
3842#define HTTP_EXPECT_INIT() HTTP_HDR_INIT(expect)
3863#define http_expect_init(x) \
3864 HTTP_HEADER_INIT(x, http_expect_class, sizeof(http_expect_t))
3887#define http_is_expect(h) \
3888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_expect_hash)
3922 http_expect_t
const *hdr)
3923 __attribute__((__malloc__));
3957 http_expect_t
const *hdr)
3958 __attribute__((__malloc__));
3982 __attribute__((__malloc__));
4010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4025 return (http_expect_t *)h;
4031 return (http_expect_t *)
4038 return (http_expect_t *)
4073#ifndef HTTP_HCLASSES_ONLY
4092#define HTTP_EXPIRES_INIT() HTTP_HDR_INIT(expires)
4113#define http_expires_init(x) \
4114 HTTP_HEADER_INIT(x, http_expires_class, sizeof(http_expires_t))
4137#define http_is_expires(h) \
4138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_expires_hash)
4173 __attribute__((__malloc__));
4208 __attribute__((__malloc__));
4232 __attribute__((__malloc__));
4260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4323#ifndef HTTP_HCLASSES_ONLY
4342#define HTTP_FROM_INIT() HTTP_HDR_INIT(from)
4363#define http_from_init(x) \
4364 HTTP_HEADER_INIT(x, http_from_class, sizeof(http_from_t))
4387#define http_is_from(h) \
4388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_from_hash)
4422 http_from_t
const *hdr)
4423 __attribute__((__malloc__));
4457 http_from_t
const *hdr)
4458 __attribute__((__malloc__));
4482 __attribute__((__malloc__));
4510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4525 return (http_from_t *)h;
4531 return (http_from_t *)
4538 return (http_from_t *)
4573#ifndef HTTP_HCLASSES_ONLY
4592#define HTTP_HOST_INIT() HTTP_HDR_INIT(host)
4613#define http_host_init(x) \
4614 HTTP_HEADER_INIT(x, http_host_class, sizeof(http_host_t))
4637#define http_is_host(h) \
4638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_host_hash)
4673 __attribute__((__malloc__));
4708 __attribute__((__malloc__));
4732 __attribute__((__malloc__));
4760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4823#ifndef HTTP_HCLASSES_ONLY
4842#define HTTP_IF_MATCH_INIT() HTTP_HDR_INIT(if_match)
4863#define http_if_match_init(x) \
4864 HTTP_HEADER_INIT(x, http_if_match_class, sizeof(http_if_match_t))
4887#define http_is_if_match(h) \
4888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_match_hash)
4923 __attribute__((__malloc__));
4958 __attribute__((__malloc__));
4982 __attribute__((__malloc__));
5010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5073#ifndef HTTP_HCLASSES_ONLY
5092#define HTTP_IF_MODIFIED_SINCE_INIT() HTTP_HDR_INIT(if_modified_since)
5113#define http_if_modified_since_init(x) \
5114 HTTP_HEADER_INIT(x, http_if_modified_since_class, sizeof(http_if_modified_since_t))
5137#define http_is_if_modified_since(h) \
5138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_modified_since_hash)
5173 __attribute__((__malloc__));
5208 __attribute__((__malloc__));
5232 __attribute__((__malloc__));
5260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5323#ifndef HTTP_HCLASSES_ONLY
5342#define HTTP_IF_NONE_MATCH_INIT() HTTP_HDR_INIT(if_none_match)
5363#define http_if_none_match_init(x) \
5364 HTTP_HEADER_INIT(x, http_if_none_match_class, sizeof(http_if_none_match_t))
5387#define http_is_if_none_match(h) \
5388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_none_match_hash)
5423 __attribute__((__malloc__));
5458 __attribute__((__malloc__));
5482 __attribute__((__malloc__));
5510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5573#ifndef HTTP_HCLASSES_ONLY
5592#define HTTP_IF_RANGE_INIT() HTTP_HDR_INIT(if_range)
5613#define http_if_range_init(x) \
5614 HTTP_HEADER_INIT(x, http_if_range_class, sizeof(http_if_range_t))
5637#define http_is_if_range(h) \
5638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_range_hash)
5673 __attribute__((__malloc__));
5708 __attribute__((__malloc__));
5732 __attribute__((__malloc__));
5760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5823#ifndef HTTP_HCLASSES_ONLY
5842#define HTTP_IF_UNMODIFIED_SINCE_INIT() HTTP_HDR_INIT(if_unmodified_since)
5863#define http_if_unmodified_since_init(x) \
5864 HTTP_HEADER_INIT(x, http_if_unmodified_since_class, sizeof(http_if_unmodified_since_t))
5887#define http_is_if_unmodified_since(h) \
5888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_unmodified_since_hash)
5923 __attribute__((__malloc__));
5958 __attribute__((__malloc__));
5982 __attribute__((__malloc__));
6010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6073#ifndef HTTP_HCLASSES_ONLY
6092#define HTTP_LAST_MODIFIED_INIT() HTTP_HDR_INIT(last_modified)
6113#define http_last_modified_init(x) \
6114 HTTP_HEADER_INIT(x, http_last_modified_class, sizeof(http_last_modified_t))
6137#define http_is_last_modified(h) \
6138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_last_modified_hash)
6173 __attribute__((__malloc__));
6208 __attribute__((__malloc__));
6232 __attribute__((__malloc__));
6260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6323#ifndef HTTP_HCLASSES_ONLY
6342#define HTTP_LOCATION_INIT() HTTP_HDR_INIT(location)
6363#define http_location_init(x) \
6364 HTTP_HEADER_INIT(x, http_location_class, sizeof(http_location_t))
6387#define http_is_location(h) \
6388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_location_hash)
6423 __attribute__((__malloc__));
6458 __attribute__((__malloc__));
6482 __attribute__((__malloc__));
6510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6573#ifndef HTTP_HCLASSES_ONLY
6592#define HTTP_MAX_FORWARDS_INIT() HTTP_HDR_INIT(max_forwards)
6613#define http_max_forwards_init(x) \
6614 HTTP_HEADER_INIT(x, http_max_forwards_class, sizeof(http_max_forwards_t))
6637#define http_is_max_forwards(h) \
6638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_max_forwards_hash)
6673 __attribute__((__malloc__));
6708 __attribute__((__malloc__));
6732 __attribute__((__malloc__));
6760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6823#ifndef HTTP_HCLASSES_ONLY
6842#define HTTP_PRAGMA_INIT() HTTP_HDR_INIT(pragma)
6863#define http_pragma_init(x) \
6864 HTTP_HEADER_INIT(x, http_pragma_class, sizeof(http_pragma_t))
6887#define http_is_pragma(h) \
6888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_pragma_hash)
6923 __attribute__((__malloc__));
6958 __attribute__((__malloc__));
6982 __attribute__((__malloc__));
7010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7073#ifndef HTTP_HCLASSES_ONLY
7092#define HTTP_PROXY_AUTHENTICATE_INIT() HTTP_HDR_INIT(proxy_authenticate)
7113#define http_proxy_authenticate_init(x) \
7114 HTTP_HEADER_INIT(x, http_proxy_authenticate_class, sizeof(http_proxy_authenticate_t))
7137#define http_is_proxy_authenticate(h) \
7138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_proxy_authenticate_hash)
7172 http_proxy_authenticate_t
const *hdr)
7173 __attribute__((__malloc__));
7207 http_proxy_authenticate_t
const *hdr)
7208 __attribute__((__malloc__));
7232 __attribute__((__malloc__));
7260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7275 return (http_proxy_authenticate_t *)h;
7281 return (http_proxy_authenticate_t *)
7288 return (http_proxy_authenticate_t *)
7323#ifndef HTTP_HCLASSES_ONLY
7342#define HTTP_PROXY_AUTHORIZATION_INIT() HTTP_HDR_INIT(proxy_authorization)
7363#define http_proxy_authorization_init(x) \
7364 HTTP_HEADER_INIT(x, http_proxy_authorization_class, sizeof(http_proxy_authorization_t))
7387#define http_is_proxy_authorization(h) \
7388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_proxy_authorization_hash)
7422 http_proxy_authorization_t
const *hdr)
7423 __attribute__((__malloc__));
7457 http_proxy_authorization_t
const *hdr)
7458 __attribute__((__malloc__));
7482 __attribute__((__malloc__));
7510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7525 return (http_proxy_authorization_t *)h;
7531 return (http_proxy_authorization_t *)
7538 return (http_proxy_authorization_t *)
7573#ifndef HTTP_HCLASSES_ONLY
7592#define HTTP_RANGE_INIT() HTTP_HDR_INIT(range)
7613#define http_range_init(x) \
7614 HTTP_HEADER_INIT(x, http_range_class, sizeof(http_range_t))
7637#define http_is_range(h) \
7638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_range_hash)
7673 __attribute__((__malloc__));
7708 __attribute__((__malloc__));
7732 __attribute__((__malloc__));
7760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7823#ifndef HTTP_HCLASSES_ONLY
7842#define HTTP_REFERER_INIT() HTTP_HDR_INIT(referer)
7863#define http_referer_init(x) \
7864 HTTP_HEADER_INIT(x, http_referer_class, sizeof(http_referer_t))
7887#define http_is_referer(h) \
7888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_referer_hash)
7923 __attribute__((__malloc__));
7958 __attribute__((__malloc__));
7982 __attribute__((__malloc__));
8010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8073#ifndef HTTP_HCLASSES_ONLY
8092#define HTTP_RETRY_AFTER_INIT() HTTP_HDR_INIT(retry_after)
8113#define http_retry_after_init(x) \
8114 HTTP_HEADER_INIT(x, http_retry_after_class, sizeof(http_retry_after_t))
8137#define http_is_retry_after(h) \
8138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_retry_after_hash)
8173 __attribute__((__malloc__));
8208 __attribute__((__malloc__));
8232 __attribute__((__malloc__));
8260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8323#ifndef HTTP_HCLASSES_ONLY
8342#define HTTP_SERVER_INIT() HTTP_HDR_INIT(server)
8363#define http_server_init(x) \
8364 HTTP_HEADER_INIT(x, http_server_class, sizeof(http_server_t))
8387#define http_is_server(h) \
8388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_server_hash)
8422 http_server_t
const *hdr)
8423 __attribute__((__malloc__));
8457 http_server_t
const *hdr)
8458 __attribute__((__malloc__));
8482 __attribute__((__malloc__));
8510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8525 return (http_server_t *)h;
8531 return (http_server_t *)
8538 return (http_server_t *)
8573#ifndef HTTP_HCLASSES_ONLY
8592#define HTTP_TE_INIT() HTTP_HDR_INIT(te)
8613#define http_te_init(x) \
8614 HTTP_HEADER_INIT(x, http_te_class, sizeof(http_te_t))
8634 return header && header->sh_class->hc_hash ==
http_te_hash;
8637#define http_is_te(h) \
8638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_te_hash)
8673 __attribute__((__malloc__));
8708 __attribute__((__malloc__));
8732 __attribute__((__malloc__));
8760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8823#ifndef HTTP_HCLASSES_ONLY
8842#define HTTP_TRAILER_INIT() HTTP_HDR_INIT(trailer)
8863#define http_trailer_init(x) \
8864 HTTP_HEADER_INIT(x, http_trailer_class, sizeof(http_trailer_t))
8887#define http_is_trailer(h) \
8888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_trailer_hash)
8923 __attribute__((__malloc__));
8958 __attribute__((__malloc__));
8982 __attribute__((__malloc__));
9010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9073#ifndef HTTP_HCLASSES_ONLY
9092#define HTTP_TRANSFER_ENCODING_INIT() HTTP_HDR_INIT(transfer_encoding)
9113#define http_transfer_encoding_init(x) \
9114 HTTP_HEADER_INIT(x, http_transfer_encoding_class, sizeof(http_transfer_encoding_t))
9137#define http_is_transfer_encoding(h) \
9138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_transfer_encoding_hash)
9173 __attribute__((__malloc__));
9208 __attribute__((__malloc__));
9232 __attribute__((__malloc__));
9260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9323#ifndef HTTP_HCLASSES_ONLY
9342#define HTTP_UPGRADE_INIT() HTTP_HDR_INIT(upgrade)
9363#define http_upgrade_init(x) \
9364 HTTP_HEADER_INIT(x, http_upgrade_class, sizeof(http_upgrade_t))
9387#define http_is_upgrade(h) \
9388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_upgrade_hash)
9423 __attribute__((__malloc__));
9458 __attribute__((__malloc__));
9482 __attribute__((__malloc__));
9510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9573#ifndef HTTP_HCLASSES_ONLY
9592#define HTTP_USER_AGENT_INIT() HTTP_HDR_INIT(user_agent)
9613#define http_user_agent_init(x) \
9614 HTTP_HEADER_INIT(x, http_user_agent_class, sizeof(http_user_agent_t))
9637#define http_is_user_agent(h) \
9638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_user_agent_hash)
9672 http_user_agent_t
const *hdr)
9673 __attribute__((__malloc__));
9707 http_user_agent_t
const *hdr)
9708 __attribute__((__malloc__));
9732 __attribute__((__malloc__));
9760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9775 return (http_user_agent_t *)h;
9781 return (http_user_agent_t *)
9788 return (http_user_agent_t *)
9823#ifndef HTTP_HCLASSES_ONLY
9842#define HTTP_VARY_INIT() HTTP_HDR_INIT(vary)
9863#define http_vary_init(x) \
9864 HTTP_HEADER_INIT(x, http_vary_class, sizeof(http_vary_t))
9887#define http_is_vary(h) \
9888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_vary_hash)
9923 __attribute__((__malloc__));
9958 __attribute__((__malloc__));
9982 __attribute__((__malloc__));
10010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10073#ifndef HTTP_HCLASSES_ONLY
10092#define HTTP_VIA_INIT() HTTP_HDR_INIT(via)
10113#define http_via_init(x) \
10114 HTTP_HEADER_INIT(x, http_via_class, sizeof(http_via_t))
10134 return header && header->sh_class->hc_hash ==
http_via_hash;
10137#define http_is_via(h) \
10138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_via_hash)
10173 __attribute__((__malloc__));
10208 __attribute__((__malloc__));
10232 __attribute__((__malloc__));
10260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10323#ifndef HTTP_HCLASSES_ONLY
10342#define HTTP_WARNING_INIT() HTTP_HDR_INIT(warning)
10363#define http_warning_init(x) \
10364 HTTP_HEADER_INIT(x, http_warning_class, sizeof(http_warning_t))
10387#define http_is_warning(h) \
10388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_warning_hash)
10422 http_warning_t
const *hdr)
10423 __attribute__((__malloc__));
10457 http_warning_t
const *hdr)
10458 __attribute__((__malloc__));
10482 __attribute__((__malloc__));
10510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10525 return (http_warning_t *)h;
10531 return (http_warning_t *)
10538 return (http_warning_t *)
10573#ifndef HTTP_HCLASSES_ONLY
10592#define HTTP_WWW_AUTHENTICATE_INIT() HTTP_HDR_INIT(www_authenticate)
10613#define http_www_authenticate_init(x) \
10614 HTTP_HEADER_INIT(x, http_www_authenticate_class, sizeof(http_www_authenticate_t))
10637#define http_is_www_authenticate(h) \
10638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_www_authenticate_hash)
10672 http_www_authenticate_t
const *hdr)
10673 __attribute__((__malloc__));
10707 http_www_authenticate_t
const *hdr)
10708 __attribute__((__malloc__));
10732 __attribute__((__malloc__));
10760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10775 return (http_www_authenticate_t *)h;
10781 return (http_www_authenticate_t *)
10788 return (http_www_authenticate_t *)
10823#ifndef HTTP_HCLASSES_ONLY
10842#define HTTP_PROXY_CONNECTION_INIT() HTTP_HDR_INIT(proxy_connection)
10863#define http_proxy_connection_init(x) \
10864 HTTP_HEADER_INIT(x, http_proxy_connection_class, sizeof(http_proxy_connection_t))
10887#define http_is_proxy_connection(h) \
10888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_proxy_connection_hash)
10923 __attribute__((__malloc__));
10958 __attribute__((__malloc__));
10982 __attribute__((__malloc__));
11010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11073#ifndef HTTP_HCLASSES_ONLY
11092#define HTTP_SET_COOKIE_INIT() HTTP_HDR_INIT(set_cookie)
11113#define http_set_cookie_init(x) \
11114 HTTP_HEADER_INIT(x, http_set_cookie_class, sizeof(http_set_cookie_t))
11137#define http_is_set_cookie(h) \
11138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_set_cookie_hash)
11173 __attribute__((__malloc__));
11208 __attribute__((__malloc__));
11232 __attribute__((__malloc__));
11260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11323#ifndef HTTP_HCLASSES_ONLY
11342#define HTTP_COOKIE_INIT() HTTP_HDR_INIT(cookie)
11363#define http_cookie_init(x) \
11364 HTTP_HEADER_INIT(x, http_cookie_class, sizeof(http_cookie_t))
11387#define http_is_cookie(h) \
11388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_cookie_hash)
11423 __attribute__((__malloc__));
11458 __attribute__((__malloc__));
11482 __attribute__((__malloc__));
11510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11573#ifndef HTTP_HCLASSES_ONLY
11592#define HTTP_MIME_VERSION_INIT() HTTP_HDR_INIT(mime_version)
11613#define http_mime_version_init(x) \
11614 HTTP_HEADER_INIT(x, http_mime_version_class, sizeof(http_mime_version_t))
11637#define http_is_mime_version(h) \
11638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_mime_version_hash)
11672 http_mime_version_t
const *hdr)
11673 __attribute__((__malloc__));
11707 http_mime_version_t
const *hdr)
11708 __attribute__((__malloc__));
11732 __attribute__((__malloc__));
11760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11775 return (http_mime_version_t *)h;
11781 return (http_mime_version_t *)
11788 return (http_mime_version_t *)
11823#ifndef HTTP_HCLASSES_ONLY
11842#define HTTP_CONTENT_ENCODING_INIT() HTTP_HDR_INIT(content_encoding)
11863#define http_content_encoding_init(x) \
11864 HTTP_HEADER_INIT(x, http_content_encoding_class, sizeof(http_content_encoding_t))
11887#define http_is_content_encoding(h) \
11888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_encoding_hash)
11922 http_content_encoding_t
const *hdr)
11923 __attribute__((__malloc__));
11957 http_content_encoding_t
const *hdr)
11958 __attribute__((__malloc__));
11982 __attribute__((__malloc__));
12010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12025 return (http_content_encoding_t *)h;
12031 return (http_content_encoding_t *)
12038 return (http_content_encoding_t *)
12073#ifndef HTTP_HCLASSES_ONLY
12092#define HTTP_CONTENT_LANGUAGE_INIT() HTTP_HDR_INIT(content_language)
12113#define http_content_language_init(x) \
12114 HTTP_HEADER_INIT(x, http_content_language_class, sizeof(http_content_language_t))
12137#define http_is_content_language(h) \
12138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_language_hash)
12172 http_content_language_t
const *hdr)
12173 __attribute__((__malloc__));
12207 http_content_language_t
const *hdr)
12208 __attribute__((__malloc__));
12232 __attribute__((__malloc__));
12260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12275 return (http_content_language_t *)h;
12281 return (http_content_language_t *)
12288 return (http_content_language_t *)
12323#ifndef HTTP_HCLASSES_ONLY
12342#define HTTP_CONTENT_LENGTH_INIT() HTTP_HDR_INIT(content_length)
12363#define http_content_length_init(x) \
12364 HTTP_HEADER_INIT(x, http_content_length_class, sizeof(http_content_length_t))
12387#define http_is_content_length(h) \
12388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_length_hash)
12422 http_content_length_t
const *hdr)
12423 __attribute__((__malloc__));
12457 http_content_length_t
const *hdr)
12458 __attribute__((__malloc__));
12482 __attribute__((__malloc__));
12510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12525 return (http_content_length_t *)h;
12531 return (http_content_length_t *)
12538 return (http_content_length_t *)
12573#ifndef HTTP_HCLASSES_ONLY
12592#define HTTP_CONTENT_LOCATION_INIT() HTTP_HDR_INIT(content_location)
12613#define http_content_location_init(x) \
12614 HTTP_HEADER_INIT(x, http_content_location_class, sizeof(http_content_location_t))
12637#define http_is_content_location(h) \
12638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_location_hash)
12672 http_content_location_t
const *hdr)
12673 __attribute__((__malloc__));
12707 http_content_location_t
const *hdr)
12708 __attribute__((__malloc__));
12732 __attribute__((__malloc__));
12760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12775 return (http_content_location_t *)h;
12781 return (http_content_location_t *)
12788 return (http_content_location_t *)
12823#ifndef HTTP_HCLASSES_ONLY
12842#define HTTP_CONTENT_MD5_INIT() HTTP_HDR_INIT(content_md5)
12863#define http_content_md5_init(x) \
12864 HTTP_HEADER_INIT(x, http_content_md5_class, sizeof(http_content_md5_t))
12887#define http_is_content_md5(h) \
12888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_md5_hash)
12922 http_content_md5_t
const *hdr)
12923 __attribute__((__malloc__));
12957 http_content_md5_t
const *hdr)
12958 __attribute__((__malloc__));
12982 __attribute__((__malloc__));
13010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13025 return (http_content_md5_t *)h;
13031 return (http_content_md5_t *)
13038 return (http_content_md5_t *)
13073#ifndef HTTP_HCLASSES_ONLY
13092#define HTTP_CONTENT_RANGE_INIT() HTTP_HDR_INIT(content_range)
13113#define http_content_range_init(x) \
13114 HTTP_HEADER_INIT(x, http_content_range_class, sizeof(http_content_range_t))
13137#define http_is_content_range(h) \
13138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_range_hash)
13173 __attribute__((__malloc__));
13208 __attribute__((__malloc__));
13232 __attribute__((__malloc__));
13260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13323#ifndef HTTP_HCLASSES_ONLY
13342#define HTTP_CONTENT_TYPE_INIT() HTTP_HDR_INIT(content_type)
13363#define http_content_type_init(x) \
13364 HTTP_HEADER_INIT(x, http_content_type_class, sizeof(http_content_type_t))
13387#define http_is_content_type(h) \
13388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_type_hash)
13422 http_content_type_t
const *hdr)
13423 __attribute__((__malloc__));
13457 http_content_type_t
const *hdr)
13458 __attribute__((__malloc__));
13482 __attribute__((__malloc__));
13510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13525 return (http_content_type_t *)h;
13531 return (http_content_type_t *)
13538 return (http_content_type_t *)
13573#ifndef HTTP_HCLASSES_ONLY
13592#define HTTP_UNKNOWN_INIT() HTTP_HDR_INIT(unknown)
13613#define http_unknown_init(x) \
13614 HTTP_HEADER_INIT(x, http_unknown_class, sizeof(http_unknown_t))
13637#define http_is_unknown(h) \
13638 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_unknown_hash)
13673 __attribute__((__malloc__));
13708 __attribute__((__malloc__));
13732 __attribute__((__malloc__));
13760 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13823#ifndef HTTP_HCLASSES_ONLY
13842#define HTTP_ERROR_INIT() HTTP_HDR_INIT(error)
13863#define http_error_init(x) \
13864 HTTP_HEADER_INIT(x, http_error_class, sizeof(http_error_t))
13887#define http_is_error(h) \
13888 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_error_hash)
13923 __attribute__((__malloc__));
13958 __attribute__((__malloc__));
13982 __attribute__((__malloc__));
14010 __attribute__((__malloc__, __format__ (printf, 2, 3)));
14073#ifndef HTTP_HCLASSES_ONLY
14092#define HTTP_SEPARATOR_INIT() HTTP_HDR_INIT(separator)
14113#define http_separator_init(x) \
14114 HTTP_HEADER_INIT(x, http_separator_class, sizeof(http_separator_t))
14137#define http_is_separator(h) \
14138 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_separator_hash)
14173 __attribute__((__malloc__));
14208 __attribute__((__malloc__));
14232 __attribute__((__malloc__));
14260 __attribute__((__malloc__, __format__ (printf, 2, 3)));
14323#ifndef HTTP_HCLASSES_ONLY
14342#define HTTP_PAYLOAD_INIT() HTTP_HDR_INIT(payload)
14363#define http_payload_init(x) \
14364 HTTP_HEADER_INIT(x, http_payload_class, sizeof(http_payload_t))
14387#define http_is_payload(h) \
14388 ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_payload_hash)
14423 __attribute__((__malloc__));
14458 __attribute__((__malloc__));
14482 __attribute__((__malloc__));
14510 __attribute__((__malloc__, __format__ (printf, 2, 3)));
http_accept_charset_t * http_accept_charset_init(http_accept_charset_t x[1])
Initialize a structure http_accept_charset_t.
Definition http_protos.h:858
http_accept_charset_t * http_accept_charset_dup(su_home_t *home, http_accept_charset_t const *hdr))
Duplicate (deep copy) http_accept_charset_t.
Definition http_protos.h:1029
http_accept_charset_t * http_accept_charset_copy(su_home_t *home, http_accept_charset_t const *hdr))
Copy a http_accept_charset_t header structure.
Definition http_protos.h:1036
msg_hclass_t http_accept_charset_class[]
Header class for HTTP Accept-Charset header.
msg_parse_f http_accept_charset_d
Decode (parse) a Accept-Charset header.
Definition http_protos.h:826
int http_is_accept_charset(http_header_t const *header)
Test if header object is instance of http_accept_charset_t.
Definition http_protos.h:882
http_accept_charset_t * http_accept_charset_make(su_home_t *home, char const *s))
Make a header structure http_accept_charset_t.
Definition http_protos.h:1043
msg_print_f http_accept_charset_e
Encode (print) a Accept-Charset header.
Definition http_protos.h:829
http_accept_charset_t * http_accept_charset_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Charset header from formatting result.
Definition http_protos.h:1016
@ http_accept_charset_hash
Hash of Accept-Charset header.
Definition http_protos.h:810
int http_is_accept_encoding(http_header_t const *header)
Test if header object is instance of http_accept_encoding_t.
Definition http_protos.h:1132
msg_print_f http_accept_encoding_e
Encode (print) a Accept-Encoding header.
Definition http_protos.h:1079
msg_hclass_t http_accept_encoding_class[]
Header class for HTTP Accept-Encoding header.
http_accept_encoding_t * http_accept_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Encoding header from formatting result.
Definition http_protos.h:1266
http_accept_encoding_t * http_accept_encoding_make(su_home_t *home, char const *s))
Make a header structure http_accept_encoding_t.
Definition http_protos.h:1293
http_accept_encoding_t * http_accept_encoding_copy(su_home_t *home, http_accept_encoding_t const *hdr))
Copy a http_accept_encoding_t header structure.
Definition http_protos.h:1286
msg_parse_f http_accept_encoding_d
Decode (parse) a Accept-Encoding header.
Definition http_protos.h:1076
http_accept_encoding_t * http_accept_encoding_dup(su_home_t *home, http_accept_encoding_t const *hdr))
Duplicate (deep copy) http_accept_encoding_t.
Definition http_protos.h:1279
http_accept_encoding_t * http_accept_encoding_init(http_accept_encoding_t x[1])
Initialize a structure http_accept_encoding_t.
Definition http_protos.h:1108
@ http_accept_encoding_hash
Hash of Accept-Encoding header.
Definition http_protos.h:1060
msg_print_f http_accept_language_e
Encode (print) a Accept-Language header.
Definition http_protos.h:1329
http_accept_language_t * http_accept_language_dup(su_home_t *home, http_accept_language_t const *hdr))
Duplicate (deep copy) http_accept_language_t.
Definition http_protos.h:1529
http_accept_language_t * http_accept_language_make(su_home_t *home, char const *s))
Make a header structure http_accept_language_t.
Definition http_protos.h:1543
http_accept_language_t * http_accept_language_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Language header from formatting result.
Definition http_protos.h:1516
int http_is_accept_language(http_header_t const *header)
Test if header object is instance of http_accept_language_t.
Definition http_protos.h:1382
http_accept_language_t * http_accept_language_init(http_accept_language_t x[1])
Initialize a structure http_accept_language_t.
Definition http_protos.h:1358
msg_hclass_t http_accept_language_class[]
Header class for HTTP Accept-Language header.
http_accept_language_t * http_accept_language_copy(su_home_t *home, http_accept_language_t const *hdr))
Copy a http_accept_language_t header structure.
Definition http_protos.h:1536
msg_parse_f http_accept_language_d
Decode (parse) a Accept-Language header.
Definition http_protos.h:1326
@ http_accept_language_hash
Hash of Accept-Language header.
Definition http_protos.h:1310
http_accept_ranges_t * http_accept_ranges_init(http_accept_ranges_t x[1])
Initialize a structure http_accept_ranges_t.
Definition http_protos.h:1608
http_accept_ranges_t * http_accept_ranges_copy(su_home_t *home, http_accept_ranges_t const *hdr))
Copy a http_accept_ranges_t header structure.
Definition http_protos.h:1786
http_accept_ranges_t * http_accept_ranges_make(su_home_t *home, char const *s))
Make a header structure http_accept_ranges_t.
Definition http_protos.h:1793
http_accept_ranges_t * http_accept_ranges_dup(su_home_t *home, http_accept_ranges_t const *hdr))
Duplicate (deep copy) http_accept_ranges_t.
Definition http_protos.h:1779
msg_print_f http_accept_ranges_e
Encode (print) a Accept-Ranges header.
Definition http_protos.h:1579
int http_is_accept_ranges(http_header_t const *header)
Test if header object is instance of http_accept_ranges_t.
Definition http_protos.h:1632
http_accept_ranges_t * http_accept_ranges_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Ranges header from formatting result.
Definition http_protos.h:1766
msg_hclass_t http_accept_ranges_class[]
Header class for HTTP Accept-Ranges header.
Definition http_basic.c:314
msg_parse_f http_accept_ranges_d
Decode (parse) a Accept-Ranges header.
Definition http_protos.h:1576
@ http_accept_ranges_hash
Hash of Accept-Ranges header.
Definition http_protos.h:1560
msg_print_f http_accept_e
Encode (print) a Accept header.
Definition http_protos.h:579
http_accept_t * http_accept_init(http_accept_t x[1])
Initialize a structure http_accept_t.
Definition http_protos.h:608
http_accept_t * http_accept_make(su_home_t *home, char const *s))
Make a header structure http_accept_t.
Definition http_protos.h:793
msg_parse_f http_accept_d
Decode (parse) a Accept header.
Definition http_protos.h:576
msg_hclass_t http_accept_class[]
Header class for HTTP Accept header.
int http_is_accept(http_header_t const *header)
Test if header object is instance of http_accept_t.
Definition http_protos.h:632
http_accept_t * http_accept_dup(su_home_t *home, http_accept_t const *hdr))
Duplicate (deep copy) http_accept_t.
Definition http_protos.h:779
http_accept_t * http_accept_copy(su_home_t *home, http_accept_t const *hdr))
Copy a http_accept_t header structure.
Definition http_protos.h:786
http_accept_t * http_accept_format(su_home_t *home, char const *fmt,...)))
Make a Accept header from formatting result.
Definition http_protos.h:766
@ http_accept_hash
Hash of Accept header.
Definition http_protos.h:560
http_age_t * http_age_init(http_age_t x[1])
Initialize a structure http_age_t.
Definition http_protos.h:2608
http_age_t * http_age_make(su_home_t *home, char const *s))
Make a header structure http_age_t.
Definition http_protos.h:2793
http_age_t * http_age_dup(su_home_t *home, http_age_t const *hdr))
Duplicate (deep copy) http_age_t.
Definition http_protos.h:2779
msg_hclass_t http_age_class[]
Header class for HTTP Age header.
Definition http_basic.c:324
int http_is_age(http_header_t const *header)
Test if header object is instance of http_age_t.
Definition http_protos.h:2632
http_age_t * http_age_copy(su_home_t *home, http_age_t const *hdr))
Copy a http_age_t header structure.
Definition http_protos.h:2786
msg_parse_f http_age_d
Decode (parse) a Age header.
Definition http_protos.h:2576
msg_print_f http_age_e
Encode (print) a Age header.
Definition http_protos.h:2579
http_age_t * http_age_format(su_home_t *home, char const *fmt,...)))
Make a Age header from formatting result.
Definition http_protos.h:2766
@ http_age_hash
Hash of Age header.
Definition http_protos.h:2560
http_allow_t * http_allow_make(su_home_t *home, char const *s))
Make a header structure http_allow_t.
Definition http_protos.h:2043
int http_is_allow(http_header_t const *header)
Test if header object is instance of http_allow_t.
Definition http_protos.h:1882
http_allow_t * http_allow_format(su_home_t *home, char const *fmt,...)))
Make a Allow header from formatting result.
Definition http_protos.h:2016
http_allow_t * http_allow_copy(su_home_t *home, http_allow_t const *hdr))
Copy a http_allow_t header structure.
Definition http_protos.h:2036
http_allow_t * http_allow_dup(su_home_t *home, http_allow_t const *hdr))
Duplicate (deep copy) http_allow_t.
Definition http_protos.h:2029
msg_print_f http_allow_e
Encode (print) a Allow header.
Definition http_protos.h:1829
msg_parse_f http_allow_d
Decode (parse) a Allow header.
Definition http_protos.h:1826
http_allow_t * http_allow_init(http_allow_t x[1])
Initialize a structure http_allow_t.
Definition http_protos.h:1858
msg_hclass_t http_allow_class[]
Header class for HTTP Allow header.
Definition http_basic.c:332
@ http_allow_hash
Hash of Allow header.
Definition http_protos.h:1810
http_authentication_info_t * http_authentication_info_dup(su_home_t *home, http_authentication_info_t const *hdr))
Duplicate (deep copy) http_authentication_info_t.
Definition http_protos.h:2279
http_authentication_info_t * http_authentication_info_make(su_home_t *home, char const *s))
Make a header structure http_authentication_info_t.
Definition http_protos.h:2293
msg_parse_f http_authentication_info_d
Decode (parse) a Authentication-Info header.
Definition http_protos.h:2076
http_authentication_info_t * http_authentication_info_format(su_home_t *home, char const *fmt,...)))
Make a Authentication-Info header from formatting result.
Definition http_protos.h:2266
msg_print_f http_authentication_info_e
Encode (print) a Authentication-Info header.
Definition http_protos.h:2079
int http_is_authentication_info(http_header_t const *header)
Test if header object is instance of http_authentication_info_t.
Definition http_protos.h:2132
msg_hclass_t http_authentication_info_class[]
Header class for HTTP Authentication-Info header.
Definition http_basic.c:345
http_authentication_info_t * http_authentication_info_init(http_authentication_info_t x[1])
Initialize a structure http_authentication_info_t.
Definition http_protos.h:2108
http_authentication_info_t * http_authentication_info_copy(su_home_t *home, http_authentication_info_t const *hdr))
Copy a http_authentication_info_t header structure.
Definition http_protos.h:2286
@ http_authentication_info_hash
Hash of Authentication-Info header.
Definition http_protos.h:2060
http_authorization_t * http_authorization_init(http_authorization_t x[1])
Initialize a structure http_authorization_t.
Definition http_protos.h:2358
http_authorization_t * http_authorization_make(su_home_t *home, char const *s))
Make a header structure http_authorization_t.
Definition http_protos.h:2543
http_authorization_t * http_authorization_format(su_home_t *home, char const *fmt,...)))
Make a Authorization header from formatting result.
Definition http_protos.h:2516
msg_hclass_t http_authorization_class[]
Header class for HTTP Authorization header.
Definition http_basic.c:358
msg_print_f http_authorization_e
Encode (print) a Authorization header.
Definition http_protos.h:2329
int http_is_authorization(http_header_t const *header)
Test if header object is instance of http_authorization_t.
Definition http_protos.h:2382
http_authorization_t * http_authorization_copy(su_home_t *home, http_authorization_t const *hdr))
Copy a http_authorization_t header structure.
Definition http_protos.h:2536
http_authorization_t * http_authorization_dup(su_home_t *home, http_authorization_t const *hdr))
Duplicate (deep copy) http_authorization_t.
Definition http_protos.h:2529
msg_parse_f http_authorization_d
Decode (parse) a Authorization header.
Definition http_protos.h:2326
@ http_authorization_hash
Hash of Authorization header.
Definition http_protos.h:2310
http_cache_control_t * http_cache_control_init(http_cache_control_t x[1])
Initialize a structure http_cache_control_t.
Definition http_protos.h:2858
msg_parse_f http_cache_control_d
Decode (parse) a Cache-Control header.
Definition http_protos.h:2826
http_cache_control_t * http_cache_control_dup(su_home_t *home, http_cache_control_t const *hdr))
Duplicate (deep copy) http_cache_control_t.
Definition http_protos.h:3029
msg_print_f http_cache_control_e
Encode (print) a Cache-Control header.
Definition http_protos.h:2829
int http_is_cache_control(http_header_t const *header)
Test if header object is instance of http_cache_control_t.
Definition http_protos.h:2882
http_cache_control_t * http_cache_control_copy(su_home_t *home, http_cache_control_t const *hdr))
Copy a http_cache_control_t header structure.
Definition http_protos.h:3036
http_cache_control_t * http_cache_control_format(su_home_t *home, char const *fmt,...)))
Make a Cache-Control header from formatting result.
Definition http_protos.h:3016
http_cache_control_t * http_cache_control_make(su_home_t *home, char const *s))
Make a header structure http_cache_control_t.
Definition http_protos.h:3043
msg_hclass_t http_cache_control_class[]
Header class for HTTP Cache-Control header.
Definition http_basic.c:367
@ http_cache_control_hash
Hash of Cache-Control header.
Definition http_protos.h:2810
msg_print_f http_connection_e
Encode (print) a Connection header.
Definition http_protos.h:3079
http_connection_t * http_connection_init(http_connection_t x[1])
Initialize a structure http_connection_t.
Definition http_protos.h:3108
http_connection_t * http_connection_dup(su_home_t *home, http_connection_t const *hdr))
Duplicate (deep copy) http_connection_t.
Definition http_protos.h:3279
msg_parse_f http_connection_d
Decode (parse) a Connection header.
Definition http_protos.h:3076
http_connection_t * http_connection_make(su_home_t *home, char const *s))
Make a header structure http_connection_t.
Definition http_protos.h:3293
msg_hclass_t http_connection_class[]
Header class for HTTP Connection header.
Definition http_basic.c:375
http_connection_t * http_connection_copy(su_home_t *home, http_connection_t const *hdr))
Copy a http_connection_t header structure.
Definition http_protos.h:3286
http_connection_t * http_connection_format(su_home_t *home, char const *fmt,...)))
Make a Connection header from formatting result.
Definition http_protos.h:3266
int http_is_connection(http_header_t const *header)
Test if header object is instance of http_connection_t.
Definition http_protos.h:3132
@ http_connection_hash
Hash of Connection header.
Definition http_protos.h:3060
http_content_encoding_t * http_content_encoding_copy(su_home_t *home, http_content_encoding_t const *hdr))
Copy a http_content_encoding_t header structure.
Definition http_protos.h:12036
http_content_encoding_t * http_content_encoding_init(http_content_encoding_t x[1])
Initialize a structure http_content_encoding_t.
Definition http_protos.h:11858
http_content_encoding_t * http_content_encoding_make(su_home_t *home, char const *s))
Make a header structure http_content_encoding_t.
Definition http_protos.h:12043
http_content_encoding_t * http_content_encoding_dup(su_home_t *home, http_content_encoding_t const *hdr))
Duplicate (deep copy) http_content_encoding_t.
Definition http_protos.h:12029
int http_is_content_encoding(http_header_t const *header)
Test if header object is instance of http_content_encoding_t.
Definition http_protos.h:11882
msg_hclass_t http_content_encoding_class[]
Header class for HTTP Content-Encoding header.
msg_print_f http_content_encoding_e
Encode (print) a Content-Encoding header.
Definition http_protos.h:11829
http_content_encoding_t * http_content_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Content-Encoding header from formatting result.
Definition http_protos.h:12016
msg_parse_f http_content_encoding_d
Decode (parse) a Content-Encoding header.
Definition http_protos.h:11826
@ http_content_encoding_hash
Hash of Content-Encoding header.
Definition http_protos.h:11810
int http_is_content_language(http_header_t const *header)
Test if header object is instance of http_content_language_t.
Definition http_protos.h:12132
http_content_language_t * http_content_language_make(su_home_t *home, char const *s))
Make a header structure http_content_language_t.
Definition http_protos.h:12293
http_content_language_t * http_content_language_dup(su_home_t *home, http_content_language_t const *hdr))
Duplicate (deep copy) http_content_language_t.
Definition http_protos.h:12279
msg_hclass_t http_content_language_class[]
Header class for HTTP Content-Language header.
msg_print_f http_content_language_e
Encode (print) a Content-Language header.
Definition http_protos.h:12079
msg_parse_f http_content_language_d
Decode (parse) a Content-Language header.
Definition http_protos.h:12076
http_content_language_t * http_content_language_copy(su_home_t *home, http_content_language_t const *hdr))
Copy a http_content_language_t header structure.
Definition http_protos.h:12286
http_content_language_t * http_content_language_format(su_home_t *home, char const *fmt,...)))
Make a Content-Language header from formatting result.
Definition http_protos.h:12266
http_content_language_t * http_content_language_init(http_content_language_t x[1])
Initialize a structure http_content_language_t.
Definition http_protos.h:12108
@ http_content_language_hash
Hash of Content-Language header.
Definition http_protos.h:12060
msg_parse_f http_content_length_d
Decode (parse) a Content-Length header.
Definition http_protos.h:12326
http_content_length_t * http_content_length_make(su_home_t *home, char const *s))
Make a header structure http_content_length_t.
Definition http_protos.h:12543
http_content_length_t * http_content_length_init(http_content_length_t x[1])
Initialize a structure http_content_length_t.
Definition http_protos.h:12358
http_content_length_t * http_content_length_format(su_home_t *home, char const *fmt,...)))
Make a Content-Length header from formatting result.
Definition http_protos.h:12516
msg_print_f http_content_length_e
Encode (print) a Content-Length header.
Definition http_protos.h:12329
http_content_length_t * http_content_length_dup(su_home_t *home, http_content_length_t const *hdr))
Duplicate (deep copy) http_content_length_t.
Definition http_protos.h:12529
http_content_length_t * http_content_length_copy(su_home_t *home, http_content_length_t const *hdr))
Copy a http_content_length_t header structure.
Definition http_protos.h:12536
msg_hclass_t http_content_length_class[]
Header class for HTTP Content-Length header.
int http_is_content_length(http_header_t const *header)
Test if header object is instance of http_content_length_t.
Definition http_protos.h:12382
@ http_content_length_hash
Hash of Content-Length header.
Definition http_protos.h:12310
msg_hclass_t http_content_location_class[]
Header class for HTTP Content-Location header.
http_content_location_t * http_content_location_copy(su_home_t *home, http_content_location_t const *hdr))
Copy a http_content_location_t header structure.
Definition http_protos.h:12786
http_content_location_t * http_content_location_format(su_home_t *home, char const *fmt,...)))
Make a Content-Location header from formatting result.
Definition http_protos.h:12766
int http_is_content_location(http_header_t const *header)
Test if header object is instance of http_content_location_t.
Definition http_protos.h:12632
http_content_location_t * http_content_location_init(http_content_location_t x[1])
Initialize a structure http_content_location_t.
Definition http_protos.h:12608
http_content_location_t * http_content_location_make(su_home_t *home, char const *s))
Make a header structure http_content_location_t.
Definition http_protos.h:12793
msg_print_f http_content_location_e
Encode (print) a Content-Location header.
Definition http_protos.h:12579
http_content_location_t * http_content_location_dup(su_home_t *home, http_content_location_t const *hdr))
Duplicate (deep copy) http_content_location_t.
Definition http_protos.h:12779
msg_parse_f http_content_location_d
Decode (parse) a Content-Location header.
Definition http_protos.h:12576
@ http_content_location_hash
Hash of Content-Location header.
Definition http_protos.h:12560
msg_print_f http_content_md5_e
Encode (print) a Content-MD5 header.
Definition http_protos.h:12829
http_content_md5_t * http_content_md5_make(su_home_t *home, char const *s))
Make a header structure http_content_md5_t.
Definition http_protos.h:13043
http_content_md5_t * http_content_md5_copy(su_home_t *home, http_content_md5_t const *hdr))
Copy a http_content_md5_t header structure.
Definition http_protos.h:13036
int http_is_content_md5(http_header_t const *header)
Test if header object is instance of http_content_md5_t.
Definition http_protos.h:12882
msg_parse_f http_content_md5_d
Decode (parse) a Content-MD5 header.
Definition http_protos.h:12826
http_content_md5_t * http_content_md5_init(http_content_md5_t x[1])
Initialize a structure http_content_md5_t.
Definition http_protos.h:12858
msg_hclass_t http_content_md5_class[]
Header class for HTTP Content-MD5 header.
http_content_md5_t * http_content_md5_format(su_home_t *home, char const *fmt,...)))
Make a Content-MD5 header from formatting result.
Definition http_protos.h:13016
http_content_md5_t * http_content_md5_dup(su_home_t *home, http_content_md5_t const *hdr))
Duplicate (deep copy) http_content_md5_t.
Definition http_protos.h:13029
@ http_content_md5_hash
Hash of Content-MD5 header.
Definition http_protos.h:12810
http_content_range_t * http_content_range_dup(su_home_t *home, http_content_range_t const *hdr))
Duplicate (deep copy) http_content_range_t.
Definition http_protos.h:13279
http_content_range_t * http_content_range_copy(su_home_t *home, http_content_range_t const *hdr))
Copy a http_content_range_t header structure.
Definition http_protos.h:13286
int http_is_content_range(http_header_t const *header)
Test if header object is instance of http_content_range_t.
Definition http_protos.h:13132
msg_hclass_t http_content_range_class[]
Header class for HTTP Content-Range header.
Definition http_basic.c:501
msg_parse_f http_content_range_d
Decode (parse) a Content-Range header.
Definition http_protos.h:13076
http_content_range_t * http_content_range_format(su_home_t *home, char const *fmt,...)))
Make a Content-Range header from formatting result.
Definition http_protos.h:13266
msg_print_f http_content_range_e
Encode (print) a Content-Range header.
Definition http_protos.h:13079
http_content_range_t * http_content_range_init(http_content_range_t x[1])
Initialize a structure http_content_range_t.
Definition http_protos.h:13108
http_content_range_t * http_content_range_make(su_home_t *home, char const *s))
Make a header structure http_content_range_t.
Definition http_protos.h:13293
@ http_content_range_hash
Hash of Content-Range header.
Definition http_protos.h:13060
msg_print_f http_content_type_e
Encode (print) a Content-Type header.
Definition http_protos.h:13329
msg_parse_f http_content_type_d
Decode (parse) a Content-Type header.
Definition http_protos.h:13326
http_content_type_t * http_content_type_copy(su_home_t *home, http_content_type_t const *hdr))
Copy a http_content_type_t header structure.
Definition http_protos.h:13536
int http_is_content_type(http_header_t const *header)
Test if header object is instance of http_content_type_t.
Definition http_protos.h:13382
http_content_type_t * http_content_type_dup(su_home_t *home, http_content_type_t const *hdr))
Duplicate (deep copy) http_content_type_t.
Definition http_protos.h:13529
http_content_type_t * http_content_type_init(http_content_type_t x[1])
Initialize a structure http_content_type_t.
Definition http_protos.h:13358
msg_hclass_t http_content_type_class[]
Header class for HTTP Content-Type header.
http_content_type_t * http_content_type_make(su_home_t *home, char const *s))
Make a header structure http_content_type_t.
Definition http_protos.h:13543
http_content_type_t * http_content_type_format(su_home_t *home, char const *fmt,...)))
Make a Content-Type header from formatting result.
Definition http_protos.h:13516
@ http_content_type_hash
Hash of Content-Type header.
Definition http_protos.h:13310
msg_hclass_t http_cookie_class[]
Header class for HTTP Cookie header.
Definition http_extra.c:254
http_cookie_t * http_cookie_make(su_home_t *home, char const *s))
Make a header structure http_cookie_t.
Definition http_protos.h:11543
http_cookie_t * http_cookie_copy(su_home_t *home, http_cookie_t const *hdr))
Copy a http_cookie_t header structure.
Definition http_protos.h:11536
msg_parse_f http_cookie_d
Decode (parse) a Cookie header.
Definition http_protos.h:11326
http_cookie_t * http_cookie_format(su_home_t *home, char const *fmt,...)))
Make a Cookie header from formatting result.
Definition http_protos.h:11516
http_cookie_t * http_cookie_dup(su_home_t *home, http_cookie_t const *hdr))
Duplicate (deep copy) http_cookie_t.
Definition http_protos.h:11529
int http_is_cookie(http_header_t const *header)
Test if header object is instance of http_cookie_t.
Definition http_protos.h:11382
http_cookie_t * http_cookie_init(http_cookie_t x[1])
Initialize a structure http_cookie_t.
Definition http_protos.h:11358
msg_print_f http_cookie_e
Encode (print) a Cookie header.
Definition http_protos.h:11329
@ http_cookie_hash
Hash of Cookie header.
Definition http_protos.h:11310
http_date_t * http_date_format(su_home_t *home, char const *fmt,...)))
Make a Date header from formatting result.
Definition http_protos.h:3516
msg_print_f http_date_e
Encode (print) a Date header.
Definition http_protos.h:3329
msg_parse_f http_date_d
Decode (parse) a Date header.
Definition http_protos.h:3326
http_date_t * http_date_copy(su_home_t *home, http_date_t const *hdr))
Copy a http_date_t header structure.
Definition http_protos.h:3536
msg_hclass_t http_date_class[]
Header class for HTTP Date header.
Definition http_basic.c:598
http_date_t * http_date_init(http_date_t x[1])
Initialize a structure http_date_t.
Definition http_protos.h:3358
http_date_t * http_date_dup(su_home_t *home, http_date_t const *hdr))
Duplicate (deep copy) http_date_t.
Definition http_protos.h:3529
int http_is_date(http_header_t const *header)
Test if header object is instance of http_date_t.
Definition http_protos.h:3382
http_date_t * http_date_make(su_home_t *home, char const *s))
Make a header structure http_date_t.
Definition http_protos.h:3543
@ http_date_hash
Hash of Date header.
Definition http_protos.h:3310
http_error_t * http_error_format(su_home_t *home, char const *fmt,...)))
Make a erroneous headers from formatting result.
Definition http_protos.h:14016
msg_hclass_t http_error_class[]
Header class for HTTP erroneous headers.
http_error_t * http_error_make(su_home_t *home, char const *s))
Make a header structure http_error_t.
Definition http_protos.h:14043
msg_parse_f http_error_d
Decode (parse) a erroneous headers.
Definition http_protos.h:13826
int http_is_error(http_header_t const *header)
Test if header object is instance of http_error_t.
Definition http_protos.h:13882
http_error_t * http_error_dup(su_home_t *home, http_error_t const *hdr))
Duplicate (deep copy) http_error_t.
Definition http_protos.h:14029
msg_print_f http_error_e
Encode (print) a erroneous headers.
Definition http_protos.h:13829
http_error_t * http_error_copy(su_home_t *home, http_error_t const *hdr))
Copy a http_error_t header structure.
Definition http_protos.h:14036
http_error_t * http_error_init(http_error_t x[1])
Initialize a structure http_error_t.
Definition http_protos.h:13858
@ http_error_hash
Hash of erroneous headers.
Definition http_protos.h:13810
http_etag_t * http_etag_make(su_home_t *home, char const *s))
Make a header structure http_etag_t.
Definition http_protos.h:3793
http_etag_t * http_etag_format(su_home_t *home, char const *fmt,...)))
Make a ETag header from formatting result.
Definition http_protos.h:3766
http_etag_t * http_etag_dup(su_home_t *home, http_etag_t const *hdr))
Duplicate (deep copy) http_etag_t.
Definition http_protos.h:3779
http_etag_t * http_etag_copy(su_home_t *home, http_etag_t const *hdr))
Copy a http_etag_t header structure.
Definition http_protos.h:3786
msg_parse_f http_etag_d
Decode (parse) a ETag header.
Definition http_protos.h:3576
http_etag_t * http_etag_init(http_etag_t x[1])
Initialize a structure http_etag_t.
Definition http_protos.h:3608
msg_print_f http_etag_e
Encode (print) a ETag header.
Definition http_protos.h:3579
msg_hclass_t http_etag_class[]
Header class for HTTP ETag header.
Definition http_basic.c:608
int http_is_etag(http_header_t const *header)
Test if header object is instance of http_etag_t.
Definition http_protos.h:3632
@ http_etag_hash
Hash of ETag header.
Definition http_protos.h:3560
msg_hclass_t http_expect_class[]
Header class for HTTP Expect header.
Definition http_basic.c:617
msg_print_f http_expect_e
Encode (print) a Expect header.
Definition http_protos.h:3829
int http_is_expect(http_header_t const *header)
Test if header object is instance of http_expect_t.
Definition http_protos.h:3882
http_expect_t * http_expect_copy(su_home_t *home, http_expect_t const *hdr))
Copy a http_expect_t header structure.
Definition http_protos.h:4036
http_expect_t * http_expect_format(su_home_t *home, char const *fmt,...)))
Make a Expect header from formatting result.
Definition http_protos.h:4016
msg_parse_f http_expect_d
Decode (parse) a Expect header.
Definition http_protos.h:3826
http_expect_t * http_expect_make(su_home_t *home, char const *s))
Make a header structure http_expect_t.
Definition http_protos.h:4043
http_expect_t * http_expect_dup(su_home_t *home, http_expect_t const *hdr))
Duplicate (deep copy) http_expect_t.
Definition http_protos.h:4029
http_expect_t * http_expect_init(http_expect_t x[1])
Initialize a structure http_expect_t.
Definition http_protos.h:3858
@ http_expect_hash
Hash of Expect header.
Definition http_protos.h:3810
http_expires_t * http_expires_copy(su_home_t *home, http_expires_t const *hdr))
Copy a http_expires_t header structure.
Definition http_protos.h:4286
msg_hclass_t http_expires_class[]
Header class for HTTP Expires header.
Definition http_basic.c:653
msg_print_f http_expires_e
Encode (print) a Expires header.
Definition http_protos.h:4079
http_expires_t * http_expires_make(su_home_t *home, char const *s))
Make a header structure http_expires_t.
Definition http_protos.h:4293
http_expires_t * http_expires_format(su_home_t *home, char const *fmt,...)))
Make a Expires header from formatting result.
Definition http_protos.h:4266
http_expires_t * http_expires_dup(su_home_t *home, http_expires_t const *hdr))
Duplicate (deep copy) http_expires_t.
Definition http_protos.h:4279
msg_parse_f http_expires_d
Decode (parse) a Expires header.
Definition http_protos.h:4076
int http_is_expires(http_header_t const *header)
Test if header object is instance of http_expires_t.
Definition http_protos.h:4132
http_expires_t * http_expires_init(http_expires_t x[1])
Initialize a structure http_expires_t.
Definition http_protos.h:4108
@ http_expires_hash
Hash of Expires header.
Definition http_protos.h:4060
int http_is_from(http_header_t const *header)
Test if header object is instance of http_from_t.
Definition http_protos.h:4382
http_from_t * http_from_init(http_from_t x[1])
Initialize a structure http_from_t.
Definition http_protos.h:4358
http_from_t * http_from_dup(su_home_t *home, http_from_t const *hdr))
Duplicate (deep copy) http_from_t.
Definition http_protos.h:4529
msg_parse_f http_from_d
Decode (parse) a From header.
Definition http_protos.h:4326
http_from_t * http_from_format(su_home_t *home, char const *fmt,...)))
Make a From header from formatting result.
Definition http_protos.h:4516
msg_hclass_t http_from_class[]
Header class for HTTP From header.
Definition http_basic.c:667
http_from_t * http_from_copy(su_home_t *home, http_from_t const *hdr))
Copy a http_from_t header structure.
Definition http_protos.h:4536
msg_print_f http_from_e
Encode (print) a From header.
Definition http_protos.h:4329
http_from_t * http_from_make(su_home_t *home, char const *s))
Make a header structure http_from_t.
Definition http_protos.h:4543
@ http_from_hash
Hash of From header.
Definition http_protos.h:4310
http_host_t * http_host_dup(su_home_t *home, http_host_t const *hdr))
Duplicate (deep copy) http_host_t.
Definition http_protos.h:4779
msg_parse_f http_host_d
Decode (parse) a Host header.
Definition http_protos.h:4576
int http_is_host(http_header_t const *header)
Test if header object is instance of http_host_t.
Definition http_protos.h:4632
msg_print_f http_host_e
Encode (print) a Host header.
Definition http_protos.h:4579
http_host_t * http_host_make(su_home_t *home, char const *s))
Make a header structure http_host_t.
Definition http_protos.h:4793
http_host_t * http_host_copy(su_home_t *home, http_host_t const *hdr))
Copy a http_host_t header structure.
Definition http_protos.h:4786
http_host_t * http_host_format(su_home_t *home, char const *fmt,...)))
Make a Host header from formatting result.
Definition http_protos.h:4766
msg_hclass_t http_host_class[]
Header class for HTTP Host header.
Definition http_basic.c:750
http_host_t * http_host_init(http_host_t x[1])
Initialize a structure http_host_t.
Definition http_protos.h:4608
@ http_host_hash
Hash of Host header.
Definition http_protos.h:4560
http_if_match_t * http_if_match_copy(su_home_t *home, http_if_match_t const *hdr))
Copy a http_if_match_t header structure.
Definition http_protos.h:5036
msg_print_f http_if_match_e
Encode (print) a If-Match header.
Definition http_protos.h:4829
http_if_match_t * http_if_match_make(su_home_t *home, char const *s))
Make a header structure http_if_match_t.
Definition http_protos.h:5043
http_if_match_t * http_if_match_format(su_home_t *home, char const *fmt,...)))
Make a If-Match header from formatting result.
Definition http_protos.h:5016
msg_parse_f http_if_match_d
Decode (parse) a If-Match header.
Definition http_protos.h:4826
msg_hclass_t http_if_match_class[]
Header class for HTTP If-Match header.
Definition http_basic.c:758
http_if_match_t * http_if_match_dup(su_home_t *home, http_if_match_t const *hdr))
Duplicate (deep copy) http_if_match_t.
Definition http_protos.h:5029
http_if_match_t * http_if_match_init(http_if_match_t x[1])
Initialize a structure http_if_match_t.
Definition http_protos.h:4858
int http_is_if_match(http_header_t const *header)
Test if header object is instance of http_if_match_t.
Definition http_protos.h:4882
@ http_if_match_hash
Hash of If-Match header.
Definition http_protos.h:4810
msg_parse_f http_if_modified_since_d
Decode (parse) a If-Modified-Since header.
Definition http_protos.h:5076
http_if_modified_since_t * http_if_modified_since_make(su_home_t *home, char const *s))
Make a header structure http_if_modified_since_t.
Definition http_protos.h:5293
http_if_modified_since_t * http_if_modified_since_copy(su_home_t *home, http_if_modified_since_t const *hdr))
Copy a http_if_modified_since_t header structure.
Definition http_protos.h:5286
http_if_modified_since_t * http_if_modified_since_format(su_home_t *home, char const *fmt,...)))
Make a If-Modified-Since header from formatting result.
Definition http_protos.h:5266
msg_hclass_t http_if_modified_since_class[]
Header class for HTTP If-Modified-Since header.
Definition http_basic.c:796
http_if_modified_since_t * http_if_modified_since_init(http_if_modified_since_t x[1])
Initialize a structure http_if_modified_since_t.
Definition http_protos.h:5108
int http_is_if_modified_since(http_header_t const *header)
Test if header object is instance of http_if_modified_since_t.
Definition http_protos.h:5132
msg_print_f http_if_modified_since_e
Encode (print) a If-Modified-Since header.
Definition http_protos.h:5079
http_if_modified_since_t * http_if_modified_since_dup(su_home_t *home, http_if_modified_since_t const *hdr))
Duplicate (deep copy) http_if_modified_since_t.
Definition http_protos.h:5279
@ http_if_modified_since_hash
Hash of If-Modified-Since header.
Definition http_protos.h:5060
http_if_none_match_t * http_if_none_match_make(su_home_t *home, char const *s))
Make a header structure http_if_none_match_t.
Definition http_protos.h:5543
msg_print_f http_if_none_match_e
Encode (print) a If-None-Match header.
Definition http_protos.h:5329
msg_parse_f http_if_none_match_d
Decode (parse) a If-None-Match header.
Definition http_protos.h:5326
http_if_none_match_t * http_if_none_match_copy(su_home_t *home, http_if_none_match_t const *hdr))
Copy a http_if_none_match_t header structure.
Definition http_protos.h:5536
http_if_none_match_t * http_if_none_match_format(su_home_t *home, char const *fmt,...)))
Make a If-None-Match header from formatting result.
Definition http_protos.h:5516
http_if_none_match_t * http_if_none_match_init(http_if_none_match_t x[1])
Initialize a structure http_if_none_match_t.
Definition http_protos.h:5358
msg_hclass_t http_if_none_match_class[]
Header class for HTTP If-None-Match header.
Definition http_basic.c:805
int http_is_if_none_match(http_header_t const *header)
Test if header object is instance of http_if_none_match_t.
Definition http_protos.h:5382
http_if_none_match_t * http_if_none_match_dup(su_home_t *home, http_if_none_match_t const *hdr))
Duplicate (deep copy) http_if_none_match_t.
Definition http_protos.h:5529
@ http_if_none_match_hash
Hash of If-None-Match header.
Definition http_protos.h:5310
msg_parse_f http_if_range_d
Decode (parse) a If-Range header.
Definition http_protos.h:5576
http_if_range_t * http_if_range_make(su_home_t *home, char const *s))
Make a header structure http_if_range_t.
Definition http_protos.h:5793
http_if_range_t * http_if_range_copy(su_home_t *home, http_if_range_t const *hdr))
Copy a http_if_range_t header structure.
Definition http_protos.h:5786
http_if_range_t * http_if_range_format(su_home_t *home, char const *fmt,...)))
Make a If-Range header from formatting result.
Definition http_protos.h:5766
msg_hclass_t http_if_range_class[]
Header class for HTTP If-Range header.
Definition http_basic.c:876
msg_print_f http_if_range_e
Encode (print) a If-Range header.
Definition http_protos.h:5579
http_if_range_t * http_if_range_init(http_if_range_t x[1])
Initialize a structure http_if_range_t.
Definition http_protos.h:5608
http_if_range_t * http_if_range_dup(su_home_t *home, http_if_range_t const *hdr))
Duplicate (deep copy) http_if_range_t.
Definition http_protos.h:5779
int http_is_if_range(http_header_t const *header)
Test if header object is instance of http_if_range_t.
Definition http_protos.h:5632
@ http_if_range_hash
Hash of If-Range header.
Definition http_protos.h:5560
http_if_unmodified_since_t * http_if_unmodified_since_init(http_if_unmodified_since_t x[1])
Initialize a structure http_if_unmodified_since_t.
Definition http_protos.h:5858
msg_print_f http_if_unmodified_since_e
Encode (print) a If-Unmodified-Since header.
Definition http_protos.h:5829
msg_hclass_t http_if_unmodified_since_class[]
Header class for HTTP If-Unmodified-Since header.
Definition http_basic.c:915
http_if_unmodified_since_t * http_if_unmodified_since_dup(su_home_t *home, http_if_unmodified_since_t const *hdr))
Duplicate (deep copy) http_if_unmodified_since_t.
Definition http_protos.h:6029
msg_parse_f http_if_unmodified_since_d
Decode (parse) a If-Unmodified-Since header.
Definition http_protos.h:5826
http_if_unmodified_since_t * http_if_unmodified_since_copy(su_home_t *home, http_if_unmodified_since_t const *hdr))
Copy a http_if_unmodified_since_t header structure.
Definition http_protos.h:6036
int http_is_if_unmodified_since(http_header_t const *header)
Test if header object is instance of http_if_unmodified_since_t.
Definition http_protos.h:5882
http_if_unmodified_since_t * http_if_unmodified_since_format(su_home_t *home, char const *fmt,...)))
Make a If-Unmodified-Since header from formatting result.
Definition http_protos.h:6016
http_if_unmodified_since_t * http_if_unmodified_since_make(su_home_t *home, char const *s))
Make a header structure http_if_unmodified_since_t.
Definition http_protos.h:6043
@ http_if_unmodified_since_hash
Hash of If-Unmodified-Since header.
Definition http_protos.h:5810
http_last_modified_t * http_last_modified_init(http_last_modified_t x[1])
Initialize a structure http_last_modified_t.
Definition http_protos.h:6108
msg_print_f http_last_modified_e
Encode (print) a Last-Modified header.
Definition http_protos.h:6079
http_last_modified_t * http_last_modified_copy(su_home_t *home, http_last_modified_t const *hdr))
Copy a http_last_modified_t header structure.
Definition http_protos.h:6286
msg_hclass_t http_last_modified_class[]
Header class for HTTP Last-Modified header.
Definition http_basic.c:951
int http_is_last_modified(http_header_t const *header)
Test if header object is instance of http_last_modified_t.
Definition http_protos.h:6132
http_last_modified_t * http_last_modified_format(su_home_t *home, char const *fmt,...)))
Make a Last-Modified header from formatting result.
Definition http_protos.h:6266
http_last_modified_t * http_last_modified_make(su_home_t *home, char const *s))
Make a header structure http_last_modified_t.
Definition http_protos.h:6293
msg_parse_f http_last_modified_d
Decode (parse) a Last-Modified header.
Definition http_protos.h:6076
http_last_modified_t * http_last_modified_dup(su_home_t *home, http_last_modified_t const *hdr))
Duplicate (deep copy) http_last_modified_t.
Definition http_protos.h:6279
@ http_last_modified_hash
Hash of Last-Modified header.
Definition http_protos.h:6060
http_location_t * http_location_copy(su_home_t *home, http_location_t const *hdr))
Copy a http_location_t header structure.
Definition http_protos.h:6536
msg_parse_f http_location_d
Decode (parse) a Location header.
Definition http_protos.h:6326
msg_hclass_t http_location_class[]
Header class for HTTP Location header.
Definition http_basic.c:1026
msg_print_f http_location_e
Encode (print) a Location header.
Definition http_protos.h:6329
http_location_t * http_location_make(su_home_t *home, char const *s))
Make a header structure http_location_t.
Definition http_protos.h:6543
http_location_t * http_location_dup(su_home_t *home, http_location_t const *hdr))
Duplicate (deep copy) http_location_t.
Definition http_protos.h:6529
http_location_t * http_location_init(http_location_t x[1])
Initialize a structure http_location_t.
Definition http_protos.h:6358
http_location_t * http_location_format(su_home_t *home, char const *fmt,...)))
Make a Location header from formatting result.
Definition http_protos.h:6516
int http_is_location(http_header_t const *header)
Test if header object is instance of http_location_t.
Definition http_protos.h:6382
@ http_location_hash
Hash of Location header.
Definition http_protos.h:6310
msg_print_f http_max_forwards_e
Encode (print) a Max-Forwards header.
Definition http_protos.h:6579
int http_is_max_forwards(http_header_t const *header)
Test if header object is instance of http_max_forwards_t.
Definition http_protos.h:6632
msg_hclass_t http_max_forwards_class[]
Header class for HTTP Max-Forwards header.
Definition http_basic.c:1034
msg_parse_f http_max_forwards_d
Decode (parse) a Max-Forwards header.
Definition http_protos.h:6576
http_max_forwards_t * http_max_forwards_make(su_home_t *home, char const *s))
Make a header structure http_max_forwards_t.
Definition http_protos.h:6793
http_max_forwards_t * http_max_forwards_format(su_home_t *home, char const *fmt,...)))
Make a Max-Forwards header from formatting result.
Definition http_protos.h:6766
http_max_forwards_t * http_max_forwards_dup(su_home_t *home, http_max_forwards_t const *hdr))
Duplicate (deep copy) http_max_forwards_t.
Definition http_protos.h:6779
http_max_forwards_t * http_max_forwards_init(http_max_forwards_t x[1])
Initialize a structure http_max_forwards_t.
Definition http_protos.h:6608
http_max_forwards_t * http_max_forwards_copy(su_home_t *home, http_max_forwards_t const *hdr))
Copy a http_max_forwards_t header structure.
Definition http_protos.h:6786
@ http_max_forwards_hash
Hash of Max-Forwards header.
Definition http_protos.h:6560
msg_print_f http_mime_version_e
Encode (print) a MIME-Version header.
Definition http_protos.h:11579
http_mime_version_t * http_mime_version_dup(su_home_t *home, http_mime_version_t const *hdr))
Duplicate (deep copy) http_mime_version_t.
Definition http_protos.h:11779
http_mime_version_t * http_mime_version_format(su_home_t *home, char const *fmt,...)))
Make a MIME-Version header from formatting result.
Definition http_protos.h:11766
http_mime_version_t * http_mime_version_init(http_mime_version_t x[1])
Initialize a structure http_mime_version_t.
Definition http_protos.h:11608
int http_is_mime_version(http_header_t const *header)
Test if header object is instance of http_mime_version_t.
Definition http_protos.h:11632
http_mime_version_t * http_mime_version_copy(su_home_t *home, http_mime_version_t const *hdr))
Copy a http_mime_version_t header structure.
Definition http_protos.h:11786
msg_parse_f http_mime_version_d
Decode (parse) a MIME-Version header.
Definition http_protos.h:11576
http_mime_version_t * http_mime_version_make(su_home_t *home, char const *s))
Make a header structure http_mime_version_t.
Definition http_protos.h:11793
msg_hclass_t http_mime_version_class[]
Header class for HTTP MIME-Version header.
@ http_mime_version_hash
Hash of MIME-Version header.
Definition http_protos.h:11560
http_payload_t * http_payload_dup(su_home_t *home, http_payload_t const *hdr))
Duplicate (deep copy) http_payload_t.
Definition http_protos.h:14529
http_payload_t * http_payload_make(su_home_t *home, char const *s))
Make a header structure http_payload_t.
Definition http_protos.h:14543
http_payload_t * http_payload_copy(su_home_t *home, http_payload_t const *hdr))
Copy a http_payload_t header structure.
Definition http_protos.h:14536
msg_print_f http_payload_e
Encode (print) a message payload.
Definition http_protos.h:14329
http_payload_t * http_payload_init(http_payload_t x[1])
Initialize a structure http_payload_t.
Definition http_protos.h:14358
http_payload_t * http_payload_format(su_home_t *home, char const *fmt,...)))
Make a message payload from formatting result.
Definition http_protos.h:14516
int http_is_payload(http_header_t const *header)
Test if header object is instance of http_payload_t.
Definition http_protos.h:14382
msg_hclass_t http_payload_class[]
Header class for HTTP message payload.
msg_parse_f http_payload_d
Decode (parse) a message payload.
Definition http_protos.h:14326
@ http_payload_hash
Hash of message payload.
Definition http_protos.h:14310
http_pragma_t * http_pragma_make(su_home_t *home, char const *s))
Make a header structure http_pragma_t.
Definition http_protos.h:7043
int http_is_pragma(http_header_t const *header)
Test if header object is instance of http_pragma_t.
Definition http_protos.h:6882
http_pragma_t * http_pragma_copy(su_home_t *home, http_pragma_t const *hdr))
Copy a http_pragma_t header structure.
Definition http_protos.h:7036
http_pragma_t * http_pragma_init(http_pragma_t x[1])
Initialize a structure http_pragma_t.
Definition http_protos.h:6858
http_pragma_t * http_pragma_format(su_home_t *home, char const *fmt,...)))
Make a Pragma header from formatting result.
Definition http_protos.h:7016
msg_parse_f http_pragma_d
Decode (parse) a Pragma header.
Definition http_protos.h:6826
http_pragma_t * http_pragma_dup(su_home_t *home, http_pragma_t const *hdr))
Duplicate (deep copy) http_pragma_t.
Definition http_protos.h:7029
msg_print_f http_pragma_e
Encode (print) a Pragma header.
Definition http_protos.h:6829
msg_hclass_t http_pragma_class[]
Header class for HTTP Pragma header.
Definition http_basic.c:1042
@ http_pragma_hash
Hash of Pragma header.
Definition http_protos.h:6810
http_proxy_authenticate_t * http_proxy_authenticate_copy(su_home_t *home, http_proxy_authenticate_t const *hdr))
Copy a http_proxy_authenticate_t header structure.
Definition http_protos.h:7286
http_proxy_authenticate_t * http_proxy_authenticate_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Authenticate header from formatting result.
Definition http_protos.h:7266
msg_print_f http_proxy_authenticate_e
Encode (print) a Proxy-Authenticate header.
Definition http_protos.h:7079
http_proxy_authenticate_t * http_proxy_authenticate_dup(su_home_t *home, http_proxy_authenticate_t const *hdr))
Duplicate (deep copy) http_proxy_authenticate_t.
Definition http_protos.h:7279
msg_parse_f http_proxy_authenticate_d
Decode (parse) a Proxy-Authenticate header.
Definition http_protos.h:7076
http_proxy_authenticate_t * http_proxy_authenticate_make(su_home_t *home, char const *s))
Make a header structure http_proxy_authenticate_t.
Definition http_protos.h:7293
msg_hclass_t http_proxy_authenticate_class[]
Header class for HTTP Proxy-Authenticate header.
Definition http_basic.c:1051
http_proxy_authenticate_t * http_proxy_authenticate_init(http_proxy_authenticate_t x[1])
Initialize a structure http_proxy_authenticate_t.
Definition http_protos.h:7108
int http_is_proxy_authenticate(http_header_t const *header)
Test if header object is instance of http_proxy_authenticate_t.
Definition http_protos.h:7132
@ http_proxy_authenticate_hash
Hash of Proxy-Authenticate header.
Definition http_protos.h:7060
http_proxy_authorization_t * http_proxy_authorization_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Authorization header from formatting result.
Definition http_protos.h:7516
http_proxy_authorization_t * http_proxy_authorization_copy(su_home_t *home, http_proxy_authorization_t const *hdr))
Copy a http_proxy_authorization_t header structure.
Definition http_protos.h:7536
http_proxy_authorization_t * http_proxy_authorization_dup(su_home_t *home, http_proxy_authorization_t const *hdr))
Duplicate (deep copy) http_proxy_authorization_t.
Definition http_protos.h:7529
int http_is_proxy_authorization(http_header_t const *header)
Test if header object is instance of http_proxy_authorization_t.
Definition http_protos.h:7382
http_proxy_authorization_t * http_proxy_authorization_make(su_home_t *home, char const *s))
Make a header structure http_proxy_authorization_t.
Definition http_protos.h:7543
msg_parse_f http_proxy_authorization_d
Decode (parse) a Proxy-Authorization header.
Definition http_protos.h:7326
http_proxy_authorization_t * http_proxy_authorization_init(http_proxy_authorization_t x[1])
Initialize a structure http_proxy_authorization_t.
Definition http_protos.h:7358
msg_hclass_t http_proxy_authorization_class[]
Header class for HTTP Proxy-Authorization header.
Definition http_basic.c:1060
msg_print_f http_proxy_authorization_e
Encode (print) a Proxy-Authorization header.
Definition http_protos.h:7329
@ http_proxy_authorization_hash
Hash of Proxy-Authorization header.
Definition http_protos.h:7310
int http_is_proxy_connection(http_header_t const *header)
Test if header object is instance of http_proxy_connection_t.
Definition http_protos.h:10882
http_proxy_connection_t * http_proxy_connection_dup(su_home_t *home, http_proxy_connection_t const *hdr))
Duplicate (deep copy) http_proxy_connection_t.
Definition http_protos.h:11029
http_proxy_connection_t * http_proxy_connection_init(http_proxy_connection_t x[1])
Initialize a structure http_proxy_connection_t.
Definition http_protos.h:10858
http_proxy_connection_t * http_proxy_connection_make(su_home_t *home, char const *s))
Make a header structure http_proxy_connection_t.
Definition http_protos.h:11043
http_proxy_connection_t * http_proxy_connection_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Connection header from formatting result.
Definition http_protos.h:11016
msg_print_f http_proxy_connection_e
Encode (print) a Proxy-Connection header.
Definition http_protos.h:10829
http_proxy_connection_t * http_proxy_connection_copy(su_home_t *home, http_proxy_connection_t const *hdr))
Copy a http_proxy_connection_t header structure.
Definition http_protos.h:11036
msg_hclass_t http_proxy_connection_class[]
Header class for HTTP Proxy-Connection header.
Definition http_extra.c:56
msg_parse_f http_proxy_connection_d
Decode (parse) a Proxy-Connection header.
Definition http_protos.h:10826
@ http_proxy_connection_hash
Hash of Proxy-Connection header.
Definition http_protos.h:10810
http_range_t * http_range_dup(su_home_t *home, http_range_t const *hdr))
Duplicate (deep copy) http_range_t.
Definition http_protos.h:7779
http_range_t * http_range_init(http_range_t x[1])
Initialize a structure http_range_t.
Definition http_protos.h:7608
http_range_t * http_range_format(su_home_t *home, char const *fmt,...)))
Make a Range header from formatting result.
Definition http_protos.h:7766
http_range_t * http_range_copy(su_home_t *home, http_range_t const *hdr))
Copy a http_range_t header structure.
Definition http_protos.h:7786
msg_print_f http_range_e
Encode (print) a Range header.
Definition http_protos.h:7579
http_range_t * http_range_make(su_home_t *home, char const *s))
Make a header structure http_range_t.
Definition http_protos.h:7793
msg_parse_f http_range_d
Decode (parse) a Range header.
Definition http_protos.h:7576
int http_is_range(http_header_t const *header)
Test if header object is instance of http_range_t.
Definition http_protos.h:7632
msg_hclass_t http_range_class[]
Header class for HTTP Range header.
Definition http_basic.c:1213
@ http_range_hash
Hash of Range header.
Definition http_protos.h:7560
http_referer_t * http_referer_format(su_home_t *home, char const *fmt,...)))
Make a Referer header from formatting result.
Definition http_protos.h:8016
http_referer_t * http_referer_copy(su_home_t *home, http_referer_t const *hdr))
Copy a http_referer_t header structure.
Definition http_protos.h:8036
msg_hclass_t http_referer_class[]
Header class for HTTP Referer header.
Definition http_basic.c:1251
http_referer_t * http_referer_make(su_home_t *home, char const *s))
Make a header structure http_referer_t.
Definition http_protos.h:8043
msg_parse_f http_referer_d
Decode (parse) a Referer header.
Definition http_protos.h:7826
http_referer_t * http_referer_dup(su_home_t *home, http_referer_t const *hdr))
Duplicate (deep copy) http_referer_t.
Definition http_protos.h:8029
msg_print_f http_referer_e
Encode (print) a Referer header.
Definition http_protos.h:7829
http_referer_t * http_referer_init(http_referer_t x[1])
Initialize a structure http_referer_t.
Definition http_protos.h:7858
int http_is_referer(http_header_t const *header)
Test if header object is instance of http_referer_t.
Definition http_protos.h:7882
@ http_referer_hash
Hash of Referer header.
Definition http_protos.h:7810
http_request_t * http_request_init(http_request_t x[1])
Initialize a structure http_request_t.
Definition http_protos.h:108
msg_parse_f http_request_d
Decode (parse) a request line.
Definition http_protos.h:76
http_request_t * http_request_make(su_home_t *home, char const *s))
Make a header structure http_request_t.
Definition http_protos.h:293
msg_print_f http_request_e
Encode (print) a request line.
Definition http_protos.h:79
http_request_t * http_request_dup(su_home_t *home, http_request_t const *hdr))
Duplicate (deep copy) http_request_t.
Definition http_protos.h:279
msg_hclass_t http_request_class[]
Header class for HTTP request line.
Definition http_basic.c:180
http_request_t * http_request_copy(su_home_t *home, http_request_t const *hdr))
Copy a http_request_t header structure.
Definition http_protos.h:286
http_request_t * http_request_format(su_home_t *home, char const *fmt,...)))
Make a request line from formatting result.
Definition http_protos.h:266
int http_is_request(http_header_t const *header)
Test if header object is instance of http_request_t.
Definition http_protos.h:132
@ http_request_hash
Hash of request line.
Definition http_protos.h:60
msg_hclass_t http_retry_after_class[]
Header class for HTTP Retry-After header.
Definition http_basic.c:1317
http_retry_after_t * http_retry_after_format(su_home_t *home, char const *fmt,...)))
Make a Retry-After header from formatting result.
Definition http_protos.h:8266
int http_is_retry_after(http_header_t const *header)
Test if header object is instance of http_retry_after_t.
Definition http_protos.h:8132
http_retry_after_t * http_retry_after_copy(su_home_t *home, http_retry_after_t const *hdr))
Copy a http_retry_after_t header structure.
Definition http_protos.h:8286
http_retry_after_t * http_retry_after_init(http_retry_after_t x[1])
Initialize a structure http_retry_after_t.
Definition http_protos.h:8108
http_retry_after_t * http_retry_after_make(su_home_t *home, char const *s))
Make a header structure http_retry_after_t.
Definition http_protos.h:8293
msg_parse_f http_retry_after_d
Decode (parse) a Retry-After header.
Definition http_protos.h:8076
http_retry_after_t * http_retry_after_dup(su_home_t *home, http_retry_after_t const *hdr))
Duplicate (deep copy) http_retry_after_t.
Definition http_protos.h:8279
msg_print_f http_retry_after_e
Encode (print) a Retry-After header.
Definition http_protos.h:8079
@ http_retry_after_hash
Hash of Retry-After header.
Definition http_protos.h:8060
http_separator_t * http_separator_make(su_home_t *home, char const *s))
Make a header structure http_separator_t.
Definition http_protos.h:14293
msg_parse_f http_separator_d
Decode (parse) a separator line between headers and body.
Definition http_protos.h:14076
http_separator_t * http_separator_init(http_separator_t x[1])
Initialize a structure http_separator_t.
Definition http_protos.h:14108
http_separator_t * http_separator_copy(su_home_t *home, http_separator_t const *hdr))
Copy a http_separator_t header structure.
Definition http_protos.h:14286
int http_is_separator(http_header_t const *header)
Test if header object is instance of http_separator_t.
Definition http_protos.h:14132
msg_print_f http_separator_e
Encode (print) a separator line between headers and body.
Definition http_protos.h:14079
http_separator_t * http_separator_dup(su_home_t *home, http_separator_t const *hdr))
Duplicate (deep copy) http_separator_t.
Definition http_protos.h:14279
http_separator_t * http_separator_format(su_home_t *home, char const *fmt,...)))
Make a separator line between headers and body from formatting result.
Definition http_protos.h:14266
msg_hclass_t http_separator_class[]
Header class for HTTP separator line between headers and body.
@ http_separator_hash
Hash of separator line between headers and body.
Definition http_protos.h:14060
http_server_t * http_server_format(su_home_t *home, char const *fmt,...)))
Make a Server header from formatting result.
Definition http_protos.h:8516
http_server_t * http_server_dup(su_home_t *home, http_server_t const *hdr))
Duplicate (deep copy) http_server_t.
Definition http_protos.h:8529
http_server_t * http_server_copy(su_home_t *home, http_server_t const *hdr))
Copy a http_server_t header structure.
Definition http_protos.h:8536
msg_hclass_t http_server_class[]
Header class for HTTP Server header.
Definition http_basic.c:1325
int http_is_server(http_header_t const *header)
Test if header object is instance of http_server_t.
Definition http_protos.h:8382
msg_parse_f http_server_d
Decode (parse) a Server header.
Definition http_protos.h:8326
msg_print_f http_server_e
Encode (print) a Server header.
Definition http_protos.h:8329
http_server_t * http_server_make(su_home_t *home, char const *s))
Make a header structure http_server_t.
Definition http_protos.h:8543
http_server_t * http_server_init(http_server_t x[1])
Initialize a structure http_server_t.
Definition http_protos.h:8358
@ http_server_hash
Hash of Server header.
Definition http_protos.h:8310
http_set_cookie_t * http_set_cookie_make(su_home_t *home, char const *s))
Make a header structure http_set_cookie_t.
Definition http_protos.h:11293
msg_parse_f http_set_cookie_d
Decode (parse) a Set-Cookie header.
Definition http_protos.h:11076
http_set_cookie_t * http_set_cookie_init(http_set_cookie_t x[1])
Initialize a structure http_set_cookie_t.
Definition http_protos.h:11108
http_set_cookie_t * http_set_cookie_copy(su_home_t *home, http_set_cookie_t const *hdr))
Copy a http_set_cookie_t header structure.
Definition http_protos.h:11286
http_set_cookie_t * http_set_cookie_dup(su_home_t *home, http_set_cookie_t const *hdr))
Duplicate (deep copy) http_set_cookie_t.
Definition http_protos.h:11279
int http_is_set_cookie(http_header_t const *header)
Test if header object is instance of http_set_cookie_t.
Definition http_protos.h:11132
msg_print_f http_set_cookie_e
Encode (print) a Set-Cookie header.
Definition http_protos.h:11079
msg_hclass_t http_set_cookie_class[]
Header class for HTTP Set-Cookie header.
Definition http_extra.c:470
http_set_cookie_t * http_set_cookie_format(su_home_t *home, char const *fmt,...)))
Make a Set-Cookie header from formatting result.
Definition http_protos.h:11266
@ http_set_cookie_hash
Hash of Set-Cookie header.
Definition http_protos.h:11060
http_status_t * http_status_dup(su_home_t *home, http_status_t const *hdr))
Duplicate (deep copy) http_status_t.
Definition http_protos.h:529
http_status_t * http_status_format(su_home_t *home, char const *fmt,...)))
Make a status line from formatting result.
Definition http_protos.h:516
msg_hclass_t http_status_class[]
Header class for HTTP status line.
Definition http_basic.c:282
http_status_t * http_status_init(http_status_t x[1])
Initialize a structure http_status_t.
Definition http_protos.h:358
msg_print_f http_status_e
Encode (print) a status line.
Definition http_protos.h:329
http_status_t * http_status_make(su_home_t *home, char const *s))
Make a header structure http_status_t.
Definition http_protos.h:543
http_status_t * http_status_copy(su_home_t *home, http_status_t const *hdr))
Copy a http_status_t header structure.
Definition http_protos.h:536
msg_parse_f http_status_d
Decode (parse) a status line.
Definition http_protos.h:326
int http_is_status(http_header_t const *header)
Test if header object is instance of http_status_t.
Definition http_protos.h:382
@ http_status_hash
Hash of status line.
Definition http_protos.h:310
http_te_t * http_te_format(su_home_t *home, char const *fmt,...)))
Make a TE header from formatting result.
Definition http_protos.h:8766
http_te_t * http_te_make(su_home_t *home, char const *s))
Make a header structure http_te_t.
Definition http_protos.h:8793
http_te_t * http_te_init(http_te_t x[1])
Initialize a structure http_te_t.
Definition http_protos.h:8608
int http_is_te(http_header_t const *header)
Test if header object is instance of http_te_t.
Definition http_protos.h:8632
http_te_t * http_te_dup(su_home_t *home, http_te_t const *hdr))
Duplicate (deep copy) http_te_t.
Definition http_protos.h:8779
msg_print_f http_te_e
Encode (print) a TE header.
Definition http_protos.h:8579
msg_parse_f http_te_d
Decode (parse) a TE header.
Definition http_protos.h:8576
http_te_t * http_te_copy(su_home_t *home, http_te_t const *hdr))
Copy a http_te_t header structure.
Definition http_protos.h:8786
msg_hclass_t http_te_class[]
Header class for HTTP TE header.
Definition http_basic.c:1443
@ http_te_hash
Hash of TE header.
Definition http_protos.h:8560
http_trailer_t * http_trailer_dup(su_home_t *home, http_trailer_t const *hdr))
Duplicate (deep copy) http_trailer_t.
Definition http_protos.h:9029
msg_print_f http_trailer_e
Encode (print) a Trailer header.
Definition http_protos.h:8829
http_trailer_t * http_trailer_format(su_home_t *home, char const *fmt,...)))
Make a Trailer header from formatting result.
Definition http_protos.h:9016
int http_is_trailer(http_header_t const *header)
Test if header object is instance of http_trailer_t.
Definition http_protos.h:8882
http_trailer_t * http_trailer_init(http_trailer_t x[1])
Initialize a structure http_trailer_t.
Definition http_protos.h:8858
http_trailer_t * http_trailer_copy(su_home_t *home, http_trailer_t const *hdr))
Copy a http_trailer_t header structure.
Definition http_protos.h:9036
msg_parse_f http_trailer_d
Decode (parse) a Trailer header.
Definition http_protos.h:8826
http_trailer_t * http_trailer_make(su_home_t *home, char const *s))
Make a header structure http_trailer_t.
Definition http_protos.h:9043
msg_hclass_t http_trailer_class[]
Header class for HTTP Trailer header.
Definition http_basic.c:1451
@ http_trailer_hash
Hash of Trailer header.
Definition http_protos.h:8810
msg_print_f http_transfer_encoding_e
Encode (print) a Transfer-Encoding header.
Definition http_protos.h:9079
msg_hclass_t http_transfer_encoding_class[]
Header class for HTTP Transfer-Encoding header.
Definition http_basic.c:1460
msg_parse_f http_transfer_encoding_d
Decode (parse) a Transfer-Encoding header.
Definition http_protos.h:9076
http_transfer_encoding_t * http_transfer_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Transfer-Encoding header from formatting result.
Definition http_protos.h:9266
http_transfer_encoding_t * http_transfer_encoding_make(su_home_t *home, char const *s))
Make a header structure http_transfer_encoding_t.
Definition http_protos.h:9293
http_transfer_encoding_t * http_transfer_encoding_dup(su_home_t *home, http_transfer_encoding_t const *hdr))
Duplicate (deep copy) http_transfer_encoding_t.
Definition http_protos.h:9279
int http_is_transfer_encoding(http_header_t const *header)
Test if header object is instance of http_transfer_encoding_t.
Definition http_protos.h:9132
http_transfer_encoding_t * http_transfer_encoding_copy(su_home_t *home, http_transfer_encoding_t const *hdr))
Copy a http_transfer_encoding_t header structure.
Definition http_protos.h:9286
http_transfer_encoding_t * http_transfer_encoding_init(http_transfer_encoding_t x[1])
Initialize a structure http_transfer_encoding_t.
Definition http_protos.h:9108
@ http_transfer_encoding_hash
Hash of Transfer-Encoding header.
Definition http_protos.h:9060
http_unknown_t * http_unknown_init(http_unknown_t x[1])
Initialize a structure http_unknown_t.
Definition http_protos.h:13608
http_unknown_t * http_unknown_copy(su_home_t *home, http_unknown_t const *hdr))
Copy a http_unknown_t header structure.
Definition http_protos.h:13786
http_unknown_t * http_unknown_format(su_home_t *home, char const *fmt,...)))
Make a unknown headers from formatting result.
Definition http_protos.h:13766
int http_is_unknown(http_header_t const *header)
Test if header object is instance of http_unknown_t.
Definition http_protos.h:13632
msg_print_f http_unknown_e
Encode (print) a unknown headers.
Definition http_protos.h:13579
msg_parse_f http_unknown_d
Decode (parse) a unknown headers.
Definition http_protos.h:13576
http_unknown_t * http_unknown_make(su_home_t *home, char const *s))
Make a header structure http_unknown_t.
Definition http_protos.h:13793
http_unknown_t * http_unknown_dup(su_home_t *home, http_unknown_t const *hdr))
Duplicate (deep copy) http_unknown_t.
Definition http_protos.h:13779
msg_hclass_t http_unknown_class[]
Header class for HTTP unknown headers.
@ http_unknown_hash
Hash of unknown headers.
Definition http_protos.h:13560
http_upgrade_t * http_upgrade_dup(su_home_t *home, http_upgrade_t const *hdr))
Duplicate (deep copy) http_upgrade_t.
Definition http_protos.h:9529
int http_is_upgrade(http_header_t const *header)
Test if header object is instance of http_upgrade_t.
Definition http_protos.h:9382
http_upgrade_t * http_upgrade_init(http_upgrade_t x[1])
Initialize a structure http_upgrade_t.
Definition http_protos.h:9358
http_upgrade_t * http_upgrade_copy(su_home_t *home, http_upgrade_t const *hdr))
Copy a http_upgrade_t header structure.
Definition http_protos.h:9536
http_upgrade_t * http_upgrade_make(su_home_t *home, char const *s))
Make a header structure http_upgrade_t.
Definition http_protos.h:9543
msg_print_f http_upgrade_e
Encode (print) a Upgrade header.
Definition http_protos.h:9329
msg_parse_f http_upgrade_d
Decode (parse) a Upgrade header.
Definition http_protos.h:9326
http_upgrade_t * http_upgrade_format(su_home_t *home, char const *fmt,...)))
Make a Upgrade header from formatting result.
Definition http_protos.h:9516
msg_hclass_t http_upgrade_class[]
Header class for HTTP Upgrade header.
Definition http_basic.c:1468
@ http_upgrade_hash
Hash of Upgrade header.
Definition http_protos.h:9310
msg_print_f http_user_agent_e
Encode (print) a User-Agent header.
Definition http_protos.h:9579
http_user_agent_t * http_user_agent_format(su_home_t *home, char const *fmt,...)))
Make a User-Agent header from formatting result.
Definition http_protos.h:9766
http_user_agent_t * http_user_agent_make(su_home_t *home, char const *s))
Make a header structure http_user_agent_t.
Definition http_protos.h:9793
int http_is_user_agent(http_header_t const *header)
Test if header object is instance of http_user_agent_t.
Definition http_protos.h:9632
msg_parse_f http_user_agent_d
Decode (parse) a User-Agent header.
Definition http_protos.h:9576
http_user_agent_t * http_user_agent_copy(su_home_t *home, http_user_agent_t const *hdr))
Copy a http_user_agent_t header structure.
Definition http_protos.h:9786
http_user_agent_t * http_user_agent_init(http_user_agent_t x[1])
Initialize a structure http_user_agent_t.
Definition http_protos.h:9608
http_user_agent_t * http_user_agent_dup(su_home_t *home, http_user_agent_t const *hdr))
Duplicate (deep copy) http_user_agent_t.
Definition http_protos.h:9779
msg_hclass_t http_user_agent_class[]
Header class for HTTP User-Agent header.
Definition http_basic.c:1476
@ http_user_agent_hash
Hash of User-Agent header.
Definition http_protos.h:9560
http_vary_t * http_vary_dup(su_home_t *home, http_vary_t const *hdr))
Duplicate (deep copy) http_vary_t.
Definition http_protos.h:10029
msg_hclass_t http_vary_class[]
Header class for HTTP Vary header.
Definition http_basic.c:1484
int http_is_vary(http_header_t const *header)
Test if header object is instance of http_vary_t.
Definition http_protos.h:9882
http_vary_t * http_vary_format(su_home_t *home, char const *fmt,...)))
Make a Vary header from formatting result.
Definition http_protos.h:10016
msg_parse_f http_vary_d
Decode (parse) a Vary header.
Definition http_protos.h:9826
http_vary_t * http_vary_init(http_vary_t x[1])
Initialize a structure http_vary_t.
Definition http_protos.h:9858
http_vary_t * http_vary_make(su_home_t *home, char const *s))
Make a header structure http_vary_t.
Definition http_protos.h:10043
msg_print_f http_vary_e
Encode (print) a Vary header.
Definition http_protos.h:9829
http_vary_t * http_vary_copy(su_home_t *home, http_vary_t const *hdr))
Copy a http_vary_t header structure.
Definition http_protos.h:10036
@ http_vary_hash
Hash of Vary header.
Definition http_protos.h:9810
msg_print_f http_via_e
Encode (print) a Via header.
Definition http_protos.h:10079
http_via_t * http_via_dup(su_home_t *home, http_via_t const *hdr))
Duplicate (deep copy) http_via_t.
Definition http_protos.h:10279
msg_hclass_t http_via_class[]
Header class for HTTP Via header.
Definition http_basic.c:1591
msg_parse_f http_via_d
Decode (parse) a Via header.
Definition http_protos.h:10076
http_via_t * http_via_copy(su_home_t *home, http_via_t const *hdr))
Copy a http_via_t header structure.
Definition http_protos.h:10286
http_via_t * http_via_make(su_home_t *home, char const *s))
Make a header structure http_via_t.
Definition http_protos.h:10293
http_via_t * http_via_init(http_via_t x[1])
Initialize a structure http_via_t.
Definition http_protos.h:10108
http_via_t * http_via_format(su_home_t *home, char const *fmt,...)))
Make a Via header from formatting result.
Definition http_protos.h:10266
int http_is_via(http_header_t const *header)
Test if header object is instance of http_via_t.
Definition http_protos.h:10132
@ http_via_hash
Hash of Via header.
Definition http_protos.h:10060
msg_hclass_t http_warning_class[]
Header class for HTTP Warning header.
Definition http_basic.c:1602
msg_parse_f http_warning_d
Decode (parse) a Warning header.
Definition http_protos.h:10326
http_warning_t * http_warning_dup(su_home_t *home, http_warning_t const *hdr))
Duplicate (deep copy) http_warning_t.
Definition http_protos.h:10529
http_warning_t * http_warning_copy(su_home_t *home, http_warning_t const *hdr))
Copy a http_warning_t header structure.
Definition http_protos.h:10536
int http_is_warning(http_header_t const *header)
Test if header object is instance of http_warning_t.
Definition http_protos.h:10382
http_warning_t * http_warning_make(su_home_t *home, char const *s))
Make a header structure http_warning_t.
Definition http_protos.h:10543
msg_print_f http_warning_e
Encode (print) a Warning header.
Definition http_protos.h:10329
http_warning_t * http_warning_format(su_home_t *home, char const *fmt,...)))
Make a Warning header from formatting result.
Definition http_protos.h:10516
http_warning_t * http_warning_init(http_warning_t x[1])
Initialize a structure http_warning_t.
Definition http_protos.h:10358
@ http_warning_hash
Hash of Warning header.
Definition http_protos.h:10310
http_www_authenticate_t * http_www_authenticate_copy(su_home_t *home, http_www_authenticate_t const *hdr))
Copy a http_www_authenticate_t header structure.
Definition http_protos.h:10786
http_www_authenticate_t * http_www_authenticate_make(su_home_t *home, char const *s))
Make a header structure http_www_authenticate_t.
Definition http_protos.h:10793
msg_print_f http_www_authenticate_e
Encode (print) a WWW-Authenticate header.
Definition http_protos.h:10579
msg_hclass_t http_www_authenticate_class[]
Header class for HTTP WWW-Authenticate header.
Definition http_basic.c:1611
int http_is_www_authenticate(http_header_t const *header)
Test if header object is instance of http_www_authenticate_t.
Definition http_protos.h:10632
http_www_authenticate_t * http_www_authenticate_dup(su_home_t *home, http_www_authenticate_t const *hdr))
Duplicate (deep copy) http_www_authenticate_t.
Definition http_protos.h:10779
http_www_authenticate_t * http_www_authenticate_format(su_home_t *home, char const *fmt,...)))
Make a WWW-Authenticate header from formatting result.
Definition http_protos.h:10766
msg_parse_f http_www_authenticate_d
Decode (parse) a WWW-Authenticate header.
Definition http_protos.h:10576
http_www_authenticate_t * http_www_authenticate_init(http_www_authenticate_t x[1])
Initialize a structure http_www_authenticate_t.
Definition http_protos.h:10608
@ http_www_authenticate_hash
Hash of WWW-Authenticate header.
Definition http_protos.h:10560
msg_error_t http_error_t
Erroneous header.
Definition http.h:161
msg_generic_t http_unknown_t
Unknown header.
Definition http.h:163
msg_payload_t http_payload_t
Entity-body.
Definition http.h:167
msg_separator_t http_separator_t
Separator line between headers and message contents.
Definition http.h:165
struct msg_hclass_s const msg_hclass_t
Content-Range.
Definition http.h:210
Cookie.
Definition http.h:292
Date, Expires, If-Modified-Since, If-Unmodified-Since, Last-Modified.
Definition http.h:219
Host.
Definition http.h:226
If-Range.
Definition http.h:234
Location, Referer.
Definition http.h:242
Max-Forwards.
Definition http.h:249
Range.
Definition http.h:257
HTTP request line.
Definition http.h:179
Retry-After.
Definition http.h:265
Set-Cookie.
Definition http.h:303
HTTP status line.
Definition http.h:189
Via.
Definition http.h:282