00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef HTTP_TAG_H
00026
00027 #define HTTP_TAG_H
00028
00038 #ifndef SU_TAG_H
00039 #include <sofia-sip/su_tag.h>
00040 #endif
00041 #ifndef SU_TAG_CLASS_H
00042 #include <sofia-sip/su_tag_class.h>
00043 #endif
00044 #ifndef SU_TAG_CLASS_H
00045 #include <sofia-sip/su_tag_class.h>
00046 #endif
00047
00048 #ifndef HTTP_H
00049 #include <sofia-sip/http.h>
00050 #endif
00051
00052 SOFIA_BEGIN_DECLS
00053
00054 #define HTTPTAG(c, x) httptag_##c, httptag_##c##_v(x)
00055 #define HTTPTAG_REF(c, x) httptag_##c##_ref, httptag_##c##_vr(&(x))
00056 #define HTTPTAG_STR(c, s) httptag_##c##_str, tag_str_v(s)
00057 #define HTTPTAG_STR_REF(c, s) httptag_##c##_str_ref, tag_str_vr(&(s))
00058
00060 #define HTTPTAG_P(tt) ((tt)->tt_class == httphdrtag_class)
00061
00062 #define HTTPTAG_STR_P(tt) ((tt)->tt_class == httpstrtag_class)
00063
00064 #define HTTPTAG_HTTP_P(tt) ((tt)->tt_class == httpmsgtag_class)
00065
00067 #define HTTPTAGI_P(t) (HTTPTAG_P((t)->t_tag))
00068
00069 #define HTTPTAGI_STR_P(t) (HTTPTAG_STR_P((t)->t_tag))
00070
00071 #define HTTPTAGI_HTTP_P(t) (HTTPTAG_HTTP_P((t)->t_tag))
00072
00073 SOFIAPUBVAR tag_class_t httphdrtag_class[1];
00074 SOFIAPUBVAR tag_class_t httpstrtag_class[1];
00075 SOFIAPUBVAR tag_class_t httpmsgtag_class[1];
00076
00078 #define HTTPTAG_ANY() httptag_any, ((tag_value_t)0)
00079 SOFIAPUBVAR tag_typedef_t httptag_any;
00080
00090 #define HTTPTAG_HTTP(x) httptag_http, httptag_http_v((x))
00091
00093 SOFIAPUBVAR tag_typedef_t httptag_http;
00094
00095 #define HTTPTAG_HTTP_REF(x) httptag_http_ref, httptag_http_vr(&(x))
00096 SOFIAPUBVAR tag_typedef_t httptag_http_ref;
00097
00098 #if SU_INLINE_TAG_CAST
00099 su_inline
00100 tag_value_t httptag_http_v(http_t const *v) { return (tag_value_t)v; }
00101 su_inline
00102 tag_value_t httptag_http_vr(http_t const **vp) { return (tag_value_t)vp; }
00103 #else
00104 #define httptag_http_v(v) (tag_value_t)(v)
00105 #define httptag_http_vr(vp) (tag_value_t)(vp)
00106 #endif
00107
00115 #define HTTPTAG_VERSION(x) httptag_http, (tag_value_t)x
00116
00117 extern tag_typedef_t httptag_version;
00118
00120 #define HTTPTAG_VERSION_REF(x) httptag_http_ref, (tag_value_t)&(x)
00121
00122 extern tag_typedef_t httptag_version_ref;
00123
00138 #define HTTPTAG_HEADER(x) httptag_header, httptag_header_v((x))
00139
00141 SOFIAPUBVAR tag_typedef_t httptag_header;
00142
00143 #define HTTPTAG_HEADER_REF(x) httptag_header_ref, httptag_header_vr(&(x))
00144 SOFIAPUBVAR tag_typedef_t httptag_header_ref;
00145
00146 #if SU_INLINE_TAG_CAST
00147 su_inline tag_value_t
00148 httptag_header_v(http_header_t const *v)
00149 { return (tag_value_t)v; }
00150 su_inline tag_value_t
00151 httptag_header_vr(http_header_t const **vp)
00152 { return (tag_value_t)vp; }
00153 #else
00154 #define httptag_header_v(v) (tag_value_t)(v)
00155 #define httptag_header_vr(vp) (tag_value_t)(vp)
00156 #endif
00157
00167 #define HTTPTAG_HEADER_STR(x) httptag_header_str, tag_str_v((x))
00168
00170 SOFIAPUBVAR tag_typedef_t httptag_header_str;
00171
00172 #define HTTPTAG_HEADER_STR_REF(x) httptag_header_str_ref, tag_str_vr(&(x))
00173 SOFIAPUBVAR tag_typedef_t httptag_header_str_ref;
00174
00175
00187 #define HTTPTAG_REQUEST(x) HTTPTAG(request, x)
00188
00189 SOFIAPUBVAR tag_typedef_t httptag_request;
00190
00206 #define HTTPTAG_REQUEST_STR(s) HTTPTAG_STR(request, s)
00207
00208 SOFIAPUBVAR tag_typedef_t httptag_request_str;
00209
00210 #define HTTPTAG_REQUEST_REF(x) HTTPTAG_REF(request, x)
00211 SOFIAPUBVAR tag_typedef_t httptag_request_ref;
00212
00213 #define HTTPTAG_REQUEST_STR_REF(x) HTTPTAG_STR_REF(request, x)
00214 SOFIAPUBVAR tag_typedef_t httptag_request_str_ref;
00215
00216 #if SU_INLINE_TAG_CAST
00217 su_inline tag_value_t
00218 httptag_request_v(http_request_t const *v)
00219 { return (tag_value_t)v; }
00220 su_inline tag_value_t
00221 httptag_request_vr(http_request_t const **vp)
00222 { return (tag_value_t)vp; }
00223 #else
00224 #define httptag_request_v(v) (tag_value_t)(v)
00225 #define httptag_request_vr(vp) (tag_value_t)(vp)
00226 #endif
00227
00239 #define HTTPTAG_STATUS(x) HTTPTAG(status, x)
00240
00241 SOFIAPUBVAR tag_typedef_t httptag_status;
00242
00258 #define HTTPTAG_STATUS_STR(s) HTTPTAG_STR(status, s)
00259
00260 SOFIAPUBVAR tag_typedef_t httptag_status_str;
00261
00262 #define HTTPTAG_STATUS_REF(x) HTTPTAG_REF(status, x)
00263 SOFIAPUBVAR tag_typedef_t httptag_status_ref;
00264
00265 #define HTTPTAG_STATUS_STR_REF(x) HTTPTAG_STR_REF(status, x)
00266 SOFIAPUBVAR tag_typedef_t httptag_status_str_ref;
00267
00268 #if SU_INLINE_TAG_CAST
00269 su_inline tag_value_t
00270 httptag_status_v(http_status_t const *v)
00271 { return (tag_value_t)v; }
00272 su_inline tag_value_t
00273 httptag_status_vr(http_status_t const **vp)
00274 { return (tag_value_t)vp; }
00275 #else
00276 #define httptag_status_v(v) (tag_value_t)(v)
00277 #define httptag_status_vr(vp) (tag_value_t)(vp)
00278 #endif
00279
00291 #define HTTPTAG_ACCEPT(x) HTTPTAG(accept, x)
00292
00293 SOFIAPUBVAR tag_typedef_t httptag_accept;
00294
00310 #define HTTPTAG_ACCEPT_STR(s) HTTPTAG_STR(accept, s)
00311
00312 SOFIAPUBVAR tag_typedef_t httptag_accept_str;
00313
00314 #define HTTPTAG_ACCEPT_REF(x) HTTPTAG_REF(accept, x)
00315 SOFIAPUBVAR tag_typedef_t httptag_accept_ref;
00316
00317 #define HTTPTAG_ACCEPT_STR_REF(x) HTTPTAG_STR_REF(accept, x)
00318 SOFIAPUBVAR tag_typedef_t httptag_accept_str_ref;
00319
00320 #if SU_INLINE_TAG_CAST
00321 su_inline tag_value_t
00322 httptag_accept_v(http_accept_t const *v)
00323 { return (tag_value_t)v; }
00324 su_inline tag_value_t
00325 httptag_accept_vr(http_accept_t const **vp)
00326 { return (tag_value_t)vp; }
00327 #else
00328 #define httptag_accept_v(v) (tag_value_t)(v)
00329 #define httptag_accept_vr(vp) (tag_value_t)(vp)
00330 #endif
00331
00343 #define HTTPTAG_ACCEPT_CHARSET(x) HTTPTAG(accept_charset, x)
00344
00345 SOFIAPUBVAR tag_typedef_t httptag_accept_charset;
00346
00362 #define HTTPTAG_ACCEPT_CHARSET_STR(s) HTTPTAG_STR(accept_charset, s)
00363
00364 SOFIAPUBVAR tag_typedef_t httptag_accept_charset_str;
00365
00366 #define HTTPTAG_ACCEPT_CHARSET_REF(x) HTTPTAG_REF(accept_charset, x)
00367 SOFIAPUBVAR tag_typedef_t httptag_accept_charset_ref;
00368
00369 #define HTTPTAG_ACCEPT_CHARSET_STR_REF(x) HTTPTAG_STR_REF(accept_charset, x)
00370 SOFIAPUBVAR tag_typedef_t httptag_accept_charset_str_ref;
00371
00372 #if SU_INLINE_TAG_CAST
00373 su_inline tag_value_t
00374 httptag_accept_charset_v(http_accept_charset_t const *v)
00375 { return (tag_value_t)v; }
00376 su_inline tag_value_t
00377 httptag_accept_charset_vr(http_accept_charset_t const **vp)
00378 { return (tag_value_t)vp; }
00379 #else
00380 #define httptag_accept_charset_v(v) (tag_value_t)(v)
00381 #define httptag_accept_charset_vr(vp) (tag_value_t)(vp)
00382 #endif
00383
00395 #define HTTPTAG_ACCEPT_ENCODING(x) HTTPTAG(accept_encoding, x)
00396
00397 SOFIAPUBVAR tag_typedef_t httptag_accept_encoding;
00398
00414 #define HTTPTAG_ACCEPT_ENCODING_STR(s) HTTPTAG_STR(accept_encoding, s)
00415
00416 SOFIAPUBVAR tag_typedef_t httptag_accept_encoding_str;
00417
00418 #define HTTPTAG_ACCEPT_ENCODING_REF(x) HTTPTAG_REF(accept_encoding, x)
00419 SOFIAPUBVAR tag_typedef_t httptag_accept_encoding_ref;
00420
00421 #define HTTPTAG_ACCEPT_ENCODING_STR_REF(x) HTTPTAG_STR_REF(accept_encoding, x)
00422 SOFIAPUBVAR tag_typedef_t httptag_accept_encoding_str_ref;
00423
00424 #if SU_INLINE_TAG_CAST
00425 su_inline tag_value_t
00426 httptag_accept_encoding_v(http_accept_encoding_t const *v)
00427 { return (tag_value_t)v; }
00428 su_inline tag_value_t
00429 httptag_accept_encoding_vr(http_accept_encoding_t const **vp)
00430 { return (tag_value_t)vp; }
00431 #else
00432 #define httptag_accept_encoding_v(v) (tag_value_t)(v)
00433 #define httptag_accept_encoding_vr(vp) (tag_value_t)(vp)
00434 #endif
00435
00447 #define HTTPTAG_ACCEPT_LANGUAGE(x) HTTPTAG(accept_language, x)
00448
00449 SOFIAPUBVAR tag_typedef_t httptag_accept_language;
00450
00466 #define HTTPTAG_ACCEPT_LANGUAGE_STR(s) HTTPTAG_STR(accept_language, s)
00467
00468 SOFIAPUBVAR tag_typedef_t httptag_accept_language_str;
00469
00470 #define HTTPTAG_ACCEPT_LANGUAGE_REF(x) HTTPTAG_REF(accept_language, x)
00471 SOFIAPUBVAR tag_typedef_t httptag_accept_language_ref;
00472
00473 #define HTTPTAG_ACCEPT_LANGUAGE_STR_REF(x) HTTPTAG_STR_REF(accept_language, x)
00474 SOFIAPUBVAR tag_typedef_t httptag_accept_language_str_ref;
00475
00476 #if SU_INLINE_TAG_CAST
00477 su_inline tag_value_t
00478 httptag_accept_language_v(http_accept_language_t const *v)
00479 { return (tag_value_t)v; }
00480 su_inline tag_value_t
00481 httptag_accept_language_vr(http_accept_language_t const **vp)
00482 { return (tag_value_t)vp; }
00483 #else
00484 #define httptag_accept_language_v(v) (tag_value_t)(v)
00485 #define httptag_accept_language_vr(vp) (tag_value_t)(vp)
00486 #endif
00487
00499 #define HTTPTAG_ACCEPT_RANGES(x) HTTPTAG(accept_ranges, x)
00500
00501 SOFIAPUBVAR tag_typedef_t httptag_accept_ranges;
00502
00518 #define HTTPTAG_ACCEPT_RANGES_STR(s) HTTPTAG_STR(accept_ranges, s)
00519
00520 SOFIAPUBVAR tag_typedef_t httptag_accept_ranges_str;
00521
00522 #define HTTPTAG_ACCEPT_RANGES_REF(x) HTTPTAG_REF(accept_ranges, x)
00523 SOFIAPUBVAR tag_typedef_t httptag_accept_ranges_ref;
00524
00525 #define HTTPTAG_ACCEPT_RANGES_STR_REF(x) HTTPTAG_STR_REF(accept_ranges, x)
00526 SOFIAPUBVAR tag_typedef_t httptag_accept_ranges_str_ref;
00527
00528 #if SU_INLINE_TAG_CAST
00529 su_inline tag_value_t
00530 httptag_accept_ranges_v(http_accept_ranges_t const *v)
00531 { return (tag_value_t)v; }
00532 su_inline tag_value_t
00533 httptag_accept_ranges_vr(http_accept_ranges_t const **vp)
00534 { return (tag_value_t)vp; }
00535 #else
00536 #define httptag_accept_ranges_v(v) (tag_value_t)(v)
00537 #define httptag_accept_ranges_vr(vp) (tag_value_t)(vp)
00538 #endif
00539
00551 #define HTTPTAG_ALLOW(x) HTTPTAG(allow, x)
00552
00553 SOFIAPUBVAR tag_typedef_t httptag_allow;
00554
00570 #define HTTPTAG_ALLOW_STR(s) HTTPTAG_STR(allow, s)
00571
00572 SOFIAPUBVAR tag_typedef_t httptag_allow_str;
00573
00574 #define HTTPTAG_ALLOW_REF(x) HTTPTAG_REF(allow, x)
00575 SOFIAPUBVAR tag_typedef_t httptag_allow_ref;
00576
00577 #define HTTPTAG_ALLOW_STR_REF(x) HTTPTAG_STR_REF(allow, x)
00578 SOFIAPUBVAR tag_typedef_t httptag_allow_str_ref;
00579
00580 #if SU_INLINE_TAG_CAST
00581 su_inline tag_value_t
00582 httptag_allow_v(http_allow_t const *v)
00583 { return (tag_value_t)v; }
00584 su_inline tag_value_t
00585 httptag_allow_vr(http_allow_t const **vp)
00586 { return (tag_value_t)vp; }
00587 #else
00588 #define httptag_allow_v(v) (tag_value_t)(v)
00589 #define httptag_allow_vr(vp) (tag_value_t)(vp)
00590 #endif
00591
00603 #define HTTPTAG_AUTHENTICATION_INFO(x) HTTPTAG(authentication_info, x)
00604
00605 SOFIAPUBVAR tag_typedef_t httptag_authentication_info;
00606
00622 #define HTTPTAG_AUTHENTICATION_INFO_STR(s) HTTPTAG_STR(authentication_info, s)
00623
00624 SOFIAPUBVAR tag_typedef_t httptag_authentication_info_str;
00625
00626 #define HTTPTAG_AUTHENTICATION_INFO_REF(x) HTTPTAG_REF(authentication_info, x)
00627 SOFIAPUBVAR tag_typedef_t httptag_authentication_info_ref;
00628
00629 #define HTTPTAG_AUTHENTICATION_INFO_STR_REF(x) HTTPTAG_STR_REF(authentication_info, x)
00630 SOFIAPUBVAR tag_typedef_t httptag_authentication_info_str_ref;
00631
00632 #if SU_INLINE_TAG_CAST
00633 su_inline tag_value_t
00634 httptag_authentication_info_v(http_authentication_info_t const *v)
00635 { return (tag_value_t)v; }
00636 su_inline tag_value_t
00637 httptag_authentication_info_vr(http_authentication_info_t const **vp)
00638 { return (tag_value_t)vp; }
00639 #else
00640 #define httptag_authentication_info_v(v) (tag_value_t)(v)
00641 #define httptag_authentication_info_vr(vp) (tag_value_t)(vp)
00642 #endif
00643
00655 #define HTTPTAG_AUTHORIZATION(x) HTTPTAG(authorization, x)
00656
00657 SOFIAPUBVAR tag_typedef_t httptag_authorization;
00658
00674 #define HTTPTAG_AUTHORIZATION_STR(s) HTTPTAG_STR(authorization, s)
00675
00676 SOFIAPUBVAR tag_typedef_t httptag_authorization_str;
00677
00678 #define HTTPTAG_AUTHORIZATION_REF(x) HTTPTAG_REF(authorization, x)
00679 SOFIAPUBVAR tag_typedef_t httptag_authorization_ref;
00680
00681 #define HTTPTAG_AUTHORIZATION_STR_REF(x) HTTPTAG_STR_REF(authorization, x)
00682 SOFIAPUBVAR tag_typedef_t httptag_authorization_str_ref;
00683
00684 #if SU_INLINE_TAG_CAST
00685 su_inline tag_value_t
00686 httptag_authorization_v(http_authorization_t const *v)
00687 { return (tag_value_t)v; }
00688 su_inline tag_value_t
00689 httptag_authorization_vr(http_authorization_t const **vp)
00690 { return (tag_value_t)vp; }
00691 #else
00692 #define httptag_authorization_v(v) (tag_value_t)(v)
00693 #define httptag_authorization_vr(vp) (tag_value_t)(vp)
00694 #endif
00695
00707 #define HTTPTAG_AGE(x) HTTPTAG(age, x)
00708
00709 SOFIAPUBVAR tag_typedef_t httptag_age;
00710
00726 #define HTTPTAG_AGE_STR(s) HTTPTAG_STR(age, s)
00727
00728 SOFIAPUBVAR tag_typedef_t httptag_age_str;
00729
00730 #define HTTPTAG_AGE_REF(x) HTTPTAG_REF(age, x)
00731 SOFIAPUBVAR tag_typedef_t httptag_age_ref;
00732
00733 #define HTTPTAG_AGE_STR_REF(x) HTTPTAG_STR_REF(age, x)
00734 SOFIAPUBVAR tag_typedef_t httptag_age_str_ref;
00735
00736 #if SU_INLINE_TAG_CAST
00737 su_inline tag_value_t
00738 httptag_age_v(http_age_t const *v)
00739 { return (tag_value_t)v; }
00740 su_inline tag_value_t
00741 httptag_age_vr(http_age_t const **vp)
00742 { return (tag_value_t)vp; }
00743 #else
00744 #define httptag_age_v(v) (tag_value_t)(v)
00745 #define httptag_age_vr(vp) (tag_value_t)(vp)
00746 #endif
00747
00759 #define HTTPTAG_CACHE_CONTROL(x) HTTPTAG(cache_control, x)
00760
00761 SOFIAPUBVAR tag_typedef_t httptag_cache_control;
00762
00778 #define HTTPTAG_CACHE_CONTROL_STR(s) HTTPTAG_STR(cache_control, s)
00779
00780 SOFIAPUBVAR tag_typedef_t httptag_cache_control_str;
00781
00782 #define HTTPTAG_CACHE_CONTROL_REF(x) HTTPTAG_REF(cache_control, x)
00783 SOFIAPUBVAR tag_typedef_t httptag_cache_control_ref;
00784
00785 #define HTTPTAG_CACHE_CONTROL_STR_REF(x) HTTPTAG_STR_REF(cache_control, x)
00786 SOFIAPUBVAR tag_typedef_t httptag_cache_control_str_ref;
00787
00788 #if SU_INLINE_TAG_CAST
00789 su_inline tag_value_t
00790 httptag_cache_control_v(http_cache_control_t const *v)
00791 { return (tag_value_t)v; }
00792 su_inline tag_value_t
00793 httptag_cache_control_vr(http_cache_control_t const **vp)
00794 { return (tag_value_t)vp; }
00795 #else
00796 #define httptag_cache_control_v(v) (tag_value_t)(v)
00797 #define httptag_cache_control_vr(vp) (tag_value_t)(vp)
00798 #endif
00799
00811 #define HTTPTAG_CONNECTION(x) HTTPTAG(connection, x)
00812
00813 SOFIAPUBVAR tag_typedef_t httptag_connection;
00814
00830 #define HTTPTAG_CONNECTION_STR(s) HTTPTAG_STR(connection, s)
00831
00832 SOFIAPUBVAR tag_typedef_t httptag_connection_str;
00833
00834 #define HTTPTAG_CONNECTION_REF(x) HTTPTAG_REF(connection, x)
00835 SOFIAPUBVAR tag_typedef_t httptag_connection_ref;
00836
00837 #define HTTPTAG_CONNECTION_STR_REF(x) HTTPTAG_STR_REF(connection, x)
00838 SOFIAPUBVAR tag_typedef_t httptag_connection_str_ref;
00839
00840 #if SU_INLINE_TAG_CAST
00841 su_inline tag_value_t
00842 httptag_connection_v(http_connection_t const *v)
00843 { return (tag_value_t)v; }
00844 su_inline tag_value_t
00845 httptag_connection_vr(http_connection_t const **vp)
00846 { return (tag_value_t)vp; }
00847 #else
00848 #define httptag_connection_v(v) (tag_value_t)(v)
00849 #define httptag_connection_vr(vp) (tag_value_t)(vp)
00850 #endif
00851
00863 #define HTTPTAG_DATE(x) HTTPTAG(date, x)
00864
00865 SOFIAPUBVAR tag_typedef_t httptag_date;
00866
00882 #define HTTPTAG_DATE_STR(s) HTTPTAG_STR(date, s)
00883
00884 SOFIAPUBVAR tag_typedef_t httptag_date_str;
00885
00886 #define HTTPTAG_DATE_REF(x) HTTPTAG_REF(date, x)
00887 SOFIAPUBVAR tag_typedef_t httptag_date_ref;
00888
00889 #define HTTPTAG_DATE_STR_REF(x) HTTPTAG_STR_REF(date, x)
00890 SOFIAPUBVAR tag_typedef_t httptag_date_str_ref;
00891
00892 #if SU_INLINE_TAG_CAST
00893 su_inline tag_value_t
00894 httptag_date_v(http_date_t const *v)
00895 { return (tag_value_t)v; }
00896 su_inline tag_value_t
00897 httptag_date_vr(http_date_t const **vp)
00898 { return (tag_value_t)vp; }
00899 #else
00900 #define httptag_date_v(v) (tag_value_t)(v)
00901 #define httptag_date_vr(vp) (tag_value_t)(vp)
00902 #endif
00903
00915 #define HTTPTAG_ETAG(x) HTTPTAG(etag, x)
00916
00917 SOFIAPUBVAR tag_typedef_t httptag_etag;
00918
00934 #define HTTPTAG_ETAG_STR(s) HTTPTAG_STR(etag, s)
00935
00936 SOFIAPUBVAR tag_typedef_t httptag_etag_str;
00937
00938 #define HTTPTAG_ETAG_REF(x) HTTPTAG_REF(etag, x)
00939 SOFIAPUBVAR tag_typedef_t httptag_etag_ref;
00940
00941 #define HTTPTAG_ETAG_STR_REF(x) HTTPTAG_STR_REF(etag, x)
00942 SOFIAPUBVAR tag_typedef_t httptag_etag_str_ref;
00943
00944 #if SU_INLINE_TAG_CAST
00945 su_inline tag_value_t
00946 httptag_etag_v(http_etag_t const *v)
00947 { return (tag_value_t)v; }
00948 su_inline tag_value_t
00949 httptag_etag_vr(http_etag_t const **vp)
00950 { return (tag_value_t)vp; }
00951 #else
00952 #define httptag_etag_v(v) (tag_value_t)(v)
00953 #define httptag_etag_vr(vp) (tag_value_t)(vp)
00954 #endif
00955
00967 #define HTTPTAG_EXPECT(x) HTTPTAG(expect, x)
00968
00969 SOFIAPUBVAR tag_typedef_t httptag_expect;
00970
00986 #define HTTPTAG_EXPECT_STR(s) HTTPTAG_STR(expect, s)
00987
00988 SOFIAPUBVAR tag_typedef_t httptag_expect_str;
00989
00990 #define HTTPTAG_EXPECT_REF(x) HTTPTAG_REF(expect, x)
00991 SOFIAPUBVAR tag_typedef_t httptag_expect_ref;
00992
00993 #define HTTPTAG_EXPECT_STR_REF(x) HTTPTAG_STR_REF(expect, x)
00994 SOFIAPUBVAR tag_typedef_t httptag_expect_str_ref;
00995
00996 #if SU_INLINE_TAG_CAST
00997 su_inline tag_value_t
00998 httptag_expect_v(http_expect_t const *v)
00999 { return (tag_value_t)v; }
01000 su_inline tag_value_t
01001 httptag_expect_vr(http_expect_t const **vp)
01002 { return (tag_value_t)vp; }
01003 #else
01004 #define httptag_expect_v(v) (tag_value_t)(v)
01005 #define httptag_expect_vr(vp) (tag_value_t)(vp)
01006 #endif
01007
01019 #define HTTPTAG_EXPIRES(x) HTTPTAG(expires, x)
01020
01021 SOFIAPUBVAR tag_typedef_t httptag_expires;
01022
01038 #define HTTPTAG_EXPIRES_STR(s) HTTPTAG_STR(expires, s)
01039
01040 SOFIAPUBVAR tag_typedef_t httptag_expires_str;
01041
01042 #define HTTPTAG_EXPIRES_REF(x) HTTPTAG_REF(expires, x)
01043 SOFIAPUBVAR tag_typedef_t httptag_expires_ref;
01044
01045 #define HTTPTAG_EXPIRES_STR_REF(x) HTTPTAG_STR_REF(expires, x)
01046 SOFIAPUBVAR tag_typedef_t httptag_expires_str_ref;
01047
01048 #if SU_INLINE_TAG_CAST
01049 su_inline tag_value_t
01050 httptag_expires_v(http_expires_t const *v)
01051 { return (tag_value_t)v; }
01052 su_inline tag_value_t
01053 httptag_expires_vr(http_expires_t const **vp)
01054 { return (tag_value_t)vp; }
01055 #else
01056 #define httptag_expires_v(v) (tag_value_t)(v)
01057 #define httptag_expires_vr(vp) (tag_value_t)(vp)
01058 #endif
01059
01071 #define HTTPTAG_FROM(x) HTTPTAG(from, x)
01072
01073 SOFIAPUBVAR tag_typedef_t httptag_from;
01074
01090 #define HTTPTAG_FROM_STR(s) HTTPTAG_STR(from, s)
01091
01092 SOFIAPUBVAR tag_typedef_t httptag_from_str;
01093
01094 #define HTTPTAG_FROM_REF(x) HTTPTAG_REF(from, x)
01095 SOFIAPUBVAR tag_typedef_t httptag_from_ref;
01096
01097 #define HTTPTAG_FROM_STR_REF(x) HTTPTAG_STR_REF(from, x)
01098 SOFIAPUBVAR tag_typedef_t httptag_from_str_ref;
01099
01100 #if SU_INLINE_TAG_CAST
01101 su_inline tag_value_t
01102 httptag_from_v(http_from_t const *v)
01103 { return (tag_value_t)v; }
01104 su_inline tag_value_t
01105 httptag_from_vr(http_from_t const **vp)
01106 { return (tag_value_t)vp; }
01107 #else
01108 #define httptag_from_v(v) (tag_value_t)(v)
01109 #define httptag_from_vr(vp) (tag_value_t)(vp)
01110 #endif
01111
01123 #define HTTPTAG_HOST(x) HTTPTAG(host, x)
01124
01125 SOFIAPUBVAR tag_typedef_t httptag_host;
01126
01142 #define HTTPTAG_HOST_STR(s) HTTPTAG_STR(host, s)
01143
01144 SOFIAPUBVAR tag_typedef_t httptag_host_str;
01145
01146 #define HTTPTAG_HOST_REF(x) HTTPTAG_REF(host, x)
01147 SOFIAPUBVAR tag_typedef_t httptag_host_ref;
01148
01149 #define HTTPTAG_HOST_STR_REF(x) HTTPTAG_STR_REF(host, x)
01150 SOFIAPUBVAR tag_typedef_t httptag_host_str_ref;
01151
01152 #if SU_INLINE_TAG_CAST
01153 su_inline tag_value_t
01154 httptag_host_v(http_host_t const *v)
01155 { return (tag_value_t)v; }
01156 su_inline tag_value_t
01157 httptag_host_vr(http_host_t const **vp)
01158 { return (tag_value_t)vp; }
01159 #else
01160 #define httptag_host_v(v) (tag_value_t)(v)
01161 #define httptag_host_vr(vp) (tag_value_t)(vp)
01162 #endif
01163
01175 #define HTTPTAG_IF_MATCH(x) HTTPTAG(if_match, x)
01176
01177 SOFIAPUBVAR tag_typedef_t httptag_if_match;
01178
01194 #define HTTPTAG_IF_MATCH_STR(s) HTTPTAG_STR(if_match, s)
01195
01196 SOFIAPUBVAR tag_typedef_t httptag_if_match_str;
01197
01198 #define HTTPTAG_IF_MATCH_REF(x) HTTPTAG_REF(if_match, x)
01199 SOFIAPUBVAR tag_typedef_t httptag_if_match_ref;
01200
01201 #define HTTPTAG_IF_MATCH_STR_REF(x) HTTPTAG_STR_REF(if_match, x)
01202 SOFIAPUBVAR tag_typedef_t httptag_if_match_str_ref;
01203
01204 #if SU_INLINE_TAG_CAST
01205 su_inline tag_value_t
01206 httptag_if_match_v(http_if_match_t const *v)
01207 { return (tag_value_t)v; }
01208 su_inline tag_value_t
01209 httptag_if_match_vr(http_if_match_t const **vp)
01210 { return (tag_value_t)vp; }
01211 #else
01212 #define httptag_if_match_v(v) (tag_value_t)(v)
01213 #define httptag_if_match_vr(vp) (tag_value_t)(vp)
01214 #endif
01215
01227 #define HTTPTAG_IF_MODIFIED_SINCE(x) HTTPTAG(if_modified_since, x)
01228
01229 SOFIAPUBVAR tag_typedef_t httptag_if_modified_since;
01230
01246 #define HTTPTAG_IF_MODIFIED_SINCE_STR(s) HTTPTAG_STR(if_modified_since, s)
01247
01248 SOFIAPUBVAR tag_typedef_t httptag_if_modified_since_str;
01249
01250 #define HTTPTAG_IF_MODIFIED_SINCE_REF(x) HTTPTAG_REF(if_modified_since, x)
01251 SOFIAPUBVAR tag_typedef_t httptag_if_modified_since_ref;
01252
01253 #define HTTPTAG_IF_MODIFIED_SINCE_STR_REF(x) HTTPTAG_STR_REF(if_modified_since, x)
01254 SOFIAPUBVAR tag_typedef_t httptag_if_modified_since_str_ref;
01255
01256 #if SU_INLINE_TAG_CAST
01257 su_inline tag_value_t
01258 httptag_if_modified_since_v(http_if_modified_since_t const *v)
01259 { return (tag_value_t)v; }
01260 su_inline tag_value_t
01261 httptag_if_modified_since_vr(http_if_modified_since_t const **vp)
01262 { return (tag_value_t)vp; }
01263 #else
01264 #define httptag_if_modified_since_v(v) (tag_value_t)(v)
01265 #define httptag_if_modified_since_vr(vp) (tag_value_t)(vp)
01266 #endif
01267
01279 #define HTTPTAG_IF_NONE_MATCH(x) HTTPTAG(if_none_match, x)
01280
01281 SOFIAPUBVAR tag_typedef_t httptag_if_none_match;
01282
01298 #define HTTPTAG_IF_NONE_MATCH_STR(s) HTTPTAG_STR(if_none_match, s)
01299
01300 SOFIAPUBVAR tag_typedef_t httptag_if_none_match_str;
01301
01302 #define HTTPTAG_IF_NONE_MATCH_REF(x) HTTPTAG_REF(if_none_match, x)
01303 SOFIAPUBVAR tag_typedef_t httptag_if_none_match_ref;
01304
01305 #define HTTPTAG_IF_NONE_MATCH_STR_REF(x) HTTPTAG_STR_REF(if_none_match, x)
01306 SOFIAPUBVAR tag_typedef_t httptag_if_none_match_str_ref;
01307
01308 #if SU_INLINE_TAG_CAST
01309 su_inline tag_value_t
01310 httptag_if_none_match_v(http_if_none_match_t const *v)
01311 { return (tag_value_t)v; }
01312 su_inline tag_value_t
01313 httptag_if_none_match_vr(http_if_none_match_t const **vp)
01314 { return (tag_value_t)vp; }
01315 #else
01316 #define httptag_if_none_match_v(v) (tag_value_t)(v)
01317 #define httptag_if_none_match_vr(vp) (tag_value_t)(vp)
01318 #endif
01319
01331 #define HTTPTAG_IF_RANGE(x) HTTPTAG(if_range, x)
01332
01333 SOFIAPUBVAR tag_typedef_t httptag_if_range;
01334
01350 #define HTTPTAG_IF_RANGE_STR(s) HTTPTAG_STR(if_range, s)
01351
01352 SOFIAPUBVAR tag_typedef_t httptag_if_range_str;
01353
01354 #define HTTPTAG_IF_RANGE_REF(x) HTTPTAG_REF(if_range, x)
01355 SOFIAPUBVAR tag_typedef_t httptag_if_range_ref;
01356
01357 #define HTTPTAG_IF_RANGE_STR_REF(x) HTTPTAG_STR_REF(if_range, x)
01358 SOFIAPUBVAR tag_typedef_t httptag_if_range_str_ref;
01359
01360 #if SU_INLINE_TAG_CAST
01361 su_inline tag_value_t
01362 httptag_if_range_v(http_if_range_t const *v)
01363 { return (tag_value_t)v; }
01364 su_inline tag_value_t
01365 httptag_if_range_vr(http_if_range_t const **vp)
01366 { return (tag_value_t)vp; }
01367 #else
01368 #define httptag_if_range_v(v) (tag_value_t)(v)
01369 #define httptag_if_range_vr(vp) (tag_value_t)(vp)
01370 #endif
01371
01383 #define HTTPTAG_IF_UNMODIFIED_SINCE(x) HTTPTAG(if_unmodified_since, x)
01384
01385 SOFIAPUBVAR tag_typedef_t httptag_if_unmodified_since;
01386
01402 #define HTTPTAG_IF_UNMODIFIED_SINCE_STR(s) HTTPTAG_STR(if_unmodified_since, s)
01403
01404 SOFIAPUBVAR tag_typedef_t httptag_if_unmodified_since_str;
01405
01406 #define HTTPTAG_IF_UNMODIFIED_SINCE_REF(x) HTTPTAG_REF(if_unmodified_since, x)
01407 SOFIAPUBVAR tag_typedef_t httptag_if_unmodified_since_ref;
01408
01409 #define HTTPTAG_IF_UNMODIFIED_SINCE_STR_REF(x) HTTPTAG_STR_REF(if_unmodified_since, x)
01410 SOFIAPUBVAR tag_typedef_t httptag_if_unmodified_since_str_ref;
01411
01412 #if SU_INLINE_TAG_CAST
01413 su_inline tag_value_t
01414 httptag_if_unmodified_since_v(http_if_unmodified_since_t const *v)
01415 { return (tag_value_t)v; }
01416 su_inline tag_value_t
01417 httptag_if_unmodified_since_vr(http_if_unmodified_since_t const **vp)
01418 { return (tag_value_t)vp; }
01419 #else
01420 #define httptag_if_unmodified_since_v(v) (tag_value_t)(v)
01421 #define httptag_if_unmodified_since_vr(vp) (tag_value_t)(vp)
01422 #endif
01423
01435 #define HTTPTAG_LAST_MODIFIED(x) HTTPTAG(last_modified, x)
01436
01437 SOFIAPUBVAR tag_typedef_t httptag_last_modified;
01438
01454 #define HTTPTAG_LAST_MODIFIED_STR(s) HTTPTAG_STR(last_modified, s)
01455
01456 SOFIAPUBVAR tag_typedef_t httptag_last_modified_str;
01457
01458 #define HTTPTAG_LAST_MODIFIED_REF(x) HTTPTAG_REF(last_modified, x)
01459 SOFIAPUBVAR tag_typedef_t httptag_last_modified_ref;
01460
01461 #define HTTPTAG_LAST_MODIFIED_STR_REF(x) HTTPTAG_STR_REF(last_modified, x)
01462 SOFIAPUBVAR tag_typedef_t httptag_last_modified_str_ref;
01463
01464 #if SU_INLINE_TAG_CAST
01465 su_inline tag_value_t
01466 httptag_last_modified_v(http_last_modified_t const *v)
01467 { return (tag_value_t)v; }
01468 su_inline tag_value_t
01469 httptag_last_modified_vr(http_last_modified_t const **vp)
01470 { return (tag_value_t)vp; }
01471 #else
01472 #define httptag_last_modified_v(v) (tag_value_t)(v)
01473 #define httptag_last_modified_vr(vp) (tag_value_t)(vp)
01474 #endif
01475
01487 #define HTTPTAG_LOCATION(x) HTTPTAG(location, x)
01488
01489 SOFIAPUBVAR tag_typedef_t httptag_location;
01490
01506 #define HTTPTAG_LOCATION_STR(s) HTTPTAG_STR(location, s)
01507
01508 SOFIAPUBVAR tag_typedef_t httptag_location_str;
01509
01510 #define HTTPTAG_LOCATION_REF(x) HTTPTAG_REF(location, x)
01511 SOFIAPUBVAR tag_typedef_t httptag_location_ref;
01512
01513 #define HTTPTAG_LOCATION_STR_REF(x) HTTPTAG_STR_REF(location, x)
01514 SOFIAPUBVAR tag_typedef_t httptag_location_str_ref;
01515
01516 #if SU_INLINE_TAG_CAST
01517 su_inline tag_value_t
01518 httptag_location_v(http_location_t const *v)
01519 { return (tag_value_t)v; }
01520 su_inline tag_value_t
01521 httptag_location_vr(http_location_t const **vp)
01522 { return (tag_value_t)vp; }
01523 #else
01524 #define httptag_location_v(v) (tag_value_t)(v)
01525 #define httptag_location_vr(vp) (tag_value_t)(vp)
01526 #endif
01527
01539 #define HTTPTAG_MAX_FORWARDS(x) HTTPTAG(max_forwards, x)
01540
01541 SOFIAPUBVAR tag_typedef_t httptag_max_forwards;
01542
01558 #define HTTPTAG_MAX_FORWARDS_STR(s) HTTPTAG_STR(max_forwards, s)
01559
01560 SOFIAPUBVAR tag_typedef_t httptag_max_forwards_str;
01561
01562 #define HTTPTAG_MAX_FORWARDS_REF(x) HTTPTAG_REF(max_forwards, x)
01563 SOFIAPUBVAR tag_typedef_t httptag_max_forwards_ref;
01564
01565 #define HTTPTAG_MAX_FORWARDS_STR_REF(x) HTTPTAG_STR_REF(max_forwards, x)
01566 SOFIAPUBVAR tag_typedef_t httptag_max_forwards_str_ref;
01567
01568 #if SU_INLINE_TAG_CAST
01569 su_inline tag_value_t
01570 httptag_max_forwards_v(http_max_forwards_t const *v)
01571 { return (tag_value_t)v; }
01572 su_inline tag_value_t
01573 httptag_max_forwards_vr(http_max_forwards_t const **vp)
01574 { return (tag_value_t)vp; }
01575 #else
01576 #define httptag_max_forwards_v(v) (tag_value_t)(v)
01577 #define httptag_max_forwards_vr(vp) (tag_value_t)(vp)
01578 #endif
01579
01591 #define HTTPTAG_PRAGMA(x) HTTPTAG(pragma, x)
01592
01593 SOFIAPUBVAR tag_typedef_t httptag_pragma;
01594
01610 #define HTTPTAG_PRAGMA_STR(s) HTTPTAG_STR(pragma, s)
01611
01612 SOFIAPUBVAR tag_typedef_t httptag_pragma_str;
01613
01614 #define HTTPTAG_PRAGMA_REF(x) HTTPTAG_REF(pragma, x)
01615 SOFIAPUBVAR tag_typedef_t httptag_pragma_ref;
01616
01617 #define HTTPTAG_PRAGMA_STR_REF(x) HTTPTAG_STR_REF(pragma, x)
01618 SOFIAPUBVAR tag_typedef_t httptag_pragma_str_ref;
01619
01620 #if SU_INLINE_TAG_CAST
01621 su_inline tag_value_t
01622 httptag_pragma_v(http_pragma_t const *v)
01623 { return (tag_value_t)v; }
01624 su_inline tag_value_t
01625 httptag_pragma_vr(http_pragma_t const **vp)
01626 { return (tag_value_t)vp; }
01627 #else
01628 #define httptag_pragma_v(v) (tag_value_t)(v)
01629 #define httptag_pragma_vr(vp) (tag_value_t)(vp)
01630 #endif
01631
01643 #define HTTPTAG_PROXY_AUTHENTICATE(x) HTTPTAG(proxy_authenticate, x)
01644
01645 SOFIAPUBVAR tag_typedef_t httptag_proxy_authenticate;
01646
01662 #define HTTPTAG_PROXY_AUTHENTICATE_STR(s) HTTPTAG_STR(proxy_authenticate, s)
01663
01664 SOFIAPUBVAR tag_typedef_t httptag_proxy_authenticate_str;
01665
01666 #define HTTPTAG_PROXY_AUTHENTICATE_REF(x) HTTPTAG_REF(proxy_authenticate, x)
01667 SOFIAPUBVAR tag_typedef_t httptag_proxy_authenticate_ref;
01668
01669 #define HTTPTAG_PROXY_AUTHENTICATE_STR_REF(x) HTTPTAG_STR_REF(proxy_authenticate, x)
01670 SOFIAPUBVAR tag_typedef_t httptag_proxy_authenticate_str_ref;
01671
01672 #if SU_INLINE_TAG_CAST
01673 su_inline tag_value_t
01674 httptag_proxy_authenticate_v(http_proxy_authenticate_t const *v)
01675 { return (tag_value_t)v; }
01676 su_inline tag_value_t
01677 httptag_proxy_authenticate_vr(http_proxy_authenticate_t const **vp)
01678 { return (tag_value_t)vp; }
01679 #else
01680 #define httptag_proxy_authenticate_v(v) (tag_value_t)(v)
01681 #define httptag_proxy_authenticate_vr(vp) (tag_value_t)(vp)
01682 #endif
01683
01695 #define HTTPTAG_PROXY_AUTHORIZATION(x) HTTPTAG(proxy_authorization, x)
01696
01697 SOFIAPUBVAR tag_typedef_t httptag_proxy_authorization;
01698
01714 #define HTTPTAG_PROXY_AUTHORIZATION_STR(s) HTTPTAG_STR(proxy_authorization, s)
01715
01716 SOFIAPUBVAR tag_typedef_t httptag_proxy_authorization_str;
01717
01718 #define HTTPTAG_PROXY_AUTHORIZATION_REF(x) HTTPTAG_REF(proxy_authorization, x)
01719 SOFIAPUBVAR tag_typedef_t httptag_proxy_authorization_ref;
01720
01721 #define HTTPTAG_PROXY_AUTHORIZATION_STR_REF(x) HTTPTAG_STR_REF(proxy_authorization, x)
01722 SOFIAPUBVAR tag_typedef_t httptag_proxy_authorization_str_ref;
01723
01724 #if SU_INLINE_TAG_CAST
01725 su_inline tag_value_t
01726 httptag_proxy_authorization_v(http_proxy_authorization_t const *v)
01727 { return (tag_value_t)v; }
01728 su_inline tag_value_t
01729 httptag_proxy_authorization_vr(http_proxy_authorization_t const **vp)
01730 { return (tag_value_t)vp; }
01731 #else
01732 #define httptag_proxy_authorization_v(v) (tag_value_t)(v)
01733 #define httptag_proxy_authorization_vr(vp) (tag_value_t)(vp)
01734 #endif
01735
01747 #define HTTPTAG_RANGE(x) HTTPTAG(range, x)
01748
01749 SOFIAPUBVAR tag_typedef_t httptag_range;
01750
01766 #define HTTPTAG_RANGE_STR(s) HTTPTAG_STR(range, s)
01767
01768 SOFIAPUBVAR tag_typedef_t httptag_range_str;
01769
01770 #define HTTPTAG_RANGE_REF(x) HTTPTAG_REF(range, x)
01771 SOFIAPUBVAR tag_typedef_t httptag_range_ref;
01772
01773 #define HTTPTAG_RANGE_STR_REF(x) HTTPTAG_STR_REF(range, x)
01774 SOFIAPUBVAR tag_typedef_t httptag_range_str_ref;
01775
01776 #if SU_INLINE_TAG_CAST
01777 su_inline tag_value_t
01778 httptag_range_v(http_range_t const *v)
01779 { return (tag_value_t)v; }
01780 su_inline tag_value_t
01781 httptag_range_vr(http_range_t const **vp)
01782 { return (tag_value_t)vp; }
01783 #else
01784 #define httptag_range_v(v) (tag_value_t)(v)
01785 #define httptag_range_vr(vp) (tag_value_t)(vp)
01786 #endif
01787
01799 #define HTTPTAG_REFERER(x) HTTPTAG(referer, x)
01800
01801 SOFIAPUBVAR tag_typedef_t httptag_referer;
01802
01818 #define HTTPTAG_REFERER_STR(s) HTTPTAG_STR(referer, s)
01819
01820 SOFIAPUBVAR tag_typedef_t httptag_referer_str;
01821
01822 #define HTTPTAG_REFERER_REF(x) HTTPTAG_REF(referer, x)
01823 SOFIAPUBVAR tag_typedef_t httptag_referer_ref;
01824
01825 #define HTTPTAG_REFERER_STR_REF(x) HTTPTAG_STR_REF(referer, x)
01826 SOFIAPUBVAR tag_typedef_t httptag_referer_str_ref;
01827
01828 #if SU_INLINE_TAG_CAST
01829 su_inline tag_value_t
01830 httptag_referer_v(http_referer_t const *v)
01831 { return (tag_value_t)v; }
01832 su_inline tag_value_t
01833 httptag_referer_vr(http_referer_t const **vp)
01834 { return (tag_value_t)vp; }
01835 #else
01836 #define httptag_referer_v(v) (tag_value_t)(v)
01837 #define httptag_referer_vr(vp) (tag_value_t)(vp)
01838 #endif
01839
01851 #define HTTPTAG_RETRY_AFTER(x) HTTPTAG(retry_after, x)
01852
01853 SOFIAPUBVAR tag_typedef_t httptag_retry_after;
01854
01870 #define HTTPTAG_RETRY_AFTER_STR(s) HTTPTAG_STR(retry_after, s)
01871
01872 SOFIAPUBVAR tag_typedef_t httptag_retry_after_str;
01873
01874 #define HTTPTAG_RETRY_AFTER_REF(x) HTTPTAG_REF(retry_after, x)
01875 SOFIAPUBVAR tag_typedef_t httptag_retry_after_ref;
01876
01877 #define HTTPTAG_RETRY_AFTER_STR_REF(x) HTTPTAG_STR_REF(retry_after, x)
01878 SOFIAPUBVAR tag_typedef_t httptag_retry_after_str_ref;
01879
01880 #if SU_INLINE_TAG_CAST
01881 su_inline tag_value_t
01882 httptag_retry_after_v(http_retry_after_t const *v)
01883 { return (tag_value_t)v; }
01884 su_inline tag_value_t
01885 httptag_retry_after_vr(http_retry_after_t const **vp)
01886 { return (tag_value_t)vp; }
01887 #else
01888 #define httptag_retry_after_v(v) (tag_value_t)(v)
01889 #define httptag_retry_after_vr(vp) (tag_value_t)(vp)
01890 #endif
01891
01903 #define HTTPTAG_SERVER(x) HTTPTAG(server, x)
01904
01905 SOFIAPUBVAR tag_typedef_t httptag_server;
01906
01922 #define HTTPTAG_SERVER_STR(s) HTTPTAG_STR(server, s)
01923
01924 SOFIAPUBVAR tag_typedef_t httptag_server_str;
01925
01926 #define HTTPTAG_SERVER_REF(x) HTTPTAG_REF(server, x)
01927 SOFIAPUBVAR tag_typedef_t httptag_server_ref;
01928
01929 #define HTTPTAG_SERVER_STR_REF(x) HTTPTAG_STR_REF(server, x)
01930 SOFIAPUBVAR tag_typedef_t httptag_server_str_ref;
01931
01932 #if SU_INLINE_TAG_CAST
01933 su_inline tag_value_t
01934 httptag_server_v(http_server_t const *v)
01935 { return (tag_value_t)v; }
01936 su_inline tag_value_t
01937 httptag_server_vr(http_server_t const **vp)
01938 { return (tag_value_t)vp; }
01939 #else
01940 #define httptag_server_v(v) (tag_value_t)(v)
01941 #define httptag_server_vr(vp) (tag_value_t)(vp)
01942 #endif
01943
01955 #define HTTPTAG_TE(x) HTTPTAG(te, x)
01956
01957 SOFIAPUBVAR tag_typedef_t httptag_te;
01958
01974 #define HTTPTAG_TE_STR(s) HTTPTAG_STR(te, s)
01975
01976 SOFIAPUBVAR tag_typedef_t httptag_te_str;
01977
01978 #define HTTPTAG_TE_REF(x) HTTPTAG_REF(te, x)
01979 SOFIAPUBVAR tag_typedef_t httptag_te_ref;
01980
01981 #define HTTPTAG_TE_STR_REF(x) HTTPTAG_STR_REF(te, x)
01982 SOFIAPUBVAR tag_typedef_t httptag_te_str_ref;
01983
01984 #if SU_INLINE_TAG_CAST
01985 su_inline tag_value_t
01986 httptag_te_v(http_te_t const *v)
01987 { return (tag_value_t)v; }
01988 su_inline tag_value_t
01989 httptag_te_vr(http_te_t const **vp)
01990 { return (tag_value_t)vp; }
01991 #else
01992 #define httptag_te_v(v) (tag_value_t)(v)
01993 #define httptag_te_vr(vp) (tag_value_t)(vp)
01994 #endif
01995
02007 #define HTTPTAG_TRAILER(x) HTTPTAG(trailer, x)
02008
02009 SOFIAPUBVAR tag_typedef_t httptag_trailer;
02010
02026 #define HTTPTAG_TRAILER_STR(s) HTTPTAG_STR(trailer, s)
02027
02028 SOFIAPUBVAR tag_typedef_t httptag_trailer_str;
02029
02030 #define HTTPTAG_TRAILER_REF(x) HTTPTAG_REF(trailer, x)
02031 SOFIAPUBVAR tag_typedef_t httptag_trailer_ref;
02032
02033 #define HTTPTAG_TRAILER_STR_REF(x) HTTPTAG_STR_REF(trailer, x)
02034 SOFIAPUBVAR tag_typedef_t httptag_trailer_str_ref;
02035
02036 #if SU_INLINE_TAG_CAST
02037 su_inline tag_value_t
02038 httptag_trailer_v(http_trailer_t const *v)
02039 { return (tag_value_t)v; }
02040 su_inline tag_value_t
02041 httptag_trailer_vr(http_trailer_t const **vp)
02042 { return (tag_value_t)vp; }
02043 #else
02044 #define httptag_trailer_v(v) (tag_value_t)(v)
02045 #define httptag_trailer_vr(vp) (tag_value_t)(vp)
02046 #endif
02047
02059 #define HTTPTAG_TRANSFER_ENCODING(x) HTTPTAG(transfer_encoding, x)
02060
02061 SOFIAPUBVAR tag_typedef_t httptag_transfer_encoding;
02062
02078 #define HTTPTAG_TRANSFER_ENCODING_STR(s) HTTPTAG_STR(transfer_encoding, s)
02079
02080 SOFIAPUBVAR tag_typedef_t httptag_transfer_encoding_str;
02081
02082 #define HTTPTAG_TRANSFER_ENCODING_REF(x) HTTPTAG_REF(transfer_encoding, x)
02083 SOFIAPUBVAR tag_typedef_t httptag_transfer_encoding_ref;
02084
02085 #define HTTPTAG_TRANSFER_ENCODING_STR_REF(x) HTTPTAG_STR_REF(transfer_encoding, x)
02086 SOFIAPUBVAR tag_typedef_t httptag_transfer_encoding_str_ref;
02087
02088 #if SU_INLINE_TAG_CAST
02089 su_inline tag_value_t
02090 httptag_transfer_encoding_v(http_transfer_encoding_t const *v)
02091 { return (tag_value_t)v; }
02092 su_inline tag_value_t
02093 httptag_transfer_encoding_vr(http_transfer_encoding_t const **vp)
02094 { return (tag_value_t)vp; }
02095 #else
02096 #define httptag_transfer_encoding_v(v) (tag_value_t)(v)
02097 #define httptag_transfer_encoding_vr(vp) (tag_value_t)(vp)
02098 #endif
02099
02111 #define HTTPTAG_UPGRADE(x) HTTPTAG(upgrade, x)
02112
02113 SOFIAPUBVAR tag_typedef_t httptag_upgrade;
02114
02130 #define HTTPTAG_UPGRADE_STR(s) HTTPTAG_STR(upgrade, s)
02131
02132 SOFIAPUBVAR tag_typedef_t httptag_upgrade_str;
02133
02134 #define HTTPTAG_UPGRADE_REF(x) HTTPTAG_REF(upgrade, x)
02135 SOFIAPUBVAR tag_typedef_t httptag_upgrade_ref;
02136
02137 #define HTTPTAG_UPGRADE_STR_REF(x) HTTPTAG_STR_REF(upgrade, x)
02138 SOFIAPUBVAR tag_typedef_t httptag_upgrade_str_ref;
02139
02140 #if SU_INLINE_TAG_CAST
02141 su_inline tag_value_t
02142 httptag_upgrade_v(http_upgrade_t const *v)
02143 { return (tag_value_t)v; }
02144 su_inline tag_value_t
02145 httptag_upgrade_vr(http_upgrade_t const **vp)
02146 { return (tag_value_t)vp; }
02147 #else
02148 #define httptag_upgrade_v(v) (tag_value_t)(v)
02149 #define httptag_upgrade_vr(vp) (tag_value_t)(vp)
02150 #endif
02151
02163 #define HTTPTAG_USER_AGENT(x) HTTPTAG(user_agent, x)
02164
02165 SOFIAPUBVAR tag_typedef_t httptag_user_agent;
02166
02182 #define HTTPTAG_USER_AGENT_STR(s) HTTPTAG_STR(user_agent, s)
02183
02184 SOFIAPUBVAR tag_typedef_t httptag_user_agent_str;
02185
02186 #define HTTPTAG_USER_AGENT_REF(x) HTTPTAG_REF(user_agent, x)
02187 SOFIAPUBVAR tag_typedef_t httptag_user_agent_ref;
02188
02189 #define HTTPTAG_USER_AGENT_STR_REF(x) HTTPTAG_STR_REF(user_agent, x)
02190 SOFIAPUBVAR tag_typedef_t httptag_user_agent_str_ref;
02191
02192 #if SU_INLINE_TAG_CAST
02193 su_inline tag_value_t
02194 httptag_user_agent_v(http_user_agent_t const *v)
02195 { return (tag_value_t)v; }
02196 su_inline tag_value_t
02197 httptag_user_agent_vr(http_user_agent_t const **vp)
02198 { return (tag_value_t)vp; }
02199 #else
02200 #define httptag_user_agent_v(v) (tag_value_t)(v)
02201 #define httptag_user_agent_vr(vp) (tag_value_t)(vp)
02202 #endif
02203
02215 #define HTTPTAG_VARY(x) HTTPTAG(vary, x)
02216
02217 SOFIAPUBVAR tag_typedef_t httptag_vary;
02218
02234 #define HTTPTAG_VARY_STR(s) HTTPTAG_STR(vary, s)
02235
02236 SOFIAPUBVAR tag_typedef_t httptag_vary_str;
02237
02238 #define HTTPTAG_VARY_REF(x) HTTPTAG_REF(vary, x)
02239 SOFIAPUBVAR tag_typedef_t httptag_vary_ref;
02240
02241 #define HTTPTAG_VARY_STR_REF(x) HTTPTAG_STR_REF(vary, x)
02242 SOFIAPUBVAR tag_typedef_t httptag_vary_str_ref;
02243
02244 #if SU_INLINE_TAG_CAST
02245 su_inline tag_value_t
02246 httptag_vary_v(http_vary_t const *v)
02247 { return (tag_value_t)v; }
02248 su_inline tag_value_t
02249 httptag_vary_vr(http_vary_t const **vp)
02250 { return (tag_value_t)vp; }
02251 #else
02252 #define httptag_vary_v(v) (tag_value_t)(v)
02253 #define httptag_vary_vr(vp) (tag_value_t)(vp)
02254 #endif
02255
02267 #define HTTPTAG_VIA(x) HTTPTAG(via, x)
02268
02269 SOFIAPUBVAR tag_typedef_t httptag_via;
02270
02286 #define HTTPTAG_VIA_STR(s) HTTPTAG_STR(via, s)
02287
02288 SOFIAPUBVAR tag_typedef_t httptag_via_str;
02289
02290 #define HTTPTAG_VIA_REF(x) HTTPTAG_REF(via, x)
02291 SOFIAPUBVAR tag_typedef_t httptag_via_ref;
02292
02293 #define HTTPTAG_VIA_STR_REF(x) HTTPTAG_STR_REF(via, x)
02294 SOFIAPUBVAR tag_typedef_t httptag_via_str_ref;
02295
02296 #if SU_INLINE_TAG_CAST
02297 su_inline tag_value_t
02298 httptag_via_v(http_via_t const *v)
02299 { return (tag_value_t)v; }
02300 su_inline tag_value_t
02301 httptag_via_vr(http_via_t const **vp)
02302 { return (tag_value_t)vp; }
02303 #else
02304 #define httptag_via_v(v) (tag_value_t)(v)
02305 #define httptag_via_vr(vp) (tag_value_t)(vp)
02306 #endif
02307
02319 #define HTTPTAG_WARNING(x) HTTPTAG(warning, x)
02320
02321 SOFIAPUBVAR tag_typedef_t httptag_warning;
02322
02338 #define HTTPTAG_WARNING_STR(s) HTTPTAG_STR(warning, s)
02339
02340 SOFIAPUBVAR tag_typedef_t httptag_warning_str;
02341
02342 #define HTTPTAG_WARNING_REF(x) HTTPTAG_REF(warning, x)
02343 SOFIAPUBVAR tag_typedef_t httptag_warning_ref;
02344
02345 #define HTTPTAG_WARNING_STR_REF(x) HTTPTAG_STR_REF(warning, x)
02346 SOFIAPUBVAR tag_typedef_t httptag_warning_str_ref;
02347
02348 #if SU_INLINE_TAG_CAST
02349 su_inline tag_value_t
02350 httptag_warning_v(http_warning_t const *v)
02351 { return (tag_value_t)v; }
02352 su_inline tag_value_t
02353 httptag_warning_vr(http_warning_t const **vp)
02354 { return (tag_value_t)vp; }
02355 #else
02356 #define httptag_warning_v(v) (tag_value_t)(v)
02357 #define httptag_warning_vr(vp) (tag_value_t)(vp)
02358 #endif
02359
02371 #define HTTPTAG_WWW_AUTHENTICATE(x) HTTPTAG(www_authenticate, x)
02372
02373 SOFIAPUBVAR tag_typedef_t httptag_www_authenticate;
02374
02390 #define HTTPTAG_WWW_AUTHENTICATE_STR(s) HTTPTAG_STR(www_authenticate, s)
02391
02392 SOFIAPUBVAR tag_typedef_t httptag_www_authenticate_str;
02393
02394 #define HTTPTAG_WWW_AUTHENTICATE_REF(x) HTTPTAG_REF(www_authenticate, x)
02395 SOFIAPUBVAR tag_typedef_t httptag_www_authenticate_ref;
02396
02397 #define HTTPTAG_WWW_AUTHENTICATE_STR_REF(x) HTTPTAG_STR_REF(www_authenticate, x)
02398 SOFIAPUBVAR tag_typedef_t httptag_www_authenticate_str_ref;
02399
02400 #if SU_INLINE_TAG_CAST
02401 su_inline tag_value_t
02402 httptag_www_authenticate_v(http_www_authenticate_t const *v)
02403 { return (tag_value_t)v; }
02404 su_inline tag_value_t
02405 httptag_www_authenticate_vr(http_www_authenticate_t const **vp)
02406 { return (tag_value_t)vp; }
02407 #else
02408 #define httptag_www_authenticate_v(v) (tag_value_t)(v)
02409 #define httptag_www_authenticate_vr(vp) (tag_value_t)(vp)
02410 #endif
02411
02423 #define HTTPTAG_PROXY_CONNECTION(x) HTTPTAG(proxy_connection, x)
02424
02425 SOFIAPUBVAR tag_typedef_t httptag_proxy_connection;
02426
02442 #define HTTPTAG_PROXY_CONNECTION_STR(s) HTTPTAG_STR(proxy_connection, s)
02443
02444 SOFIAPUBVAR tag_typedef_t httptag_proxy_connection_str;
02445
02446 #define HTTPTAG_PROXY_CONNECTION_REF(x) HTTPTAG_REF(proxy_connection, x)
02447 SOFIAPUBVAR tag_typedef_t httptag_proxy_connection_ref;
02448
02449 #define HTTPTAG_PROXY_CONNECTION_STR_REF(x) HTTPTAG_STR_REF(proxy_connection, x)
02450 SOFIAPUBVAR tag_typedef_t httptag_proxy_connection_str_ref;
02451
02452 #if SU_INLINE_TAG_CAST
02453 su_inline tag_value_t
02454 httptag_proxy_connection_v(http_proxy_connection_t const *v)
02455 { return (tag_value_t)v; }
02456 su_inline tag_value_t
02457 httptag_proxy_connection_vr(http_proxy_connection_t const **vp)
02458 { return (tag_value_t)vp; }
02459 #else
02460 #define httptag_proxy_connection_v(v) (tag_value_t)(v)
02461 #define httptag_proxy_connection_vr(vp) (tag_value_t)(vp)
02462 #endif
02463
02475 #define HTTPTAG_SET_COOKIE(x) HTTPTAG(set_cookie, x)
02476
02477 SOFIAPUBVAR tag_typedef_t httptag_set_cookie;
02478
02494 #define HTTPTAG_SET_COOKIE_STR(s) HTTPTAG_STR(set_cookie, s)
02495
02496 SOFIAPUBVAR tag_typedef_t httptag_set_cookie_str;
02497
02498 #define HTTPTAG_SET_COOKIE_REF(x) HTTPTAG_REF(set_cookie, x)
02499 SOFIAPUBVAR tag_typedef_t httptag_set_cookie_ref;
02500
02501 #define HTTPTAG_SET_COOKIE_STR_REF(x) HTTPTAG_STR_REF(set_cookie, x)
02502 SOFIAPUBVAR tag_typedef_t httptag_set_cookie_str_ref;
02503
02504 #if SU_INLINE_TAG_CAST
02505 su_inline tag_value_t
02506 httptag_set_cookie_v(http_set_cookie_t const *v)
02507 { return (tag_value_t)v; }
02508 su_inline tag_value_t
02509 httptag_set_cookie_vr(http_set_cookie_t const **vp)
02510 { return (tag_value_t)vp; }
02511 #else
02512 #define httptag_set_cookie_v(v) (tag_value_t)(v)
02513 #define httptag_set_cookie_vr(vp) (tag_value_t)(vp)
02514 #endif
02515
02527 #define HTTPTAG_COOKIE(x) HTTPTAG(cookie, x)
02528
02529 SOFIAPUBVAR tag_typedef_t httptag_cookie;
02530
02546 #define HTTPTAG_COOKIE_STR(s) HTTPTAG_STR(cookie, s)
02547
02548 SOFIAPUBVAR tag_typedef_t httptag_cookie_str;
02549
02550 #define HTTPTAG_COOKIE_REF(x) HTTPTAG_REF(cookie, x)
02551 SOFIAPUBVAR tag_typedef_t httptag_cookie_ref;
02552
02553 #define HTTPTAG_COOKIE_STR_REF(x) HTTPTAG_STR_REF(cookie, x)
02554 SOFIAPUBVAR tag_typedef_t httptag_cookie_str_ref;
02555
02556 #if SU_INLINE_TAG_CAST
02557 su_inline tag_value_t
02558 httptag_cookie_v(http_cookie_t const *v)
02559 { return (tag_value_t)v; }
02560 su_inline tag_value_t
02561 httptag_cookie_vr(http_cookie_t const **vp)
02562 { return (tag_value_t)vp; }
02563 #else
02564 #define httptag_cookie_v(v) (tag_value_t)(v)
02565 #define httptag_cookie_vr(vp) (tag_value_t)(vp)
02566 #endif
02567
02579 #define HTTPTAG_MIME_VERSION(x) HTTPTAG(mime_version, x)
02580
02581 SOFIAPUBVAR tag_typedef_t httptag_mime_version;
02582
02598 #define HTTPTAG_MIME_VERSION_STR(s) HTTPTAG_STR(mime_version, s)
02599
02600 SOFIAPUBVAR tag_typedef_t httptag_mime_version_str;
02601
02602 #define HTTPTAG_MIME_VERSION_REF(x) HTTPTAG_REF(mime_version, x)
02603 SOFIAPUBVAR tag_typedef_t httptag_mime_version_ref;
02604
02605 #define HTTPTAG_MIME_VERSION_STR_REF(x) HTTPTAG_STR_REF(mime_version, x)
02606 SOFIAPUBVAR tag_typedef_t httptag_mime_version_str_ref;
02607
02608 #if SU_INLINE_TAG_CAST
02609 su_inline tag_value_t
02610 httptag_mime_version_v(http_mime_version_t const *v)
02611 { return (tag_value_t)v; }
02612 su_inline tag_value_t
02613 httptag_mime_version_vr(http_mime_version_t const **vp)
02614 { return (tag_value_t)vp; }
02615 #else
02616 #define httptag_mime_version_v(v) (tag_value_t)(v)
02617 #define httptag_mime_version_vr(vp) (tag_value_t)(vp)
02618 #endif
02619
02631 #define HTTPTAG_CONTENT_ENCODING(x) HTTPTAG(content_encoding, x)
02632
02633 SOFIAPUBVAR tag_typedef_t httptag_content_encoding;
02634
02650 #define HTTPTAG_CONTENT_ENCODING_STR(s) HTTPTAG_STR(content_encoding, s)
02651
02652 SOFIAPUBVAR tag_typedef_t httptag_content_encoding_str;
02653
02654 #define HTTPTAG_CONTENT_ENCODING_REF(x) HTTPTAG_REF(content_encoding, x)
02655 SOFIAPUBVAR tag_typedef_t httptag_content_encoding_ref;
02656
02657 #define HTTPTAG_CONTENT_ENCODING_STR_REF(x) HTTPTAG_STR_REF(content_encoding, x)
02658 SOFIAPUBVAR tag_typedef_t httptag_content_encoding_str_ref;
02659
02660 #if SU_INLINE_TAG_CAST
02661 su_inline tag_value_t
02662 httptag_content_encoding_v(http_content_encoding_t const *v)
02663 { return (tag_value_t)v; }
02664 su_inline tag_value_t
02665 httptag_content_encoding_vr(http_content_encoding_t const **vp)
02666 { return (tag_value_t)vp; }
02667 #else
02668 #define httptag_content_encoding_v(v) (tag_value_t)(v)
02669 #define httptag_content_encoding_vr(vp) (tag_value_t)(vp)
02670 #endif
02671
02683 #define HTTPTAG_CONTENT_LANGUAGE(x) HTTPTAG(content_language, x)
02684
02685 SOFIAPUBVAR tag_typedef_t httptag_content_language;
02686
02702 #define HTTPTAG_CONTENT_LANGUAGE_STR(s) HTTPTAG_STR(content_language, s)
02703
02704 SOFIAPUBVAR tag_typedef_t httptag_content_language_str;
02705
02706 #define HTTPTAG_CONTENT_LANGUAGE_REF(x) HTTPTAG_REF(content_language, x)
02707 SOFIAPUBVAR tag_typedef_t httptag_content_language_ref;
02708
02709 #define HTTPTAG_CONTENT_LANGUAGE_STR_REF(x) HTTPTAG_STR_REF(content_language, x)
02710 SOFIAPUBVAR tag_typedef_t httptag_content_language_str_ref;
02711
02712 #if SU_INLINE_TAG_CAST
02713 su_inline tag_value_t
02714 httptag_content_language_v(http_content_language_t const *v)
02715 { return (tag_value_t)v; }
02716 su_inline tag_value_t
02717 httptag_content_language_vr(http_content_language_t const **vp)
02718 { return (tag_value_t)vp; }
02719 #else
02720 #define httptag_content_language_v(v) (tag_value_t)(v)
02721 #define httptag_content_language_vr(vp) (tag_value_t)(vp)
02722 #endif
02723
02735 #define HTTPTAG_CONTENT_LENGTH(x) HTTPTAG(content_length, x)
02736
02737 SOFIAPUBVAR tag_typedef_t httptag_content_length;
02738
02754 #define HTTPTAG_CONTENT_LENGTH_STR(s) HTTPTAG_STR(content_length, s)
02755
02756 SOFIAPUBVAR tag_typedef_t httptag_content_length_str;
02757
02758 #define HTTPTAG_CONTENT_LENGTH_REF(x) HTTPTAG_REF(content_length, x)
02759 SOFIAPUBVAR tag_typedef_t httptag_content_length_ref;
02760
02761 #define HTTPTAG_CONTENT_LENGTH_STR_REF(x) HTTPTAG_STR_REF(content_length, x)
02762 SOFIAPUBVAR tag_typedef_t httptag_content_length_str_ref;
02763
02764 #if SU_INLINE_TAG_CAST
02765 su_inline tag_value_t
02766 httptag_content_length_v(http_content_length_t const *v)
02767 { return (tag_value_t)v; }
02768 su_inline tag_value_t
02769 httptag_content_length_vr(http_content_length_t const **vp)
02770 { return (tag_value_t)vp; }
02771 #else
02772 #define httptag_content_length_v(v) (tag_value_t)(v)
02773 #define httptag_content_length_vr(vp) (tag_value_t)(vp)
02774 #endif
02775
02787 #define HTTPTAG_CONTENT_LOCATION(x) HTTPTAG(content_location, x)
02788
02789 SOFIAPUBVAR tag_typedef_t httptag_content_location;
02790
02806 #define HTTPTAG_CONTENT_LOCATION_STR(s) HTTPTAG_STR(content_location, s)
02807
02808 SOFIAPUBVAR tag_typedef_t httptag_content_location_str;
02809
02810 #define HTTPTAG_CONTENT_LOCATION_REF(x) HTTPTAG_REF(content_location, x)
02811 SOFIAPUBVAR tag_typedef_t httptag_content_location_ref;
02812
02813 #define HTTPTAG_CONTENT_LOCATION_STR_REF(x) HTTPTAG_STR_REF(content_location, x)
02814 SOFIAPUBVAR tag_typedef_t httptag_content_location_str_ref;
02815
02816 #if SU_INLINE_TAG_CAST
02817 su_inline tag_value_t
02818 httptag_content_location_v(http_content_location_t const *v)
02819 { return (tag_value_t)v; }
02820 su_inline tag_value_t
02821 httptag_content_location_vr(http_content_location_t const **vp)
02822 { return (tag_value_t)vp; }
02823 #else
02824 #define httptag_content_location_v(v) (tag_value_t)(v)
02825 #define httptag_content_location_vr(vp) (tag_value_t)(vp)
02826 #endif
02827
02839 #define HTTPTAG_CONTENT_MD5(x) HTTPTAG(content_md5, x)
02840
02841 SOFIAPUBVAR tag_typedef_t httptag_content_md5;
02842
02858 #define HTTPTAG_CONTENT_MD5_STR(s) HTTPTAG_STR(content_md5, s)
02859
02860 SOFIAPUBVAR tag_typedef_t httptag_content_md5_str;
02861
02862 #define HTTPTAG_CONTENT_MD5_REF(x) HTTPTAG_REF(content_md5, x)
02863 SOFIAPUBVAR tag_typedef_t httptag_content_md5_ref;
02864
02865 #define HTTPTAG_CONTENT_MD5_STR_REF(x) HTTPTAG_STR_REF(content_md5, x)
02866 SOFIAPUBVAR tag_typedef_t httptag_content_md5_str_ref;
02867
02868 #if SU_INLINE_TAG_CAST
02869 su_inline tag_value_t
02870 httptag_content_md5_v(http_content_md5_t const *v)
02871 { return (tag_value_t)v; }
02872 su_inline tag_value_t
02873 httptag_content_md5_vr(http_content_md5_t const **vp)
02874 { return (tag_value_t)vp; }
02875 #else
02876 #define httptag_content_md5_v(v) (tag_value_t)(v)
02877 #define httptag_content_md5_vr(vp) (tag_value_t)(vp)
02878 #endif
02879
02891 #define HTTPTAG_CONTENT_RANGE(x) HTTPTAG(content_range, x)
02892
02893 SOFIAPUBVAR tag_typedef_t httptag_content_range;
02894
02910 #define HTTPTAG_CONTENT_RANGE_STR(s) HTTPTAG_STR(content_range, s)
02911
02912 SOFIAPUBVAR tag_typedef_t httptag_content_range_str;
02913
02914 #define HTTPTAG_CONTENT_RANGE_REF(x) HTTPTAG_REF(content_range, x)
02915 SOFIAPUBVAR tag_typedef_t httptag_content_range_ref;
02916
02917 #define HTTPTAG_CONTENT_RANGE_STR_REF(x) HTTPTAG_STR_REF(content_range, x)
02918 SOFIAPUBVAR tag_typedef_t httptag_content_range_str_ref;
02919
02920 #if SU_INLINE_TAG_CAST
02921 su_inline tag_value_t
02922 httptag_content_range_v(http_content_range_t const *v)
02923 { return (tag_value_t)v; }
02924 su_inline tag_value_t
02925 httptag_content_range_vr(http_content_range_t const **vp)
02926 { return (tag_value_t)vp; }
02927 #else
02928 #define httptag_content_range_v(v) (tag_value_t)(v)
02929 #define httptag_content_range_vr(vp) (tag_value_t)(vp)
02930 #endif
02931
02943 #define HTTPTAG_CONTENT_TYPE(x) HTTPTAG(content_type, x)
02944
02945 SOFIAPUBVAR tag_typedef_t httptag_content_type;
02946
02962 #define HTTPTAG_CONTENT_TYPE_STR(s) HTTPTAG_STR(content_type, s)
02963
02964 SOFIAPUBVAR tag_typedef_t httptag_content_type_str;
02965
02966 #define HTTPTAG_CONTENT_TYPE_REF(x) HTTPTAG_REF(content_type, x)
02967 SOFIAPUBVAR tag_typedef_t httptag_content_type_ref;
02968
02969 #define HTTPTAG_CONTENT_TYPE_STR_REF(x) HTTPTAG_STR_REF(content_type, x)
02970 SOFIAPUBVAR tag_typedef_t httptag_content_type_str_ref;
02971
02972 #if SU_INLINE_TAG_CAST
02973 su_inline tag_value_t
02974 httptag_content_type_v(http_content_type_t const *v)
02975 { return (tag_value_t)v; }
02976 su_inline tag_value_t
02977 httptag_content_type_vr(http_content_type_t const **vp)
02978 { return (tag_value_t)vp; }
02979 #else
02980 #define httptag_content_type_v(v) (tag_value_t)(v)
02981 #define httptag_content_type_vr(vp) (tag_value_t)(vp)
02982 #endif
02983
02995 #define HTTPTAG_UNKNOWN(x) HTTPTAG(unknown, x)
02996
02997 SOFIAPUBVAR tag_typedef_t httptag_unknown;
02998
03014 #define HTTPTAG_UNKNOWN_STR(s) HTTPTAG_STR(unknown, s)
03015
03016 SOFIAPUBVAR tag_typedef_t httptag_unknown_str;
03017
03018 #define HTTPTAG_UNKNOWN_REF(x) HTTPTAG_REF(unknown, x)
03019 SOFIAPUBVAR tag_typedef_t httptag_unknown_ref;
03020
03021 #define HTTPTAG_UNKNOWN_STR_REF(x) HTTPTAG_STR_REF(unknown, x)
03022 SOFIAPUBVAR tag_typedef_t httptag_unknown_str_ref;
03023
03024 #if SU_INLINE_TAG_CAST
03025 su_inline tag_value_t
03026 httptag_unknown_v(http_unknown_t const *v)
03027 { return (tag_value_t)v; }
03028 su_inline tag_value_t
03029 httptag_unknown_vr(http_unknown_t const **vp)
03030 { return (tag_value_t)vp; }
03031 #else
03032 #define httptag_unknown_v(v) (tag_value_t)(v)
03033 #define httptag_unknown_vr(vp) (tag_value_t)(vp)
03034 #endif
03035
03047 #define HTTPTAG_ERROR(x) HTTPTAG(error, x)
03048
03049 SOFIAPUBVAR tag_typedef_t httptag_error;
03050
03066 #define HTTPTAG_ERROR_STR(s) HTTPTAG_STR(error, s)
03067
03068 SOFIAPUBVAR tag_typedef_t httptag_error_str;
03069
03070 #define HTTPTAG_ERROR_REF(x) HTTPTAG_REF(error, x)
03071 SOFIAPUBVAR tag_typedef_t httptag_error_ref;
03072
03073 #define HTTPTAG_ERROR_STR_REF(x) HTTPTAG_STR_REF(error, x)
03074 SOFIAPUBVAR tag_typedef_t httptag_error_str_ref;
03075
03076 #if SU_INLINE_TAG_CAST
03077 su_inline tag_value_t
03078 httptag_error_v(http_error_t const *v)
03079 { return (tag_value_t)v; }
03080 su_inline tag_value_t
03081 httptag_error_vr(http_error_t const **vp)
03082 { return (tag_value_t)vp; }
03083 #else
03084 #define httptag_error_v(v) (tag_value_t)(v)
03085 #define httptag_error_vr(vp) (tag_value_t)(vp)
03086 #endif
03087
03099 #define HTTPTAG_SEPARATOR(x) HTTPTAG(separator, x)
03100
03101 SOFIAPUBVAR tag_typedef_t httptag_separator;
03102
03118 #define HTTPTAG_SEPARATOR_STR(s) HTTPTAG_STR(separator, s)
03119
03120 SOFIAPUBVAR tag_typedef_t httptag_separator_str;
03121
03122 #define HTTPTAG_SEPARATOR_REF(x) HTTPTAG_REF(separator, x)
03123 SOFIAPUBVAR tag_typedef_t httptag_separator_ref;
03124
03125 #define HTTPTAG_SEPARATOR_STR_REF(x) HTTPTAG_STR_REF(separator, x)
03126 SOFIAPUBVAR tag_typedef_t httptag_separator_str_ref;
03127
03128 #if SU_INLINE_TAG_CAST
03129 su_inline tag_value_t
03130 httptag_separator_v(http_separator_t const *v)
03131 { return (tag_value_t)v; }
03132 su_inline tag_value_t
03133 httptag_separator_vr(http_separator_t const **vp)
03134 { return (tag_value_t)vp; }
03135 #else
03136 #define httptag_separator_v(v) (tag_value_t)(v)
03137 #define httptag_separator_vr(vp) (tag_value_t)(vp)
03138 #endif
03139
03151 #define HTTPTAG_PAYLOAD(x) HTTPTAG(payload, x)
03152
03153 SOFIAPUBVAR tag_typedef_t httptag_payload;
03154
03170 #define HTTPTAG_PAYLOAD_STR(s) HTTPTAG_STR(payload, s)
03171
03172 SOFIAPUBVAR tag_typedef_t httptag_payload_str;
03173
03174 #define HTTPTAG_PAYLOAD_REF(x) HTTPTAG_REF(payload, x)
03175 SOFIAPUBVAR tag_typedef_t httptag_payload_ref;
03176
03177 #define HTTPTAG_PAYLOAD_STR_REF(x) HTTPTAG_STR_REF(payload, x)
03178 SOFIAPUBVAR tag_typedef_t httptag_payload_str_ref;
03179
03180 #if SU_INLINE_TAG_CAST
03181 su_inline tag_value_t
03182 httptag_payload_v(http_payload_t const *v)
03183 { return (tag_value_t)v; }
03184 su_inline tag_value_t
03185 httptag_payload_vr(http_payload_t const **vp)
03186 { return (tag_value_t)vp; }
03187 #else
03188 #define httptag_payload_v(v) (tag_value_t)(v)
03189 #define httptag_payload_vr(vp) (tag_value_t)(vp)
03190 #endif
03191
03192 SOFIA_END_DECLS
03193 #endif