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

📄 sip_tag.h

📁 Internet Phone, Chat, Conferencing
💻 H
📖 第 1 页 / 共 5 页
字号:
{ return (tag_value_t)vp; }#else#define siptag_route_v(v)   (tag_value_t)(v)#define siptag_route_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_record_route * * Tag list item for pointer to a Record-Route header structure. * * The SIPTAG_RECORD_ROUTE() macro is used to include a tag item with a * pointer to a #sip_record_route_t object in a tag list. * * @param x pointer to a #sip_record_route_t header structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_RECORD_ROUTE_REF(). * * @HIDE */#define SIPTAG_RECORD_ROUTE(x) siptag_record_route, siptag_record_route_v(x)SIP_DLL extern tag_typedef_t siptag_record_route;/**@ingroup sip_record_route * Tag list item for reference to a a Record-Route header pointer. */#define SIPTAG_RECORD_ROUTE_REF(x) siptag_record_route_ref, siptag_record_route_vr(&(x))SIP_DLL extern tag_typedef_t siptag_record_route_ref;/**@ingroup sip_record_route * * Tag list item for string with Record-Route header value. * * The SIPTAG_RECORD_ROUTE_STR() macro is used to include a tag item with a  * string containing value of a sip_record_route_t header in a tag list. * * @param s pointer to a string containing sip_record_route_t value, or NULL. * * The string in SIPTAG_RECORD_ROUTE_STR() can be converted to a * sip_record_route_t header structure by giving the string @a s has * second argument to function sip_record_route_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_RECORD_ROUTE_STR_REF(). * * @HIDE */#define SIPTAG_RECORD_ROUTE_STR(s) siptag_record_route_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_record_route_str;/**@ingroup sip_record_route * Tag list item for reference to a a Record-Route header string.  */#define SIPTAG_RECORD_ROUTE_STR_REF(x) siptag_record_route_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_record_route_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_record_route_v(sip_record_route_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_record_route_vr(sip_record_route_t const **vp){ return (tag_value_t)vp; }#else#define siptag_record_route_v(v)   (tag_value_t)(v)#define siptag_record_route_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_max_forwards * * Tag list item for pointer to a Max-Forwards header structure. * * The SIPTAG_MAX_FORWARDS() macro is used to include a tag item with a * pointer to a #sip_max_forwards_t object in a tag list. * * @param x pointer to a #sip_max_forwards_t header structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_MAX_FORWARDS_REF(). * * @HIDE */#define SIPTAG_MAX_FORWARDS(x) siptag_max_forwards, siptag_max_forwards_v(x)SIP_DLL extern tag_typedef_t siptag_max_forwards;/**@ingroup sip_max_forwards * Tag list item for reference to a a Max-Forwards header pointer. */#define SIPTAG_MAX_FORWARDS_REF(x) siptag_max_forwards_ref, siptag_max_forwards_vr(&(x))SIP_DLL extern tag_typedef_t siptag_max_forwards_ref;/**@ingroup sip_max_forwards * * Tag list item for string with Max-Forwards header value. * * The SIPTAG_MAX_FORWARDS_STR() macro is used to include a tag item with a  * string containing value of a sip_max_forwards_t header in a tag list. * * @param s pointer to a string containing sip_max_forwards_t value, or NULL. * * The string in SIPTAG_MAX_FORWARDS_STR() can be converted to a * sip_max_forwards_t header structure by giving the string @a s has * second argument to function sip_max_forwards_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_MAX_FORWARDS_STR_REF(). * * @HIDE */#define SIPTAG_MAX_FORWARDS_STR(s) siptag_max_forwards_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_max_forwards_str;/**@ingroup sip_max_forwards * Tag list item for reference to a a Max-Forwards header string.  */#define SIPTAG_MAX_FORWARDS_STR_REF(x) siptag_max_forwards_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_max_forwards_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_max_forwards_v(sip_max_forwards_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_max_forwards_vr(sip_max_forwards_t const **vp){ return (tag_value_t)vp; }#else#define siptag_max_forwards_v(v)   (tag_value_t)(v)#define siptag_max_forwards_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_proxy_require * * Tag list item for pointer to a Proxy-Require header structure. * * The SIPTAG_PROXY_REQUIRE() macro is used to include a tag item with a * pointer to a #sip_proxy_require_t object in a tag list. * * @param x pointer to a #sip_proxy_require_t header structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_PROXY_REQUIRE_REF(). * * @HIDE */#define SIPTAG_PROXY_REQUIRE(x) siptag_proxy_require, siptag_proxy_require_v(x)SIP_DLL extern tag_typedef_t siptag_proxy_require;/**@ingroup sip_proxy_require * Tag list item for reference to a a Proxy-Require header pointer. */#define SIPTAG_PROXY_REQUIRE_REF(x) siptag_proxy_require_ref, siptag_proxy_require_vr(&(x))SIP_DLL extern tag_typedef_t siptag_proxy_require_ref;/**@ingroup sip_proxy_require * * Tag list item for string with Proxy-Require header value. * * The SIPTAG_PROXY_REQUIRE_STR() macro is used to include a tag item with a  * string containing value of a sip_proxy_require_t header in a tag list. * * @param s pointer to a string containing sip_proxy_require_t value, or NULL. * * The string in SIPTAG_PROXY_REQUIRE_STR() can be converted to a * sip_proxy_require_t header structure by giving the string @a s has * second argument to function sip_proxy_require_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_PROXY_REQUIRE_STR_REF(). * * @HIDE */#define SIPTAG_PROXY_REQUIRE_STR(s) siptag_proxy_require_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_proxy_require_str;/**@ingroup sip_proxy_require * Tag list item for reference to a a Proxy-Require header string.  */#define SIPTAG_PROXY_REQUIRE_STR_REF(x) siptag_proxy_require_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_proxy_require_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_proxy_require_v(sip_proxy_require_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_proxy_require_vr(sip_proxy_require_t const **vp){ return (tag_value_t)vp; }#else#define siptag_proxy_require_v(v)   (tag_value_t)(v)#define siptag_proxy_require_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_from * * Tag list item for pointer to a From header structure. * * The SIPTAG_FROM() macro is used to include a tag item with a * pointer to a #sip_from_t object in a tag list. * * @param x pointer to a #sip_from_t header structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_FROM_REF(). * * @HIDE */#define SIPTAG_FROM(x) siptag_from, siptag_from_v(x)SIP_DLL extern tag_typedef_t siptag_from;/**@ingroup sip_from * Tag list item for reference to a a From header pointer. */#define SIPTAG_FROM_REF(x) siptag_from_ref, siptag_from_vr(&(x))SIP_DLL extern tag_typedef_t siptag_from_ref;/**@ingroup sip_from * * Tag list item for string with From header value. * * The SIPTAG_FROM_STR() macro is used to include a tag item with a  * string containing value of a sip_from_t header in a tag list. * * @param s pointer to a string containing sip_from_t value, or NULL. * * The string in SIPTAG_FROM_STR() can be converted to a * sip_from_t header structure by giving the string @a s has * second argument to function sip_from_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_FROM_STR_REF(). * * @HIDE */#define SIPTAG_FROM_STR(s) siptag_from_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_from_str;/**@ingroup sip_from * Tag list item for reference to a a From header string.  */#define SIPTAG_FROM_STR_REF(x) siptag_from_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_from_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_from_v(sip_from_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_from_vr(sip_from_t const **vp){ return (tag_value_t)vp; }#else#define siptag_from_v(v)   (tag_value_t)(v)#define siptag_from_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_to * * Tag list item for pointer to a To header structure. * * The SIPTAG_TO() macro is used to include a tag item with a * pointer to a #sip_to_t object in a tag list. * * @param x pointer to a #sip_to_t header structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_TO_REF(). * * @HIDE */#define SIPTAG_TO(x) siptag_to, siptag_to_v(x)SIP_DLL extern tag_typedef_t siptag_to;/**@ingroup sip_to * Tag list item for reference to a a To header pointer. */#define SIPTAG_TO_REF(x) siptag_to_ref, siptag_to_vr(&(x))SIP_DLL extern tag_typedef_t siptag_to_ref;/**@ingroup sip_to * * Tag list item for string with To header value. * * The SIPTAG_TO_STR() macro is used to include a tag item with a  * string containing value of a sip_to_t header in a tag list. * * @param s pointer to a string containing sip_to_t value, or NULL. * * The string in SIPTAG_TO_STR() can be converted to a * sip_to_t header structure by giving the string @a s has * second argument to function sip_to_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_TO_STR_REF(). * * @HIDE */#define SIPTAG_TO_STR(s) siptag_to_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_to_str;/**@ingroup sip_to * Tag list item for reference to a a To header string.  */#define SIPTAG_TO_STR_REF(x) siptag_to_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_to_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_to_v(sip_to_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_to_vr(sip_to_t const **vp){ return (tag_value_t)vp; }#else#define siptag_to_v(v)   (tag_value_t)(v)#define siptag_to_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_call_id * * Tag list item for pointer to a Call-ID header structure. * * The SIPTAG_CALL_ID() macro is used to include a tag item with a * pointer to a #sip_call_id_t object in a tag list. * * @param x pointer to a #sip_call_id_t header structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_CALL_ID_REF(). * * @HIDE */#define SIPTAG_CALL_ID(x) siptag_call_id, siptag_call_id_v(x)SIP_DLL extern tag_typedef_t siptag_call_id;/**@ingroup sip_call_id * Tag list item for reference to a a Call-ID header pointer. */#define SIPTAG_CALL_ID_REF(x) siptag_call_id_ref, siptag_call_id_vr(&(x))SIP_DLL extern tag_typedef_t siptag_call_id_ref;/**@ingroup sip_call_id * * Tag list item for string with Call-ID header value. * * The SIPTAG_CALL_ID_STR() macro is used to include a tag item with a  * string containing value of a sip_call_id_t header in a tag list. * * @param s pointer to a string containing sip_call_id_t value, or NULL. * * The string in SIPTAG_CALL_ID_STR() can be converted to a * sip_call_id_t header structure by giving the string @a s has * second argument to function sip_call_id_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_CALL_ID_STR_REF(). * * @HIDE */#define SIPTAG_CALL_ID_STR(s) siptag_call_id_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_call_id_str;/**@ingroup sip_call_id * Tag list item for reference to a a Call-ID header string.  */#define SIPTAG_CALL_ID_STR_REF(x) siptag_call_id_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_call_id_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_call_id_v(sip_call_id_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_call_id_vr(sip_call_id_t const **vp){ return (tag_value_t)vp; }#else#define siptag_call_id_v(v)   (tag_value_t)(v)#define siptag_call_id_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_cseq * * Tag list item for pointer to a CSeq header structure. * * The SIPTAG_CSEQ() macro is used to include a tag item with a * pointer to a #sip_cseq_t object in a tag list. * * @param x pointer to a #sip_cseq_t header structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_CSEQ_REF(). * * @HIDE */#define SIPTAG_CSEQ(x) siptag_cseq, siptag_cseq_v(x)SIP_DLL extern tag_typedef_t siptag_cseq;/**@ingroup sip_cseq * Tag list item for reference to a a CSeq header pointer. */#define SIPTAG_CSEQ_REF(x) siptag_cseq_ref, siptag_cseq_vr(&(x))SIP_DLL extern tag_typedef_t siptag_cseq_ref;/**@ingroup sip_cseq * * Tag list item for string with CSeq header value. * * The SIPTAG_CSEQ_STR() macro is used to include a tag item with a  * string containing value of a sip_cseq_t header in a tag list. * * @param s pointer to a string containing sip_cseq_t value, or NULL. * * The string in SIPTAG_CSEQ_STR() can be converted to a

⌨️ 快捷键说明

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