📄 sip_tag.h
字号:
* The corresponding tag taking reference parameter is * SIPTAG_REJECT_CONTACT_REF(). * * * @HIDE */#define SIPTAG_REJECT_CONTACT(x) siptag_reject_contact, siptag_reject_contact_v(x)SOFIAPUBVAR tag_typedef_t siptag_reject_contact;/**@ingroup sip_reject_contact * Tag list item for reference to a * @ref sip_reject_contact "Reject-Contact header" pointer. */#define SIPTAG_REJECT_CONTACT_REF(x) siptag_reject_contact_ref, siptag_reject_contact_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_reject_contact_ref;/**@ingroup sip_reject_contact * * Tag list item for string with @ref sip_reject_contact "Reject-Contact header" value. * * The SIPTAG_REJECT_CONTACT_STR() macro is used to include a tag item with a * string containing value of a #sip_reject_contact_t header in a tag list. * * @param s pointer to a string containing * @ref sip_reject_contact "Reject-Contact header" value, or NULL. * * The string in SIPTAG_REJECT_CONTACT_STR() can be converted to a * #sip_reject_contact_t header structure by giving the string @a s has * second argument to function sip_reject_contact_make(). * * The corresponding tag taking reference parameter is * SIPTAG_REJECT_CONTACT_STR_REF(). * * * @HIDE */#define SIPTAG_REJECT_CONTACT_STR(s) siptag_reject_contact_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_reject_contact_str;/**@ingroup sip_reject_contact * Tag list item for reference to a * @ref sip_reject_contact "Reject-Contact header" string. */#define SIPTAG_REJECT_CONTACT_STR_REF(x) siptag_reject_contact_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_reject_contact_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_reject_contact_v(sip_reject_contact_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_reject_contact_vr(sip_reject_contact_t const **vp){ return (tag_value_t)vp; }#else#define siptag_reject_contact_v(v) (tag_value_t)(v)#define siptag_reject_contact_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_expires * * Tag list item for pointer to a @ref sip_expires "Expires header" * structure #sip_expires_t. * * The SIPTAG_EXPIRES() macro is used to include a tag item with a * pointer to a #sip_expires_t structure in a tag list. * * @param x pointer to a #sip_expires_t structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_EXPIRES_REF(). * * * @HIDE */#define SIPTAG_EXPIRES(x) siptag_expires, siptag_expires_v(x)SOFIAPUBVAR tag_typedef_t siptag_expires;/**@ingroup sip_expires * Tag list item for reference to a * @ref sip_expires "Expires header" pointer. */#define SIPTAG_EXPIRES_REF(x) siptag_expires_ref, siptag_expires_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_expires_ref;/**@ingroup sip_expires * * Tag list item for string with @ref sip_expires "Expires header" value. * * The SIPTAG_EXPIRES_STR() macro is used to include a tag item with a * string containing value of a #sip_expires_t header in a tag list. * * @param s pointer to a string containing * @ref sip_expires "Expires header" value, or NULL. * * The string in SIPTAG_EXPIRES_STR() can be converted to a * #sip_expires_t header structure by giving the string @a s has * second argument to function sip_expires_make(). * * The corresponding tag taking reference parameter is * SIPTAG_EXPIRES_STR_REF(). * * * @HIDE */#define SIPTAG_EXPIRES_STR(s) siptag_expires_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_expires_str;/**@ingroup sip_expires * Tag list item for reference to a * @ref sip_expires "Expires header" string. */#define SIPTAG_EXPIRES_STR_REF(x) siptag_expires_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_expires_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_expires_v(sip_expires_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_expires_vr(sip_expires_t const **vp){ return (tag_value_t)vp; }#else#define siptag_expires_v(v) (tag_value_t)(v)#define siptag_expires_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_date * * Tag list item for pointer to a @ref sip_date "Date header" * structure #sip_date_t. * * The SIPTAG_DATE() macro is used to include a tag item with a * pointer to a #sip_date_t structure in a tag list. * * @param x pointer to a #sip_date_t structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_DATE_REF(). * * * @HIDE */#define SIPTAG_DATE(x) siptag_date, siptag_date_v(x)SOFIAPUBVAR tag_typedef_t siptag_date;/**@ingroup sip_date * Tag list item for reference to a * @ref sip_date "Date header" pointer. */#define SIPTAG_DATE_REF(x) siptag_date_ref, siptag_date_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_date_ref;/**@ingroup sip_date * * Tag list item for string with @ref sip_date "Date header" value. * * The SIPTAG_DATE_STR() macro is used to include a tag item with a * string containing value of a #sip_date_t header in a tag list. * * @param s pointer to a string containing * @ref sip_date "Date header" value, or NULL. * * The string in SIPTAG_DATE_STR() can be converted to a * #sip_date_t header structure by giving the string @a s has * second argument to function sip_date_make(). * * The corresponding tag taking reference parameter is * SIPTAG_DATE_STR_REF(). * * * @HIDE */#define SIPTAG_DATE_STR(s) siptag_date_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_date_str;/**@ingroup sip_date * Tag list item for reference to a * @ref sip_date "Date header" string. */#define SIPTAG_DATE_STR_REF(x) siptag_date_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_date_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_date_v(sip_date_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_date_vr(sip_date_t const **vp){ return (tag_value_t)vp; }#else#define siptag_date_v(v) (tag_value_t)(v)#define siptag_date_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_retry_after * * Tag list item for pointer to a @ref sip_retry_after "Retry-After header" * structure #sip_retry_after_t. * * The SIPTAG_RETRY_AFTER() macro is used to include a tag item with a * pointer to a #sip_retry_after_t structure in a tag list. * * @param x pointer to a #sip_retry_after_t structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_RETRY_AFTER_REF(). * * * @HIDE */#define SIPTAG_RETRY_AFTER(x) siptag_retry_after, siptag_retry_after_v(x)SOFIAPUBVAR tag_typedef_t siptag_retry_after;/**@ingroup sip_retry_after * Tag list item for reference to a * @ref sip_retry_after "Retry-After header" pointer. */#define SIPTAG_RETRY_AFTER_REF(x) siptag_retry_after_ref, siptag_retry_after_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_retry_after_ref;/**@ingroup sip_retry_after * * Tag list item for string with @ref sip_retry_after "Retry-After header" value. * * The SIPTAG_RETRY_AFTER_STR() macro is used to include a tag item with a * string containing value of a #sip_retry_after_t header in a tag list. * * @param s pointer to a string containing * @ref sip_retry_after "Retry-After header" value, or NULL. * * The string in SIPTAG_RETRY_AFTER_STR() can be converted to a * #sip_retry_after_t header structure by giving the string @a s has * second argument to function sip_retry_after_make(). * * The corresponding tag taking reference parameter is * SIPTAG_RETRY_AFTER_STR_REF(). * * * @HIDE */#define SIPTAG_RETRY_AFTER_STR(s) siptag_retry_after_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_retry_after_str;/**@ingroup sip_retry_after * Tag list item for reference to a * @ref sip_retry_after "Retry-After header" string. */#define SIPTAG_RETRY_AFTER_STR_REF(x) siptag_retry_after_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_retry_after_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_retry_after_v(sip_retry_after_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_retry_after_vr(sip_retry_after_t const **vp){ return (tag_value_t)vp; }#else#define siptag_retry_after_v(v) (tag_value_t)(v)#define siptag_retry_after_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_timestamp * * Tag list item for pointer to a @ref sip_timestamp "Timestamp header" * structure #sip_timestamp_t. * * The SIPTAG_TIMESTAMP() macro is used to include a tag item with a * pointer to a #sip_timestamp_t structure in a tag list. * * @param x pointer to a #sip_timestamp_t structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_TIMESTAMP_REF(). * * * @HIDE */#define SIPTAG_TIMESTAMP(x) siptag_timestamp, siptag_timestamp_v(x)SOFIAPUBVAR tag_typedef_t siptag_timestamp;/**@ingroup sip_timestamp * Tag list item for reference to a * @ref sip_timestamp "Timestamp header" pointer. */#define SIPTAG_TIMESTAMP_REF(x) siptag_timestamp_ref, siptag_timestamp_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_timestamp_ref;/**@ingroup sip_timestamp * * Tag list item for string with @ref sip_timestamp "Timestamp header" value. * * The SIPTAG_TIMESTAMP_STR() macro is used to include a tag item with a * string containing value of a #sip_timestamp_t header in a tag list. * * @param s pointer to a string containing * @ref sip_timestamp "Timestamp header" value, or NULL. * * The string in SIPTAG_TIMESTAMP_STR() can be converted to a * #sip_timestamp_t header structure by giving the string @a s has * second argument to function sip_timestamp_make(). * * The corresponding tag taking reference parameter is * SIPTAG_TIMESTAMP_STR_REF(). * * * @HIDE */#define SIPTAG_TIMESTAMP_STR(s) siptag_timestamp_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_timestamp_str;/**@ingroup sip_timestamp * Tag list item for reference to a * @ref sip_timestamp "Timestamp header" string. */#define SIPTAG_TIMESTAMP_STR_REF(x) siptag_timestamp_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_timestamp_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_timestamp_v(sip_timestamp_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_timestamp_vr(sip_timestamp_t const **vp){ return (tag_value_t)vp; }#else#define siptag_timestamp_v(v) (tag_value_t)(v)#define siptag_timestamp_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_min_expires * * Tag list item for pointer to a @ref sip_min_expires "Min-Expires header" * structure #sip_min_expires_t. * * The SIPTAG_MIN_EXPIRES() macro is used to include a tag item with a * pointer to a #sip_min_expires_t structure in a tag list. * * @param x pointer to a #sip_min_expires_t structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_MIN_EXPIRES_REF(). * * * @HIDE */#define SIPTAG_MIN_EXPIRES(x) siptag_min_expires, siptag_min_expires_v(x)SOFIAPUBVAR tag_typedef_t siptag_min_expires;/**@ingroup sip_min_expires * Tag list item for reference to a * @ref sip_min_expires "Min-Expires header" pointer. */#define SIPTAG_MIN_EXPIRES_REF(x) siptag_min_expires_ref, siptag_min_expires_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_min_expires_ref;/**@ingroup sip_min_expires * * Tag list item for string with @ref sip_min_expires "Min-Expires header" value. * * The SIPTAG_MIN_EXPIRES_STR() macro is used to include a tag item with a * string containing value of a #sip_min_expires_t header in a tag list. * * @param s pointer to a string containing * @ref sip_min_expires "Min-Expires header" value, or NULL. * * The string in SIPTAG_MIN_EXPIRES_STR() can be converted to a * #sip_min_expires_t header structure by giving the string @a s has * second argument to function sip_min_expires_make(). * * The corresponding tag taking reference parameter is * SIPTAG_MIN_EXPIRES_STR_REF(). * * * @HIDE */#define SIPTAG_MIN_EXPIRES_STR(s) siptag_min_expires_str, tag_str_v(s)SOFIAPUBVAR tag_typedef_t siptag_min_expires_str;/**@ingroup sip_min_expires * Tag list item for reference to a * @ref sip_min_expires "Min-Expires header" string. */#define SIPTAG_MIN_EXPIRES_STR_REF(x) siptag_min_expires_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t siptag_min_expires_str_ref;#if SU_INLINE_TAG_CASTsu_inline tag_value_tsiptag_min_expires_v(sip_min_expires_t const *v){ return (tag_value_t)v; }su_inline tag_value_tsiptag_min_expires_vr(sip_min_expires_t const **vp){ return (tag_value_t)vp; }#else#define siptag_min_expires_v(v) (tag_value_t)(v)#define siptag_min_expires_vr(vp) (tag_value_t)(vp)#endif/**@ingroup sip_subject * * Tag list item for pointer to a @ref sip_subject "Subject header" * structure #sip_subject_t. * * The SIPTAG_SUBJECT() macro is used to include a tag item with a * pointer to a #sip_subject_t structure in a tag list. * * @param x pointer to a #sip_subject_t structure, or NULL. * * The corresponding tag taking reference parameter is * SIPTAG_SUBJECT_REF(). * * * @HIDE */#define SIPTAG_SUBJECT(x) siptag_subject, siptag_subject_v(x)SOFIAPUBVAR tag_typedef_t siptag_subject;/**@ingroup sip_subject * Tag list item for reference to a * @ref sip_subject "Subject header" pointer. */#define SIPTAG_SUBJECT_REF(x) siptag_subject_ref, siptag_subject_vr(&(x))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -