📄 http_tag.h
字号:
#define HTTPTAG_ACCEPT_ENCODING_STR(s) HTTPTAG_STR(accept_encoding, s)HTTP_DLL extern tag_typedef_t httptag_accept_encoding_str;#define HTTPTAG_ACCEPT_ENCODING_REF(x) HTTPTAG_REF(accept_encoding, x)HTTP_DLL extern tag_typedef_t httptag_accept_encoding_ref;#define HTTPTAG_ACCEPT_ENCODING_STR_REF(x) HTTPTAG_STR_REF(accept_encoding, x)HTTP_DLL extern tag_typedef_t httptag_accept_encoding_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_accept_encoding_v(http_accept_encoding_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_accept_encoding_vr(http_accept_encoding_t const **vp){ return (tag_value_t)vp; }#else#define httptag_accept_encoding_v(v) (tag_value_t)(v)#define httptag_accept_encoding_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_accept_language * * Tag list item for pointer to a Accept-Language header object. * * The HTTPTAG_ACCEPT_LANGUAGE() macro is used to include a tag item with a * pointer to a http_accept_language_t object in a tag list. * * @param x pointer to a http_accept_language_t header structure, or NULL. * * @HIDE */#define HTTPTAG_ACCEPT_LANGUAGE(x) HTTPTAG(accept_language, x)HTTP_DLL extern tag_typedef_t httptag_accept_language;/**@ingroup http_accept_language * * Tag list item for string with Accept-Language header value. * * The HTTPTAG_ACCEPT_LANGUAGE_STR() macro is used to include a tag item with a * string containing value of a http_accept_language_t header in a tag list. * * @param s pointer to a string containing http_accept_language_t value, or NULL. * * The HTTPTAG_ACCEPT_LANGUAGE_STR string can be converted to a * http_accept_language_t header structure by giving the string @a s has * second argument to function http_accept_language_make(). * * @HIDE */#define HTTPTAG_ACCEPT_LANGUAGE_STR(s) HTTPTAG_STR(accept_language, s)HTTP_DLL extern tag_typedef_t httptag_accept_language_str;#define HTTPTAG_ACCEPT_LANGUAGE_REF(x) HTTPTAG_REF(accept_language, x)HTTP_DLL extern tag_typedef_t httptag_accept_language_ref;#define HTTPTAG_ACCEPT_LANGUAGE_STR_REF(x) HTTPTAG_STR_REF(accept_language, x)HTTP_DLL extern tag_typedef_t httptag_accept_language_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_accept_language_v(http_accept_language_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_accept_language_vr(http_accept_language_t const **vp){ return (tag_value_t)vp; }#else#define httptag_accept_language_v(v) (tag_value_t)(v)#define httptag_accept_language_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_accept_ranges * * Tag list item for pointer to a Accept-Ranges header object. * * The HTTPTAG_ACCEPT_RANGES() macro is used to include a tag item with a * pointer to a http_accept_ranges_t object in a tag list. * * @param x pointer to a http_accept_ranges_t header structure, or NULL. * * @HIDE */#define HTTPTAG_ACCEPT_RANGES(x) HTTPTAG(accept_ranges, x)HTTP_DLL extern tag_typedef_t httptag_accept_ranges;/**@ingroup http_accept_ranges * * Tag list item for string with Accept-Ranges header value. * * The HTTPTAG_ACCEPT_RANGES_STR() macro is used to include a tag item with a * string containing value of a http_accept_ranges_t header in a tag list. * * @param s pointer to a string containing http_accept_ranges_t value, or NULL. * * The HTTPTAG_ACCEPT_RANGES_STR string can be converted to a * http_accept_ranges_t header structure by giving the string @a s has * second argument to function http_accept_ranges_make(). * * @HIDE */#define HTTPTAG_ACCEPT_RANGES_STR(s) HTTPTAG_STR(accept_ranges, s)HTTP_DLL extern tag_typedef_t httptag_accept_ranges_str;#define HTTPTAG_ACCEPT_RANGES_REF(x) HTTPTAG_REF(accept_ranges, x)HTTP_DLL extern tag_typedef_t httptag_accept_ranges_ref;#define HTTPTAG_ACCEPT_RANGES_STR_REF(x) HTTPTAG_STR_REF(accept_ranges, x)HTTP_DLL extern tag_typedef_t httptag_accept_ranges_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_accept_ranges_v(http_accept_ranges_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_accept_ranges_vr(http_accept_ranges_t const **vp){ return (tag_value_t)vp; }#else#define httptag_accept_ranges_v(v) (tag_value_t)(v)#define httptag_accept_ranges_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_allow * * Tag list item for pointer to a Allow header object. * * The HTTPTAG_ALLOW() macro is used to include a tag item with a * pointer to a http_allow_t object in a tag list. * * @param x pointer to a http_allow_t header structure, or NULL. * * @HIDE */#define HTTPTAG_ALLOW(x) HTTPTAG(allow, x)HTTP_DLL extern tag_typedef_t httptag_allow;/**@ingroup http_allow * * Tag list item for string with Allow header value. * * The HTTPTAG_ALLOW_STR() macro is used to include a tag item with a * string containing value of a http_allow_t header in a tag list. * * @param s pointer to a string containing http_allow_t value, or NULL. * * The HTTPTAG_ALLOW_STR string can be converted to a * http_allow_t header structure by giving the string @a s has * second argument to function http_allow_make(). * * @HIDE */#define HTTPTAG_ALLOW_STR(s) HTTPTAG_STR(allow, s)HTTP_DLL extern tag_typedef_t httptag_allow_str;#define HTTPTAG_ALLOW_REF(x) HTTPTAG_REF(allow, x)HTTP_DLL extern tag_typedef_t httptag_allow_ref;#define HTTPTAG_ALLOW_STR_REF(x) HTTPTAG_STR_REF(allow, x)HTTP_DLL extern tag_typedef_t httptag_allow_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_allow_v(http_allow_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_allow_vr(http_allow_t const **vp){ return (tag_value_t)vp; }#else#define httptag_allow_v(v) (tag_value_t)(v)#define httptag_allow_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_authentication_info * * Tag list item for pointer to a Authentication-Info header object. * * The HTTPTAG_AUTHENTICATION_INFO() macro is used to include a tag item with a * pointer to a http_authentication_info_t object in a tag list. * * @param x pointer to a http_authentication_info_t header structure, or NULL. * * @HIDE */#define HTTPTAG_AUTHENTICATION_INFO(x) HTTPTAG(authentication_info, x)HTTP_DLL extern tag_typedef_t httptag_authentication_info;/**@ingroup http_authentication_info * * Tag list item for string with Authentication-Info header value. * * The HTTPTAG_AUTHENTICATION_INFO_STR() macro is used to include a tag item with a * string containing value of a http_authentication_info_t header in a tag list. * * @param s pointer to a string containing http_authentication_info_t value, or NULL. * * The HTTPTAG_AUTHENTICATION_INFO_STR string can be converted to a * http_authentication_info_t header structure by giving the string @a s has * second argument to function http_authentication_info_make(). * * @HIDE */#define HTTPTAG_AUTHENTICATION_INFO_STR(s) HTTPTAG_STR(authentication_info, s)HTTP_DLL extern tag_typedef_t httptag_authentication_info_str;#define HTTPTAG_AUTHENTICATION_INFO_REF(x) HTTPTAG_REF(authentication_info, x)HTTP_DLL extern tag_typedef_t httptag_authentication_info_ref;#define HTTPTAG_AUTHENTICATION_INFO_STR_REF(x) HTTPTAG_STR_REF(authentication_info, x)HTTP_DLL extern tag_typedef_t httptag_authentication_info_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_authentication_info_v(http_authentication_info_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_authentication_info_vr(http_authentication_info_t const **vp){ return (tag_value_t)vp; }#else#define httptag_authentication_info_v(v) (tag_value_t)(v)#define httptag_authentication_info_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_authorization * * Tag list item for pointer to a Authorization header object. * * The HTTPTAG_AUTHORIZATION() macro is used to include a tag item with a * pointer to a http_authorization_t object in a tag list. * * @param x pointer to a http_authorization_t header structure, or NULL. * * @HIDE */#define HTTPTAG_AUTHORIZATION(x) HTTPTAG(authorization, x)HTTP_DLL extern tag_typedef_t httptag_authorization;/**@ingroup http_authorization * * Tag list item for string with Authorization header value. * * The HTTPTAG_AUTHORIZATION_STR() macro is used to include a tag item with a * string containing value of a http_authorization_t header in a tag list. * * @param s pointer to a string containing http_authorization_t value, or NULL. * * The HTTPTAG_AUTHORIZATION_STR string can be converted to a * http_authorization_t header structure by giving the string @a s has * second argument to function http_authorization_make(). * * @HIDE */#define HTTPTAG_AUTHORIZATION_STR(s) HTTPTAG_STR(authorization, s)HTTP_DLL extern tag_typedef_t httptag_authorization_str;#define HTTPTAG_AUTHORIZATION_REF(x) HTTPTAG_REF(authorization, x)HTTP_DLL extern tag_typedef_t httptag_authorization_ref;#define HTTPTAG_AUTHORIZATION_STR_REF(x) HTTPTAG_STR_REF(authorization, x)HTTP_DLL extern tag_typedef_t httptag_authorization_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_authorization_v(http_authorization_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_authorization_vr(http_authorization_t const **vp){ return (tag_value_t)vp; }#else#define httptag_authorization_v(v) (tag_value_t)(v)#define httptag_authorization_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_age * * Tag list item for pointer to a Age header object. * * The HTTPTAG_AGE() macro is used to include a tag item with a * pointer to a http_age_t object in a tag list. * * @param x pointer to a http_age_t header structure, or NULL. * * @HIDE */#define HTTPTAG_AGE(x) HTTPTAG(age, x)HTTP_DLL extern tag_typedef_t httptag_age;/**@ingroup http_age * * Tag list item for string with Age header value. * * The HTTPTAG_AGE_STR() macro is used to include a tag item with a * string containing value of a http_age_t header in a tag list. * * @param s pointer to a string containing http_age_t value, or NULL. * * The HTTPTAG_AGE_STR string can be converted to a * http_age_t header structure by giving the string @a s has * second argument to function http_age_make(). * * @HIDE */#define HTTPTAG_AGE_STR(s) HTTPTAG_STR(age, s)HTTP_DLL extern tag_typedef_t httptag_age_str;#define HTTPTAG_AGE_REF(x) HTTPTAG_REF(age, x)HTTP_DLL extern tag_typedef_t httptag_age_ref;#define HTTPTAG_AGE_STR_REF(x) HTTPTAG_STR_REF(age, x)HTTP_DLL extern tag_typedef_t httptag_age_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_age_v(http_age_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_age_vr(http_age_t const **vp){ return (tag_value_t)vp; }#else#define httptag_age_v(v) (tag_value_t)(v)#define httptag_age_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_cache_control * * Tag list item for pointer to a Cache-Control header object. * * The HTTPTAG_CACHE_CONTROL() macro is used to include a tag item with a * pointer to a http_cache_control_t object in a tag list. * * @param x pointer to a http_cache_control_t header structure, or NULL. * * @HIDE */#define HTTPTAG_CACHE_CONTROL(x) HTTPTAG(cache_control, x)HTTP_DLL extern tag_typedef_t httptag_cache_control;/**@ingroup http_cache_control * * Tag list item for string with Cache-Control header value. * * The HTTPTAG_CACHE_CONTROL_STR() macro is used to include a tag item with a * string containing value of a http_cache_control_t header in a tag list. * * @param s pointer to a string containing http_cache_control_t value, or NULL. * * The HTTPTAG_CACHE_CONTROL_STR string can be converted to a * http_cache_control_t header structure by giving the string @a s has * second argument to function http_cache_control_make(). * * @HIDE */#define HTTPTAG_CACHE_CONTROL_STR(s) HTTPTAG_STR(cache_control, s)HTTP_DLL extern tag_typedef_t httptag_cache_control_str;#define HTTPTAG_CACHE_CONTROL_REF(x) HTTPTAG_REF(cache_control, x)HTTP_DLL extern tag_typedef_t httptag_cache_control_ref;#define HTTPTAG_CACHE_CONTROL_STR_REF(x) HTTPTAG_STR_REF(cache_control, x)HTTP_DLL extern tag_typedef_t httptag_cache_control_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_cache_control_v(http_cache_control_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_cache_control_vr(http_cache_control_t const **vp){ return (tag_value_t)vp; }#else#define httptag_cache_control_v(v) (tag_value_t)(v)#define httptag_cache_control_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_connection * * Tag list item for pointer to a Connection header object. * * The HTTPTAG_CONNECTION() macro is used to include a tag item with a * pointer to a http_connection_t object in a tag list. * * @param x pointer to a http_connection_t header structure, or NULL. * * @HIDE */#define HTTPTAG_CONNECTION(x) HTTPTAG(connection, x)HTTP_DLL extern tag_typedef_t httptag_connection;/**@ingroup http_connection * * Tag list item for string with Connection header value. * * The HTTPTAG_CONNECTION_STR() macro is used to include a tag item with a * string containing value of a http_connection_t header in a tag list. * * @param s pointer to a string containing http_connection_t value, or NULL. * * The HTTPTAG_CONNECTION_STR string can be converted to a * http_connection_t header structure by giving the string @a s has
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -