📄 sip_tag.h
字号:
SIP_DLL extern tag_typedef_t siptag_priority_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_priority_v(sip_priority_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_priority_vr(sip_priority_t const **vp){ return (tag_value_t)vp; }#else#define siptag_priority_v(v) (tag_value_t)(v)#define siptag_priority_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_call_info * * Tag list item for pointer to a Call-Info header structure. * * The SIPTAG_CALL_INFO() macro is used to include a tag item with a * pointer to a #sip_call_info_t object in a tag list. * * @param x pointer to a #sip_call_info_t header structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_CALL_INFO_REF(). * * @HIDE */#define SIPTAG_CALL_INFO(x) siptag_call_info, siptag_call_info_v(x)SIP_DLL extern tag_typedef_t siptag_call_info;/**@ingroup sip_call_info * Tag list item for reference to a a Call-Info header pointer. */#define SIPTAG_CALL_INFO_REF(x) siptag_call_info_ref, siptag_call_info_vr(&(x))SIP_DLL extern tag_typedef_t siptag_call_info_ref;/**@ingroup sip_call_info * * Tag list item for string with Call-Info header value. * * The SIPTAG_CALL_INFO_STR() macro is used to include a tag item with a * string containing value of a sip_call_info_t header in a tag list. * * @param s pointer to a string containing sip_call_info_t value, or NULL. * * The string in SIPTAG_CALL_INFO_STR() can be converted to a * sip_call_info_t header structure by giving the string @a s has * second argument to function sip_call_info_make(). * * The corresponding tag taking reference parameter is * SIPTAG_CALL_INFO_STR_REF(). * * @HIDE */#define SIPTAG_CALL_INFO_STR(s) siptag_call_info_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_call_info_str;/**@ingroup sip_call_info * Tag list item for reference to a a Call-Info header string. */#define SIPTAG_CALL_INFO_STR_REF(x) siptag_call_info_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_call_info_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_call_info_v(sip_call_info_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_call_info_vr(sip_call_info_t const **vp){ return (tag_value_t)vp; }#else#define siptag_call_info_v(v) (tag_value_t)(v)#define siptag_call_info_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_organization * * Tag list item for pointer to a Organization header structure. * * The SIPTAG_ORGANIZATION() macro is used to include a tag item with a * pointer to a #sip_organization_t object in a tag list. * * @param x pointer to a #sip_organization_t header structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_ORGANIZATION_REF(). * * @HIDE */#define SIPTAG_ORGANIZATION(x) siptag_organization, siptag_organization_v(x)SIP_DLL extern tag_typedef_t siptag_organization;/**@ingroup sip_organization * Tag list item for reference to a a Organization header pointer. */#define SIPTAG_ORGANIZATION_REF(x) siptag_organization_ref, siptag_organization_vr(&(x))SIP_DLL extern tag_typedef_t siptag_organization_ref;/**@ingroup sip_organization * * Tag list item for string with Organization header value. * * The SIPTAG_ORGANIZATION_STR() macro is used to include a tag item with a * string containing value of a sip_organization_t header in a tag list. * * @param s pointer to a string containing sip_organization_t value, or NULL. * * The string in SIPTAG_ORGANIZATION_STR() can be converted to a * sip_organization_t header structure by giving the string @a s has * second argument to function sip_organization_make(). * * The corresponding tag taking reference parameter is * SIPTAG_ORGANIZATION_STR_REF(). * * @HIDE */#define SIPTAG_ORGANIZATION_STR(s) siptag_organization_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_organization_str;/**@ingroup sip_organization * Tag list item for reference to a a Organization header string. */#define SIPTAG_ORGANIZATION_STR_REF(x) siptag_organization_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_organization_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_organization_v(sip_organization_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_organization_vr(sip_organization_t const **vp){ return (tag_value_t)vp; }#else#define siptag_organization_v(v) (tag_value_t)(v)#define siptag_organization_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_server * * Tag list item for pointer to a Server header structure. * * The SIPTAG_SERVER() macro is used to include a tag item with a * pointer to a #sip_server_t object in a tag list. * * @param x pointer to a #sip_server_t header structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_SERVER_REF(). * * @HIDE */#define SIPTAG_SERVER(x) siptag_server, siptag_server_v(x)SIP_DLL extern tag_typedef_t siptag_server;/**@ingroup sip_server * Tag list item for reference to a a Server header pointer. */#define SIPTAG_SERVER_REF(x) siptag_server_ref, siptag_server_vr(&(x))SIP_DLL extern tag_typedef_t siptag_server_ref;/**@ingroup sip_server * * Tag list item for string with Server header value. * * The SIPTAG_SERVER_STR() macro is used to include a tag item with a * string containing value of a sip_server_t header in a tag list. * * @param s pointer to a string containing sip_server_t value, or NULL. * * The string in SIPTAG_SERVER_STR() can be converted to a * sip_server_t header structure by giving the string @a s has * second argument to function sip_server_make(). * * The corresponding tag taking reference parameter is * SIPTAG_SERVER_STR_REF(). * * @HIDE */#define SIPTAG_SERVER_STR(s) siptag_server_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_server_str;/**@ingroup sip_server * Tag list item for reference to a a Server header string. */#define SIPTAG_SERVER_STR_REF(x) siptag_server_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_server_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_server_v(sip_server_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_server_vr(sip_server_t const **vp){ return (tag_value_t)vp; }#else#define siptag_server_v(v) (tag_value_t)(v)#define siptag_server_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_user_agent * * Tag list item for pointer to a User-Agent header structure. * * The SIPTAG_USER_AGENT() macro is used to include a tag item with a * pointer to a #sip_user_agent_t object in a tag list. * * @param x pointer to a #sip_user_agent_t header structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_USER_AGENT_REF(). * * @HIDE */#define SIPTAG_USER_AGENT(x) siptag_user_agent, siptag_user_agent_v(x)SIP_DLL extern tag_typedef_t siptag_user_agent;/**@ingroup sip_user_agent * Tag list item for reference to a a User-Agent header pointer. */#define SIPTAG_USER_AGENT_REF(x) siptag_user_agent_ref, siptag_user_agent_vr(&(x))SIP_DLL extern tag_typedef_t siptag_user_agent_ref;/**@ingroup sip_user_agent * * Tag list item for string with User-Agent header value. * * The SIPTAG_USER_AGENT_STR() macro is used to include a tag item with a * string containing value of a sip_user_agent_t header in a tag list. * * @param s pointer to a string containing sip_user_agent_t value, or NULL. * * The string in SIPTAG_USER_AGENT_STR() can be converted to a * sip_user_agent_t header structure by giving the string @a s has * second argument to function sip_user_agent_make(). * * The corresponding tag taking reference parameter is * SIPTAG_USER_AGENT_STR_REF(). * * @HIDE */#define SIPTAG_USER_AGENT_STR(s) siptag_user_agent_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_user_agent_str;/**@ingroup sip_user_agent * Tag list item for reference to a a User-Agent header string. */#define SIPTAG_USER_AGENT_STR_REF(x) siptag_user_agent_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_user_agent_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_user_agent_v(sip_user_agent_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_user_agent_vr(sip_user_agent_t const **vp){ return (tag_value_t)vp; }#else#define siptag_user_agent_v(v) (tag_value_t)(v)#define siptag_user_agent_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_in_reply_to * * Tag list item for pointer to a In-Reply-To header structure. * * The SIPTAG_IN_REPLY_TO() macro is used to include a tag item with a * pointer to a #sip_in_reply_to_t object in a tag list. * * @param x pointer to a #sip_in_reply_to_t header structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_IN_REPLY_TO_REF(). * * @HIDE */#define SIPTAG_IN_REPLY_TO(x) siptag_in_reply_to, siptag_in_reply_to_v(x)SIP_DLL extern tag_typedef_t siptag_in_reply_to;/**@ingroup sip_in_reply_to * Tag list item for reference to a a In-Reply-To header pointer. */#define SIPTAG_IN_REPLY_TO_REF(x) siptag_in_reply_to_ref, siptag_in_reply_to_vr(&(x))SIP_DLL extern tag_typedef_t siptag_in_reply_to_ref;/**@ingroup sip_in_reply_to * * Tag list item for string with In-Reply-To header value. * * The SIPTAG_IN_REPLY_TO_STR() macro is used to include a tag item with a * string containing value of a sip_in_reply_to_t header in a tag list. * * @param s pointer to a string containing sip_in_reply_to_t value, or NULL. * * The string in SIPTAG_IN_REPLY_TO_STR() can be converted to a * sip_in_reply_to_t header structure by giving the string @a s has * second argument to function sip_in_reply_to_make(). * * The corresponding tag taking reference parameter is * SIPTAG_IN_REPLY_TO_STR_REF(). * * @HIDE */#define SIPTAG_IN_REPLY_TO_STR(s) siptag_in_reply_to_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_in_reply_to_str;/**@ingroup sip_in_reply_to * Tag list item for reference to a a In-Reply-To header string. */#define SIPTAG_IN_REPLY_TO_STR_REF(x) siptag_in_reply_to_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_in_reply_to_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_in_reply_to_v(sip_in_reply_to_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_in_reply_to_vr(sip_in_reply_to_t const **vp){ return (tag_value_t)vp; }#else#define siptag_in_reply_to_v(v) (tag_value_t)(v)#define siptag_in_reply_to_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_accept * * Tag list item for pointer to a Accept header structure. * * The SIPTAG_ACCEPT() macro is used to include a tag item with a * pointer to a #sip_accept_t object in a tag list. * * @param x pointer to a #sip_accept_t header structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_ACCEPT_REF(). * * @HIDE */#define SIPTAG_ACCEPT(x) siptag_accept, siptag_accept_v(x)SIP_DLL extern tag_typedef_t siptag_accept;/**@ingroup sip_accept * Tag list item for reference to a a Accept header pointer. */#define SIPTAG_ACCEPT_REF(x) siptag_accept_ref, siptag_accept_vr(&(x))SIP_DLL extern tag_typedef_t siptag_accept_ref;/**@ingroup sip_accept * * Tag list item for string with Accept header value. * * The SIPTAG_ACCEPT_STR() macro is used to include a tag item with a * string containing value of a sip_accept_t header in a tag list. * * @param s pointer to a string containing sip_accept_t value, or NULL. * * The string in SIPTAG_ACCEPT_STR() can be converted to a * sip_accept_t header structure by giving the string @a s has * second argument to function sip_accept_make(). * * The corresponding tag taking reference parameter is * SIPTAG_ACCEPT_STR_REF(). * * @HIDE */#define SIPTAG_ACCEPT_STR(s) siptag_accept_str, tag_str_v(s)SIP_DLL extern tag_typedef_t siptag_accept_str;/**@ingroup sip_accept * Tag list item for reference to a a Accept header string. */#define SIPTAG_ACCEPT_STR_REF(x) siptag_accept_str_ref, tag_str_vr(&(x))SIP_DLL extern tag_typedef_t siptag_accept_str_ref;#if HAVE_INLINEstatic inline tag_value_tsiptag_accept_v(sip_accept_t const *v){ return (tag_value_t)v; }static inline tag_value_tsiptag_accept_vr(sip_accept_t const **vp){ return (tag_value_t)vp; }#else#define siptag_accept_v(v) (tag_value_t)(v)#define siptag_accept_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_accept_encoding * * Tag list item for pointer to a Accept-Encoding header structure. * * The SIPTAG_ACCEPT_ENCODING() macro is used to include a tag item with a * pointer to a #sip_accept_encoding_t object in a tag list. * * @param x pointer to a #sip_accept_encoding_t header structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_ACCEPT_ENCODING_REF(). * * @HIDE */#define SIPTAG_ACCEPT_ENCODING(x) siptag_accept_encoding, siptag_accept_encoding_v(x)SIP_DLL extern tag_typedef_t siptag_accept_encoding;/**@ingroup sip_accept_encoding * Tag list item for reference to a a Accept-Encoding header pointer. */#define SIPTAG_ACCEPT_ENCODING_REF(x) siptag_accept_encoding_ref,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -