📄 http_tag.h
字号:
* @param s pointer to a string containing http_if_modified_since_t value, or NULL. * * The HTTPTAG_IF_MODIFIED_SINCE_STR string can be converted to a * http_if_modified_since_t header structure by giving the string @a s has * second argument to function http_if_modified_since_make(). * * @HIDE */#define HTTPTAG_IF_MODIFIED_SINCE_STR(s) HTTPTAG_STR(if_modified_since, s)HTTP_DLL extern tag_typedef_t httptag_if_modified_since_str;#define HTTPTAG_IF_MODIFIED_SINCE_REF(x) HTTPTAG_REF(if_modified_since, x)HTTP_DLL extern tag_typedef_t httptag_if_modified_since_ref;#define HTTPTAG_IF_MODIFIED_SINCE_STR_REF(x) HTTPTAG_STR_REF(if_modified_since, x)HTTP_DLL extern tag_typedef_t httptag_if_modified_since_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_if_modified_since_v(http_if_modified_since_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_if_modified_since_vr(http_if_modified_since_t const **vp){ return (tag_value_t)vp; }#else#define httptag_if_modified_since_v(v) (tag_value_t)(v)#define httptag_if_modified_since_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_if_none_match * * Tag list item for pointer to a If-None-Match header object. * * The HTTPTAG_IF_NONE_MATCH() macro is used to include a tag item with a * pointer to a http_if_none_match_t object in a tag list. * * @param x pointer to a http_if_none_match_t header structure, or NULL. * * @HIDE */#define HTTPTAG_IF_NONE_MATCH(x) HTTPTAG(if_none_match, x)HTTP_DLL extern tag_typedef_t httptag_if_none_match;/**@ingroup http_if_none_match * * Tag list item for string with If-None-Match header value. * * The HTTPTAG_IF_NONE_MATCH_STR() macro is used to include a tag item with a * string containing value of a http_if_none_match_t header in a tag list. * * @param s pointer to a string containing http_if_none_match_t value, or NULL. * * The HTTPTAG_IF_NONE_MATCH_STR string can be converted to a * http_if_none_match_t header structure by giving the string @a s has * second argument to function http_if_none_match_make(). * * @HIDE */#define HTTPTAG_IF_NONE_MATCH_STR(s) HTTPTAG_STR(if_none_match, s)HTTP_DLL extern tag_typedef_t httptag_if_none_match_str;#define HTTPTAG_IF_NONE_MATCH_REF(x) HTTPTAG_REF(if_none_match, x)HTTP_DLL extern tag_typedef_t httptag_if_none_match_ref;#define HTTPTAG_IF_NONE_MATCH_STR_REF(x) HTTPTAG_STR_REF(if_none_match, x)HTTP_DLL extern tag_typedef_t httptag_if_none_match_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_if_none_match_v(http_if_none_match_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_if_none_match_vr(http_if_none_match_t const **vp){ return (tag_value_t)vp; }#else#define httptag_if_none_match_v(v) (tag_value_t)(v)#define httptag_if_none_match_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_if_range * * Tag list item for pointer to a If-Range header object. * * The HTTPTAG_IF_RANGE() macro is used to include a tag item with a * pointer to a http_if_range_t object in a tag list. * * @param x pointer to a http_if_range_t header structure, or NULL. * * @HIDE */#define HTTPTAG_IF_RANGE(x) HTTPTAG(if_range, x)HTTP_DLL extern tag_typedef_t httptag_if_range;/**@ingroup http_if_range * * Tag list item for string with If-Range header value. * * The HTTPTAG_IF_RANGE_STR() macro is used to include a tag item with a * string containing value of a http_if_range_t header in a tag list. * * @param s pointer to a string containing http_if_range_t value, or NULL. * * The HTTPTAG_IF_RANGE_STR string can be converted to a * http_if_range_t header structure by giving the string @a s has * second argument to function http_if_range_make(). * * @HIDE */#define HTTPTAG_IF_RANGE_STR(s) HTTPTAG_STR(if_range, s)HTTP_DLL extern tag_typedef_t httptag_if_range_str;#define HTTPTAG_IF_RANGE_REF(x) HTTPTAG_REF(if_range, x)HTTP_DLL extern tag_typedef_t httptag_if_range_ref;#define HTTPTAG_IF_RANGE_STR_REF(x) HTTPTAG_STR_REF(if_range, x)HTTP_DLL extern tag_typedef_t httptag_if_range_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_if_range_v(http_if_range_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_if_range_vr(http_if_range_t const **vp){ return (tag_value_t)vp; }#else#define httptag_if_range_v(v) (tag_value_t)(v)#define httptag_if_range_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_if_unmodified_since * * Tag list item for pointer to a If-Unmodified-Since header object. * * The HTTPTAG_IF_UNMODIFIED_SINCE() macro is used to include a tag item with a * pointer to a http_if_unmodified_since_t object in a tag list. * * @param x pointer to a http_if_unmodified_since_t header structure, or NULL. * * @HIDE */#define HTTPTAG_IF_UNMODIFIED_SINCE(x) HTTPTAG(if_unmodified_since, x)HTTP_DLL extern tag_typedef_t httptag_if_unmodified_since;/**@ingroup http_if_unmodified_since * * Tag list item for string with If-Unmodified-Since header value. * * The HTTPTAG_IF_UNMODIFIED_SINCE_STR() macro is used to include a tag item with a * string containing value of a http_if_unmodified_since_t header in a tag list. * * @param s pointer to a string containing http_if_unmodified_since_t value, or NULL. * * The HTTPTAG_IF_UNMODIFIED_SINCE_STR string can be converted to a * http_if_unmodified_since_t header structure by giving the string @a s has * second argument to function http_if_unmodified_since_make(). * * @HIDE */#define HTTPTAG_IF_UNMODIFIED_SINCE_STR(s) HTTPTAG_STR(if_unmodified_since, s)HTTP_DLL extern tag_typedef_t httptag_if_unmodified_since_str;#define HTTPTAG_IF_UNMODIFIED_SINCE_REF(x) HTTPTAG_REF(if_unmodified_since, x)HTTP_DLL extern tag_typedef_t httptag_if_unmodified_since_ref;#define HTTPTAG_IF_UNMODIFIED_SINCE_STR_REF(x) HTTPTAG_STR_REF(if_unmodified_since, x)HTTP_DLL extern tag_typedef_t httptag_if_unmodified_since_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_if_unmodified_since_v(http_if_unmodified_since_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_if_unmodified_since_vr(http_if_unmodified_since_t const **vp){ return (tag_value_t)vp; }#else#define httptag_if_unmodified_since_v(v) (tag_value_t)(v)#define httptag_if_unmodified_since_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_last_modified * * Tag list item for pointer to a Last-Modified header object. * * The HTTPTAG_LAST_MODIFIED() macro is used to include a tag item with a * pointer to a http_last_modified_t object in a tag list. * * @param x pointer to a http_last_modified_t header structure, or NULL. * * @HIDE */#define HTTPTAG_LAST_MODIFIED(x) HTTPTAG(last_modified, x)HTTP_DLL extern tag_typedef_t httptag_last_modified;/**@ingroup http_last_modified * * Tag list item for string with Last-Modified header value. * * The HTTPTAG_LAST_MODIFIED_STR() macro is used to include a tag item with a * string containing value of a http_last_modified_t header in a tag list. * * @param s pointer to a string containing http_last_modified_t value, or NULL. * * The HTTPTAG_LAST_MODIFIED_STR string can be converted to a * http_last_modified_t header structure by giving the string @a s has * second argument to function http_last_modified_make(). * * @HIDE */#define HTTPTAG_LAST_MODIFIED_STR(s) HTTPTAG_STR(last_modified, s)HTTP_DLL extern tag_typedef_t httptag_last_modified_str;#define HTTPTAG_LAST_MODIFIED_REF(x) HTTPTAG_REF(last_modified, x)HTTP_DLL extern tag_typedef_t httptag_last_modified_ref;#define HTTPTAG_LAST_MODIFIED_STR_REF(x) HTTPTAG_STR_REF(last_modified, x)HTTP_DLL extern tag_typedef_t httptag_last_modified_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_last_modified_v(http_last_modified_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_last_modified_vr(http_last_modified_t const **vp){ return (tag_value_t)vp; }#else#define httptag_last_modified_v(v) (tag_value_t)(v)#define httptag_last_modified_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_location * * Tag list item for pointer to a Location header object. * * The HTTPTAG_LOCATION() macro is used to include a tag item with a * pointer to a http_location_t object in a tag list. * * @param x pointer to a http_location_t header structure, or NULL. * * @HIDE */#define HTTPTAG_LOCATION(x) HTTPTAG(location, x)HTTP_DLL extern tag_typedef_t httptag_location;/**@ingroup http_location * * Tag list item for string with Location header value. * * The HTTPTAG_LOCATION_STR() macro is used to include a tag item with a * string containing value of a http_location_t header in a tag list. * * @param s pointer to a string containing http_location_t value, or NULL. * * The HTTPTAG_LOCATION_STR string can be converted to a * http_location_t header structure by giving the string @a s has * second argument to function http_location_make(). * * @HIDE */#define HTTPTAG_LOCATION_STR(s) HTTPTAG_STR(location, s)HTTP_DLL extern tag_typedef_t httptag_location_str;#define HTTPTAG_LOCATION_REF(x) HTTPTAG_REF(location, x)HTTP_DLL extern tag_typedef_t httptag_location_ref;#define HTTPTAG_LOCATION_STR_REF(x) HTTPTAG_STR_REF(location, x)HTTP_DLL extern tag_typedef_t httptag_location_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_location_v(http_location_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_location_vr(http_location_t const **vp){ return (tag_value_t)vp; }#else#define httptag_location_v(v) (tag_value_t)(v)#define httptag_location_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_max_forwards * * Tag list item for pointer to a Max-Forwards header object. * * The HTTPTAG_MAX_FORWARDS() macro is used to include a tag item with a * pointer to a http_max_forwards_t object in a tag list. * * @param x pointer to a http_max_forwards_t header structure, or NULL. * * @HIDE */#define HTTPTAG_MAX_FORWARDS(x) HTTPTAG(max_forwards, x)HTTP_DLL extern tag_typedef_t httptag_max_forwards;/**@ingroup http_max_forwards * * Tag list item for string with Max-Forwards header value. * * The HTTPTAG_MAX_FORWARDS_STR() macro is used to include a tag item with a * string containing value of a http_max_forwards_t header in a tag list. * * @param s pointer to a string containing http_max_forwards_t value, or NULL. * * The HTTPTAG_MAX_FORWARDS_STR string can be converted to a * http_max_forwards_t header structure by giving the string @a s has * second argument to function http_max_forwards_make(). * * @HIDE */#define HTTPTAG_MAX_FORWARDS_STR(s) HTTPTAG_STR(max_forwards, s)HTTP_DLL extern tag_typedef_t httptag_max_forwards_str;#define HTTPTAG_MAX_FORWARDS_REF(x) HTTPTAG_REF(max_forwards, x)HTTP_DLL extern tag_typedef_t httptag_max_forwards_ref;#define HTTPTAG_MAX_FORWARDS_STR_REF(x) HTTPTAG_STR_REF(max_forwards, x)HTTP_DLL extern tag_typedef_t httptag_max_forwards_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_max_forwards_v(http_max_forwards_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_max_forwards_vr(http_max_forwards_t const **vp){ return (tag_value_t)vp; }#else#define httptag_max_forwards_v(v) (tag_value_t)(v)#define httptag_max_forwards_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_pragma * * Tag list item for pointer to a Pragma header object. * * The HTTPTAG_PRAGMA() macro is used to include a tag item with a * pointer to a http_pragma_t object in a tag list. * * @param x pointer to a http_pragma_t header structure, or NULL. * * @HIDE */#define HTTPTAG_PRAGMA(x) HTTPTAG(pragma, x)HTTP_DLL extern tag_typedef_t httptag_pragma;/**@ingroup http_pragma * * Tag list item for string with Pragma header value. * * The HTTPTAG_PRAGMA_STR() macro is used to include a tag item with a * string containing value of a http_pragma_t header in a tag list. * * @param s pointer to a string containing http_pragma_t value, or NULL. * * The HTTPTAG_PRAGMA_STR string can be converted to a * http_pragma_t header structure by giving the string @a s has * second argument to function http_pragma_make(). * * @HIDE */#define HTTPTAG_PRAGMA_STR(s) HTTPTAG_STR(pragma, s)HTTP_DLL extern tag_typedef_t httptag_pragma_str;#define HTTPTAG_PRAGMA_REF(x) HTTPTAG_REF(pragma, x)HTTP_DLL extern tag_typedef_t httptag_pragma_ref;#define HTTPTAG_PRAGMA_STR_REF(x) HTTPTAG_STR_REF(pragma, x)HTTP_DLL extern tag_typedef_t httptag_pragma_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_pragma_v(http_pragma_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_pragma_vr(http_pragma_t const **vp){ return (tag_value_t)vp; }#else#define httptag_pragma_v(v) (tag_value_t)(v)#define httptag_pragma_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_proxy_authenticate * * Tag list item for pointer to a Proxy-Authenticate header object. * * The HTTPTAG_PROXY_AUTHENTICATE() macro is used to include a tag item with a * pointer to a http_proxy_authenticate_t object in a tag list. * * @param x pointer to a http_proxy_authenticate_t header structure, or NULL. * * @HIDE */#define HTTPTAG_PROXY_AUTHENTICATE(x) HTTPTAG(proxy_authenticate, x)HTTP_DLL extern tag_typedef_t httptag_proxy_authenticate;/**@ingroup http_proxy_authenticate * * Tag list item for string with Proxy-Authenticate header value.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -