⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 http_tag.h

📁 Internet Phone, Chat, Conferencing
💻 H
📖 第 1 页 / 共 5 页
字号:
 * second argument to function http_connection_make(). * * @HIDE */#define HTTPTAG_CONNECTION_STR(s)    	  HTTPTAG_STR(connection, s)HTTP_DLL extern tag_typedef_t httptag_connection_str;#define HTTPTAG_CONNECTION_REF(x)        	  HTTPTAG_REF(connection, x)HTTP_DLL extern tag_typedef_t httptag_connection_ref;#define HTTPTAG_CONNECTION_STR_REF(x)        HTTPTAG_STR_REF(connection, x)HTTP_DLL extern tag_typedef_t httptag_connection_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_connection_v(http_connection_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_connection_vr(http_connection_t const **vp){ return (tag_value_t)vp; }#else#define httptag_connection_v(v)   (tag_value_t)(v)#define httptag_connection_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_date * * Tag list item for pointer to a Date header object. * * The HTTPTAG_DATE() macro is used to include a tag item with a * pointer to a http_date_t object in a tag list. * * @param x pointer to a http_date_t header structure, or NULL. * * @HIDE */#define HTTPTAG_DATE(x)        	  HTTPTAG(date, x)HTTP_DLL extern tag_typedef_t httptag_date;/**@ingroup http_date * * Tag list item for string with Date header value. * * The HTTPTAG_DATE_STR() macro is used to include a tag item with a  * string containing value of a http_date_t header in a tag list. * * @param s pointer to a string containing http_date_t value, or NULL. * * The HTTPTAG_DATE_STR string can be converted to a * http_date_t header structure by giving the string @a s has * second argument to function http_date_make(). * * @HIDE */#define HTTPTAG_DATE_STR(s)    	  HTTPTAG_STR(date, s)HTTP_DLL extern tag_typedef_t httptag_date_str;#define HTTPTAG_DATE_REF(x)        	  HTTPTAG_REF(date, x)HTTP_DLL extern tag_typedef_t httptag_date_ref;#define HTTPTAG_DATE_STR_REF(x)        HTTPTAG_STR_REF(date, x)HTTP_DLL extern tag_typedef_t httptag_date_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_date_v(http_date_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_date_vr(http_date_t const **vp){ return (tag_value_t)vp; }#else#define httptag_date_v(v)   (tag_value_t)(v)#define httptag_date_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_etag * * Tag list item for pointer to a ETag header object. * * The HTTPTAG_ETAG() macro is used to include a tag item with a * pointer to a http_etag_t object in a tag list. * * @param x pointer to a http_etag_t header structure, or NULL. * * @HIDE */#define HTTPTAG_ETAG(x)        	  HTTPTAG(etag, x)HTTP_DLL extern tag_typedef_t httptag_etag;/**@ingroup http_etag * * Tag list item for string with ETag header value. * * The HTTPTAG_ETAG_STR() macro is used to include a tag item with a  * string containing value of a http_etag_t header in a tag list. * * @param s pointer to a string containing http_etag_t value, or NULL. * * The HTTPTAG_ETAG_STR string can be converted to a * http_etag_t header structure by giving the string @a s has * second argument to function http_etag_make(). * * @HIDE */#define HTTPTAG_ETAG_STR(s)    	  HTTPTAG_STR(etag, s)HTTP_DLL extern tag_typedef_t httptag_etag_str;#define HTTPTAG_ETAG_REF(x)        	  HTTPTAG_REF(etag, x)HTTP_DLL extern tag_typedef_t httptag_etag_ref;#define HTTPTAG_ETAG_STR_REF(x)        HTTPTAG_STR_REF(etag, x)HTTP_DLL extern tag_typedef_t httptag_etag_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_etag_v(http_etag_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_etag_vr(http_etag_t const **vp){ return (tag_value_t)vp; }#else#define httptag_etag_v(v)   (tag_value_t)(v)#define httptag_etag_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_expect * * Tag list item for pointer to a Expect header object. * * The HTTPTAG_EXPECT() macro is used to include a tag item with a * pointer to a http_expect_t object in a tag list. * * @param x pointer to a http_expect_t header structure, or NULL. * * @HIDE */#define HTTPTAG_EXPECT(x)        	  HTTPTAG(expect, x)HTTP_DLL extern tag_typedef_t httptag_expect;/**@ingroup http_expect * * Tag list item for string with Expect header value. * * The HTTPTAG_EXPECT_STR() macro is used to include a tag item with a  * string containing value of a http_expect_t header in a tag list. * * @param s pointer to a string containing http_expect_t value, or NULL. * * The HTTPTAG_EXPECT_STR string can be converted to a * http_expect_t header structure by giving the string @a s has * second argument to function http_expect_make(). * * @HIDE */#define HTTPTAG_EXPECT_STR(s)    	  HTTPTAG_STR(expect, s)HTTP_DLL extern tag_typedef_t httptag_expect_str;#define HTTPTAG_EXPECT_REF(x)        	  HTTPTAG_REF(expect, x)HTTP_DLL extern tag_typedef_t httptag_expect_ref;#define HTTPTAG_EXPECT_STR_REF(x)        HTTPTAG_STR_REF(expect, x)HTTP_DLL extern tag_typedef_t httptag_expect_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_expect_v(http_expect_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_expect_vr(http_expect_t const **vp){ return (tag_value_t)vp; }#else#define httptag_expect_v(v)   (tag_value_t)(v)#define httptag_expect_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_expires * * Tag list item for pointer to a Expires header object. * * The HTTPTAG_EXPIRES() macro is used to include a tag item with a * pointer to a http_expires_t object in a tag list. * * @param x pointer to a http_expires_t header structure, or NULL. * * @HIDE */#define HTTPTAG_EXPIRES(x)        	  HTTPTAG(expires, x)HTTP_DLL extern tag_typedef_t httptag_expires;/**@ingroup http_expires * * Tag list item for string with Expires header value. * * The HTTPTAG_EXPIRES_STR() macro is used to include a tag item with a  * string containing value of a http_expires_t header in a tag list. * * @param s pointer to a string containing http_expires_t value, or NULL. * * The HTTPTAG_EXPIRES_STR string can be converted to a * http_expires_t header structure by giving the string @a s has * second argument to function http_expires_make(). * * @HIDE */#define HTTPTAG_EXPIRES_STR(s)    	  HTTPTAG_STR(expires, s)HTTP_DLL extern tag_typedef_t httptag_expires_str;#define HTTPTAG_EXPIRES_REF(x)        	  HTTPTAG_REF(expires, x)HTTP_DLL extern tag_typedef_t httptag_expires_ref;#define HTTPTAG_EXPIRES_STR_REF(x)        HTTPTAG_STR_REF(expires, x)HTTP_DLL extern tag_typedef_t httptag_expires_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_expires_v(http_expires_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_expires_vr(http_expires_t const **vp){ return (tag_value_t)vp; }#else#define httptag_expires_v(v)   (tag_value_t)(v)#define httptag_expires_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_from * * Tag list item for pointer to a From header object. * * The HTTPTAG_FROM() macro is used to include a tag item with a * pointer to a http_from_t object in a tag list. * * @param x pointer to a http_from_t header structure, or NULL. * * @HIDE */#define HTTPTAG_FROM(x)        	  HTTPTAG(from, x)HTTP_DLL extern tag_typedef_t httptag_from;/**@ingroup http_from * * Tag list item for string with From header value. * * The HTTPTAG_FROM_STR() macro is used to include a tag item with a  * string containing value of a http_from_t header in a tag list. * * @param s pointer to a string containing http_from_t value, or NULL. * * The HTTPTAG_FROM_STR string can be converted to a * http_from_t header structure by giving the string @a s has * second argument to function http_from_make(). * * @HIDE */#define HTTPTAG_FROM_STR(s)    	  HTTPTAG_STR(from, s)HTTP_DLL extern tag_typedef_t httptag_from_str;#define HTTPTAG_FROM_REF(x)        	  HTTPTAG_REF(from, x)HTTP_DLL extern tag_typedef_t httptag_from_ref;#define HTTPTAG_FROM_STR_REF(x)        HTTPTAG_STR_REF(from, x)HTTP_DLL extern tag_typedef_t httptag_from_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_from_v(http_from_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_from_vr(http_from_t const **vp){ return (tag_value_t)vp; }#else#define httptag_from_v(v)   (tag_value_t)(v)#define httptag_from_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_host * * Tag list item for pointer to a Host header object. * * The HTTPTAG_HOST() macro is used to include a tag item with a * pointer to a http_host_t object in a tag list. * * @param x pointer to a http_host_t header structure, or NULL. * * @HIDE */#define HTTPTAG_HOST(x)        	  HTTPTAG(host, x)HTTP_DLL extern tag_typedef_t httptag_host;/**@ingroup http_host * * Tag list item for string with Host header value. * * The HTTPTAG_HOST_STR() macro is used to include a tag item with a  * string containing value of a http_host_t header in a tag list. * * @param s pointer to a string containing http_host_t value, or NULL. * * The HTTPTAG_HOST_STR string can be converted to a * http_host_t header structure by giving the string @a s has * second argument to function http_host_make(). * * @HIDE */#define HTTPTAG_HOST_STR(s)    	  HTTPTAG_STR(host, s)HTTP_DLL extern tag_typedef_t httptag_host_str;#define HTTPTAG_HOST_REF(x)        	  HTTPTAG_REF(host, x)HTTP_DLL extern tag_typedef_t httptag_host_ref;#define HTTPTAG_HOST_STR_REF(x)        HTTPTAG_STR_REF(host, x)HTTP_DLL extern tag_typedef_t httptag_host_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_host_v(http_host_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_host_vr(http_host_t const **vp){ return (tag_value_t)vp; }#else#define httptag_host_v(v)   (tag_value_t)(v)#define httptag_host_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_if_match * * Tag list item for pointer to a If-Match header object. * * The HTTPTAG_IF_MATCH() macro is used to include a tag item with a * pointer to a http_if_match_t object in a tag list. * * @param x pointer to a http_if_match_t header structure, or NULL. * * @HIDE */#define HTTPTAG_IF_MATCH(x)        	  HTTPTAG(if_match, x)HTTP_DLL extern tag_typedef_t httptag_if_match;/**@ingroup http_if_match * * Tag list item for string with If-Match header value. * * The HTTPTAG_IF_MATCH_STR() macro is used to include a tag item with a  * string containing value of a http_if_match_t header in a tag list. * * @param s pointer to a string containing http_if_match_t value, or NULL. * * The HTTPTAG_IF_MATCH_STR string can be converted to a * http_if_match_t header structure by giving the string @a s has * second argument to function http_if_match_make(). * * @HIDE */#define HTTPTAG_IF_MATCH_STR(s)    	  HTTPTAG_STR(if_match, s)HTTP_DLL extern tag_typedef_t httptag_if_match_str;#define HTTPTAG_IF_MATCH_REF(x)        	  HTTPTAG_REF(if_match, x)HTTP_DLL extern tag_typedef_t httptag_if_match_ref;#define HTTPTAG_IF_MATCH_STR_REF(x)        HTTPTAG_STR_REF(if_match, x)HTTP_DLL extern tag_typedef_t httptag_if_match_str_ref;#if HAVE_INLINEstatic inline tag_value_thttptag_if_match_v(http_if_match_t const *v){ return (tag_value_t)v; }static inline tag_value_thttptag_if_match_vr(http_if_match_t const **vp){ return (tag_value_t)vp; }#else#define httptag_if_match_v(v)   (tag_value_t)(v)#define httptag_if_match_vr(vp) (tag_value_t)(vp)#endif/**@ingroup http_if_modified_since * * Tag list item for pointer to a If-Modified-Since header object. * * The HTTPTAG_IF_MODIFIED_SINCE() macro is used to include a tag item with a * pointer to a http_if_modified_since_t object in a tag list. * * @param x pointer to a http_if_modified_since_t header structure, or NULL. * * @HIDE */#define HTTPTAG_IF_MODIFIED_SINCE(x)        	  HTTPTAG(if_modified_since, x)HTTP_DLL extern tag_typedef_t httptag_if_modified_since;/**@ingroup http_if_modified_since * * Tag list item for string with If-Modified-Since header value. * * The HTTPTAG_IF_MODIFIED_SINCE_STR() macro is used to include a tag item with a  * string containing value of a http_if_modified_since_t header in a tag list. *

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -