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

📄 sip_tag.h

📁 Sofia SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification.
💻 H
📖 第 1 页 / 共 5 页
字号:
#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 @ref sip_cseq "CSeq header" * structure #sip_cseq_t. * * The SIPTAG_CSEQ() macro is used to include a tag item with a * pointer to a #sip_cseq_t structure in a tag list. * * @param x pointer to a #sip_cseq_t structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_CSEQ_REF(). * * * @HIDE */#define SIPTAG_CSEQ(x) siptag_cseq, siptag_cseq_v(x)SOFIAPUBVAR tag_typedef_t siptag_cseq;/**@ingroup sip_cseq * Tag list item for reference to a  * @ref sip_cseq "CSeq header" pointer. */#define SIPTAG_CSEQ_REF(x) siptag_cseq_ref, siptag_cseq_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_cseq_ref;/**@ingroup sip_cseq * * Tag list item for string with @ref sip_cseq "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  *    @ref sip_cseq "CSeq header" value, or NULL. * * The string in SIPTAG_CSEQ_STR() can be converted to a * #sip_cseq_t header structure by giving the string @a s has * second argument to function sip_cseq_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_CSEQ_STR_REF(). * * * @HIDE */#define SIPTAG_CSEQ_STR(s) siptag_cseq_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_cseq_str;/**@ingroup sip_cseq * Tag list item for reference to a * @ref sip_cseq "CSeq header" string. */#define SIPTAG_CSEQ_STR_REF(x) siptag_cseq_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_cseq_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_cseq_v(sip_cseq_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_cseq_vr(sip_cseq_t const **vp){ return (tag_value_t)vp; }#else#define siptag_cseq_v(v)   (tag_value_t)(v)#define siptag_cseq_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_contact * * Tag list item for pointer to a @ref sip_contact "Contact header" * structure #sip_contact_t. * * The SIPTAG_CONTACT() macro is used to include a tag item with a * pointer to a #sip_contact_t structure in a tag list. * * @param x pointer to a #sip_contact_t structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_CONTACT_REF(). * * * @HIDE */#define SIPTAG_CONTACT(x) siptag_contact, siptag_contact_v(x)SOFIAPUBVAR tag_typedef_t siptag_contact;/**@ingroup sip_contact * Tag list item for reference to a  * @ref sip_contact "Contact header" pointer. */#define SIPTAG_CONTACT_REF(x) siptag_contact_ref, siptag_contact_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_contact_ref;/**@ingroup sip_contact * * Tag list item for string with @ref sip_contact "Contact header" value. * * The SIPTAG_CONTACT_STR() macro is used to include a tag item with a  * string containing value of a #sip_contact_t header in a tag list. * * @param s pointer to a string containing  *    @ref sip_contact "Contact header" value, or NULL. * * The string in SIPTAG_CONTACT_STR() can be converted to a * #sip_contact_t header structure by giving the string @a s has * second argument to function sip_contact_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_CONTACT_STR_REF(). * * * @HIDE */#define SIPTAG_CONTACT_STR(s) siptag_contact_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_contact_str;/**@ingroup sip_contact * Tag list item for reference to a * @ref sip_contact "Contact header" string. */#define SIPTAG_CONTACT_STR_REF(x) siptag_contact_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_contact_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_contact_v(sip_contact_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_contact_vr(sip_contact_t const **vp){ return (tag_value_t)vp; }#else#define siptag_contact_v(v)   (tag_value_t)(v)#define siptag_contact_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_rseq * * Tag list item for pointer to a @ref sip_rseq "RSeq header" * structure #sip_rseq_t. * * The SIPTAG_RSEQ() macro is used to include a tag item with a * pointer to a #sip_rseq_t structure in a tag list. * * @param x pointer to a #sip_rseq_t structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_RSEQ_REF(). * * * @HIDE */#define SIPTAG_RSEQ(x) siptag_rseq, siptag_rseq_v(x)SOFIAPUBVAR tag_typedef_t siptag_rseq;/**@ingroup sip_rseq * Tag list item for reference to a  * @ref sip_rseq "RSeq header" pointer. */#define SIPTAG_RSEQ_REF(x) siptag_rseq_ref, siptag_rseq_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_rseq_ref;/**@ingroup sip_rseq * * Tag list item for string with @ref sip_rseq "RSeq header" value. * * The SIPTAG_RSEQ_STR() macro is used to include a tag item with a  * string containing value of a #sip_rseq_t header in a tag list. * * @param s pointer to a string containing  *    @ref sip_rseq "RSeq header" value, or NULL. * * The string in SIPTAG_RSEQ_STR() can be converted to a * #sip_rseq_t header structure by giving the string @a s has * second argument to function sip_rseq_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_RSEQ_STR_REF(). * * * @HIDE */#define SIPTAG_RSEQ_STR(s) siptag_rseq_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_rseq_str;/**@ingroup sip_rseq * Tag list item for reference to a * @ref sip_rseq "RSeq header" string. */#define SIPTAG_RSEQ_STR_REF(x) siptag_rseq_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_rseq_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_rseq_v(sip_rseq_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_rseq_vr(sip_rseq_t const **vp){ return (tag_value_t)vp; }#else#define siptag_rseq_v(v)   (tag_value_t)(v)#define siptag_rseq_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_rack * * Tag list item for pointer to a @ref sip_rack "RAck header" * structure #sip_rack_t. * * The SIPTAG_RACK() macro is used to include a tag item with a * pointer to a #sip_rack_t structure in a tag list. * * @param x pointer to a #sip_rack_t structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_RACK_REF(). * * * @HIDE */#define SIPTAG_RACK(x) siptag_rack, siptag_rack_v(x)SOFIAPUBVAR tag_typedef_t siptag_rack;/**@ingroup sip_rack * Tag list item for reference to a  * @ref sip_rack "RAck header" pointer. */#define SIPTAG_RACK_REF(x) siptag_rack_ref, siptag_rack_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_rack_ref;/**@ingroup sip_rack * * Tag list item for string with @ref sip_rack "RAck header" value. * * The SIPTAG_RACK_STR() macro is used to include a tag item with a  * string containing value of a #sip_rack_t header in a tag list. * * @param s pointer to a string containing  *    @ref sip_rack "RAck header" value, or NULL. * * The string in SIPTAG_RACK_STR() can be converted to a * #sip_rack_t header structure by giving the string @a s has * second argument to function sip_rack_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_RACK_STR_REF(). * * * @HIDE */#define SIPTAG_RACK_STR(s) siptag_rack_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_rack_str;/**@ingroup sip_rack * Tag list item for reference to a * @ref sip_rack "RAck header" string. */#define SIPTAG_RACK_STR_REF(x) siptag_rack_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_rack_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_rack_v(sip_rack_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_rack_vr(sip_rack_t const **vp){ return (tag_value_t)vp; }#else#define siptag_rack_v(v)   (tag_value_t)(v)#define siptag_rack_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_request_disposition * * Tag list item for pointer to a @ref sip_request_disposition "Request-Disposition header" * structure #sip_request_disposition_t. * * The SIPTAG_REQUEST_DISPOSITION() macro is used to include a tag item with a * pointer to a #sip_request_disposition_t structure in a tag list. * * @param x pointer to a #sip_request_disposition_t structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_REQUEST_DISPOSITION_REF(). * * * @HIDE */#define SIPTAG_REQUEST_DISPOSITION(x) siptag_request_disposition, siptag_request_disposition_v(x)SOFIAPUBVAR tag_typedef_t siptag_request_disposition;/**@ingroup sip_request_disposition * Tag list item for reference to a  * @ref sip_request_disposition "Request-Disposition header" pointer. */#define SIPTAG_REQUEST_DISPOSITION_REF(x) siptag_request_disposition_ref, siptag_request_disposition_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_request_disposition_ref;/**@ingroup sip_request_disposition * * Tag list item for string with @ref sip_request_disposition "Request-Disposition header" value. * * The SIPTAG_REQUEST_DISPOSITION_STR() macro is used to include a tag item with a  * string containing value of a #sip_request_disposition_t header in a tag list. * * @param s pointer to a string containing  *    @ref sip_request_disposition "Request-Disposition header" value, or NULL. * * The string in SIPTAG_REQUEST_DISPOSITION_STR() can be converted to a * #sip_request_disposition_t header structure by giving the string @a s has * second argument to function sip_request_disposition_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_REQUEST_DISPOSITION_STR_REF(). * * * @HIDE */#define SIPTAG_REQUEST_DISPOSITION_STR(s) siptag_request_disposition_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_request_disposition_str;/**@ingroup sip_request_disposition * Tag list item for reference to a * @ref sip_request_disposition "Request-Disposition header" string. */#define SIPTAG_REQUEST_DISPOSITION_STR_REF(x) siptag_request_disposition_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_request_disposition_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_request_disposition_v(sip_request_disposition_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_request_disposition_vr(sip_request_disposition_t const **vp){ return (tag_value_t)vp; }#else#define siptag_request_disposition_v(v)   (tag_value_t)(v)#define siptag_request_disposition_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_accept_contact * * Tag list item for pointer to a @ref sip_accept_contact "Accept-Contact header" * structure #sip_accept_contact_t. * * The SIPTAG_ACCEPT_CONTACT() macro is used to include a tag item with a * pointer to a #sip_accept_contact_t structure in a tag list. * * @param x pointer to a #sip_accept_contact_t structure, or NULL. * * The corresponding tag taking reference parameter is  * SIPTAG_ACCEPT_CONTACT_REF(). * * * @HIDE */#define SIPTAG_ACCEPT_CONTACT(x) siptag_accept_contact, siptag_accept_contact_v(x)SOFIAPUBVAR tag_typedef_t siptag_accept_contact;/**@ingroup sip_accept_contact * Tag list item for reference to a  * @ref sip_accept_contact "Accept-Contact header" pointer. */#define SIPTAG_ACCEPT_CONTACT_REF(x) siptag_accept_contact_ref, siptag_accept_contact_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_accept_contact_ref;/**@ingroup sip_accept_contact * * Tag list item for string with @ref sip_accept_contact "Accept-Contact header" value. * * The SIPTAG_ACCEPT_CONTACT_STR() macro is used to include a tag item with a  * string containing value of a #sip_accept_contact_t header in a tag list. * * @param s pointer to a string containing  *    @ref sip_accept_contact "Accept-Contact header" value, or NULL. * * The string in SIPTAG_ACCEPT_CONTACT_STR() can be converted to a * #sip_accept_contact_t header structure by giving the string @a s has * second argument to function sip_accept_contact_make(). * * The corresponding tag taking reference parameter is  * SIPTAG_ACCEPT_CONTACT_STR_REF(). * * * @HIDE */#define SIPTAG_ACCEPT_CONTACT_STR(s) siptag_accept_contact_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_accept_contact_str;/**@ingroup sip_accept_contact * Tag list item for reference to a * @ref sip_accept_contact "Accept-Contact header" string. */#define SIPTAG_ACCEPT_CONTACT_STR_REF(x) siptag_accept_contact_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_accept_contact_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_accept_contact_v(sip_accept_contact_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_accept_contact_vr(sip_accept_contact_t const **vp){ return (tag_value_t)vp; }#else#define siptag_accept_contact_v(v)   (tag_value_t)(v)#define siptag_accept_contact_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_reject_contact * * Tag list item for pointer to a @ref sip_reject_contact "Reject-Contact header" * structure #sip_reject_contact_t. * * The SIPTAG_REJECT_CONTACT() macro is used to include a tag item with a * pointer to a #sip_reject_contact_t structure in a tag list. * * @param x pointer to a #sip_reject_contact_t structure, or NULL. *

⌨️ 快捷键说明

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