142 int sip_p_initialize_remote_party_id_headers(
msg_mclass_t *mclass);
158 char const *
rpid_screen, *rpid_party, *rpid_id_type, *rpid_privacy;
164 #define SIP_HAVE_REFER_SUB 1
197 char *s, isize_t slen);
208 #define sip_refer_sub(sip) \
209 ((sip_refer_sub_t *)msg_header_access((msg_pub_t*)(sip), sip_refer_sub_class))
226 #define SIP_REFER_SUB_INIT() SIP_HDR_INIT(refer_sub)
250 #define sip_refer_sub_init(x) \
251 SIP_HEADER_INIT(x, sip_refer_sub_class, sizeof(sip_refer_sub_t))
276 #define sip_refer_sub_p(h) sip_is_refer_sub((h))
312 __attribute__((__malloc__));
356 __attribute__((__malloc__));
387 __attribute__((__malloc__));
419 __attribute__((__malloc__, __format__ (printf, 2, 3)));
454 #define SIPTAG_REFER_SUB(x) siptag_refer_sub, siptag_refer_sub_v(x)
462 #define SIPTAG_REFER_SUB_REF(x) siptag_refer_sub_ref, siptag_refer_sub_vr(&(x))
486 #define SIPTAG_REFER_SUB_STR(s) siptag_refer_sub_str, tag_str_v(s)
494 #define SIPTAG_REFER_SUB_STR_REF(x) siptag_refer_sub_str_ref, tag_str_vr(&(x))
497 #if SU_INLINE_TAG_CAST
505 #define siptag_refer_sub_v(v) (tag_value_t)(v)
506 #define siptag_refer_sub_vr(vp) (tag_value_t)(vp)
510 #define SIP_HAVE_ALERT_INFO 1
543 char *s, isize_t slen);
554 #define sip_alert_info(sip) \
555 ((sip_alert_info_t *)msg_header_access((msg_pub_t*)(sip), sip_alert_info_class))
572 #define SIP_ALERT_INFO_INIT() SIP_HDR_INIT(alert_info)
596 #define sip_alert_info_init(x) \
597 SIP_HEADER_INIT(x, sip_alert_info_class, sizeof(sip_alert_info_t))
622 #define sip_alert_info_p(h) sip_is_alert_info((h))
658 __attribute__((__malloc__));
702 __attribute__((__malloc__));
733 __attribute__((__malloc__));
765 __attribute__((__malloc__, __format__ (printf, 2, 3)));
774 h = sip_header_vformat(home, sip_alert_info_class, fmt, ap);
800 #define SIPTAG_ALERT_INFO(x) siptag_alert_info, siptag_alert_info_v(x)
808 #define SIPTAG_ALERT_INFO_REF(x) siptag_alert_info_ref, siptag_alert_info_vr(&(x))
832 #define SIPTAG_ALERT_INFO_STR(s) siptag_alert_info_str, tag_str_v(s)
840 #define SIPTAG_ALERT_INFO_STR_REF(x) siptag_alert_info_str_ref, tag_str_vr(&(x))
843 #if SU_INLINE_TAG_CAST
851 #define siptag_alert_info_v(v) (tag_value_t)(v)
852 #define siptag_alert_info_vr(vp) (tag_value_t)(vp)
856 #define SIP_HAVE_REPLY_TO 1
889 char *s, isize_t slen);
900 #define sip_reply_to(sip) \
901 ((sip_reply_to_t *)msg_header_access((msg_pub_t*)(sip), sip_reply_to_class))
918 #define SIP_REPLY_TO_INIT() SIP_HDR_INIT(reply_to)
942 #define sip_reply_to_init(x) \
943 SIP_HEADER_INIT(x, sip_reply_to_class, sizeof(sip_reply_to_t))
968 #define sip_reply_to_p(h) sip_is_reply_to((h))
1004 __attribute__((__malloc__));
1048 __attribute__((__malloc__));
1079 __attribute__((__malloc__));
1084 return (
sip_reply_to_t *)sip_header_make(home, sip_reply_to_class, s);
1111 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1120 h = sip_header_vformat(home, sip_reply_to_class, fmt, ap);
1146 #define SIPTAG_REPLY_TO(x) siptag_reply_to, siptag_reply_to_v(x)
1154 #define SIPTAG_REPLY_TO_REF(x) siptag_reply_to_ref, siptag_reply_to_vr(&(x))
1178 #define SIPTAG_REPLY_TO_STR(s) siptag_reply_to_str, tag_str_v(s)
1186 #define SIPTAG_REPLY_TO_STR_REF(x) siptag_reply_to_str_ref, tag_str_vr(&(x))
1189 #if SU_INLINE_TAG_CAST
1197 #define siptag_reply_to_v(v) (tag_value_t)(v)
1198 #define siptag_reply_to_vr(vp) (tag_value_t)(vp)
1202 #define SIP_HAVE_REMOTE_PARTY_ID 1
1235 char *s, isize_t slen);
1246 #define sip_remote_party_id(sip) \
1247 ((sip_remote_party_id_t *)msg_header_access((msg_pub_t*)(sip), sip_remote_party_id_class))
1264 #define SIP_REMOTE_PARTY_ID_INIT() SIP_HDR_INIT(remote_party_id)
1288 #define sip_remote_party_id_init(x) \
1289 SIP_HEADER_INIT(x, sip_remote_party_id_class, sizeof(sip_remote_party_id_t))
1314 #define sip_remote_party_id_p(h) sip_is_remote_party_id((h))
1350 __attribute__((__malloc__));
1394 __attribute__((__malloc__));
1425 __attribute__((__malloc__));
1457 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1466 h = sip_header_vformat(home, sip_remote_party_id_class, fmt, ap);
1492 #define SIPTAG_REMOTE_PARTY_ID(x) siptag_remote_party_id, siptag_remote_party_id_v(x)
1500 #define SIPTAG_REMOTE_PARTY_ID_REF(x) siptag_remote_party_id_ref, siptag_remote_party_id_vr(&(x))
1524 #define SIPTAG_REMOTE_PARTY_ID_STR(s) siptag_remote_party_id_str, tag_str_v(s)
1532 #define SIPTAG_REMOTE_PARTY_ID_STR_REF(x) siptag_remote_party_id_str_ref, tag_str_vr(&(x))
1535 #if SU_INLINE_TAG_CAST
1543 #define siptag_remote_party_id_v(v) (tag_value_t)(v)
1544 #define siptag_remote_party_id_vr(vp) (tag_value_t)(vp)
1548 #define SIP_HAVE_P_ASSERTED_IDENTITY 1
1581 char *s, isize_t slen);
1592 #define sip_p_asserted_identity(sip) \
1593 ((sip_p_asserted_identity_t *)msg_header_access((msg_pub_t*)(sip), sip_p_asserted_identity_class))
1610 #define SIP_P_ASSERTED_IDENTITY_INIT() SIP_HDR_INIT(p_asserted_identity)
1634 #define sip_p_asserted_identity_init(x) \
1635 SIP_HEADER_INIT(x, sip_p_asserted_identity_class, sizeof(sip_p_asserted_identity_t))
1660 #define sip_p_asserted_identity_p(h) sip_is_p_asserted_identity((h))
1696 __attribute__((__malloc__));
1740 __attribute__((__malloc__));
1771 __attribute__((__malloc__));
1803 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1812 h = sip_header_vformat(home, sip_p_asserted_identity_class, fmt, ap);
1838 #define SIPTAG_P_ASSERTED_IDENTITY(x) siptag_p_asserted_identity, siptag_p_asserted_identity_v(x)
1846 #define SIPTAG_P_ASSERTED_IDENTITY_REF(x) siptag_p_asserted_identity_ref, siptag_p_asserted_identity_vr(&(x))
1870 #define SIPTAG_P_ASSERTED_IDENTITY_STR(s) siptag_p_asserted_identity_str, tag_str_v(s)
1878 #define SIPTAG_P_ASSERTED_IDENTITY_STR_REF(x) siptag_p_asserted_identity_str_ref, tag_str_vr(&(x))
1881 #if SU_INLINE_TAG_CAST
1889 #define siptag_p_asserted_identity_v(v) (tag_value_t)(v)
1890 #define siptag_p_asserted_identity_vr(vp) (tag_value_t)(vp)
1894 #define SIP_HAVE_P_PREFERRED_IDENTITY 1
1927 char *s, isize_t slen);
1938 #define sip_p_preferred_identity(sip) \
1939 ((sip_p_preferred_identity_t *)msg_header_access((msg_pub_t*)(sip), sip_p_preferred_identity_class))
1956 #define SIP_P_PREFERRED_IDENTITY_INIT() SIP_HDR_INIT(p_preferred_identity)
1980 #define sip_p_preferred_identity_init(x) \
1981 SIP_HEADER_INIT(x, sip_p_preferred_identity_class, sizeof(sip_p_preferred_identity_t))
2006 #define sip_p_preferred_identity_p(h) sip_is_p_preferred_identity((h))
2042 __attribute__((__malloc__));
2086 __attribute__((__malloc__));
2117 __attribute__((__malloc__));
2149 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2158 h = sip_header_vformat(home, sip_p_preferred_identity_class, fmt, ap);
2184 #define SIPTAG_P_PREFERRED_IDENTITY(x) siptag_p_preferred_identity, siptag_p_preferred_identity_v(x)
2192 #define SIPTAG_P_PREFERRED_IDENTITY_REF(x) siptag_p_preferred_identity_ref, siptag_p_preferred_identity_vr(&(x))
2216 #define SIPTAG_P_PREFERRED_IDENTITY_STR(s) siptag_p_preferred_identity_str, tag_str_v(s)
2224 #define SIPTAG_P_PREFERRED_IDENTITY_STR_REF(x) siptag_p_preferred_identity_str_ref, tag_str_vr(&(x))
2227 #if SU_INLINE_TAG_CAST
2235 #define siptag_p_preferred_identity_v(v) (tag_value_t)(v)
2236 #define siptag_p_preferred_identity_vr(vp) (tag_value_t)(vp)
2239 #if SU_HAVE_EXPERIMENTAL
2241 #define SIP_HAVE_SUPPRESS_BODY_IF_MATCH 1
2274 char *s, isize_t slen);
2285 #define sip_suppress_body_if_match(sip) \
2286 ((sip_suppress_body_if_match_t *)msg_header_access((msg_pub_t*)(sip), sip_suppress_body_if_match_class))
2303 #define SIP_SUPPRESS_BODY_IF_MATCH_INIT() SIP_HDR_INIT(suppress_body_if_match)
2327 #define sip_suppress_body_if_match_init(x) \
2328 SIP_HEADER_INIT(x, sip_suppress_body_if_match_class, sizeof(sip_suppress_body_if_match_t))
2353 #define sip_suppress_body_if_match_p(h) sip_is_suppress_body_if_match((h))
2389 __attribute__((__malloc__));
2433 __attribute__((__malloc__));
2464 __attribute__((__malloc__));
2496 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2505 h = sip_header_vformat(home, sip_suppress_body_if_match_class, fmt, ap);
2531 #define SIPTAG_SUPPRESS_BODY_IF_MATCH(x) siptag_suppress_body_if_match, siptag_suppress_body_if_match_v(x)
2539 #define SIPTAG_SUPPRESS_BODY_IF_MATCH_REF(x) siptag_suppress_body_if_match_ref, siptag_suppress_body_if_match_vr(&(x))
2563 #define SIPTAG_SUPPRESS_BODY_IF_MATCH_STR(s) siptag_suppress_body_if_match_str, tag_str_v(s)
2571 #define SIPTAG_SUPPRESS_BODY_IF_MATCH_STR_REF(x) siptag_suppress_body_if_match_str_ref, tag_str_vr(&(x))
2574 #if SU_INLINE_TAG_CAST
2582 #define siptag_suppress_body_if_match_v(v) (tag_value_t)(v)
2583 #define siptag_suppress_body_if_match_vr(vp) (tag_value_t)(vp)
2587 #if SU_HAVE_EXPERIMENTAL
2589 #define SIP_HAVE_SUPPRESS_NOTIFY_IF_MATCH 1
2622 char *s, isize_t slen);
2633 #define sip_suppress_notify_if_match(sip) \
2634 ((sip_suppress_notify_if_match_t *)msg_header_access((msg_pub_t*)(sip), sip_suppress_notify_if_match_class))
2651 #define SIP_SUPPRESS_NOTIFY_IF_MATCH_INIT() SIP_HDR_INIT(suppress_notify_if_match)
2675 #define sip_suppress_notify_if_match_init(x) \
2676 SIP_HEADER_INIT(x, sip_suppress_notify_if_match_class, sizeof(sip_suppress_notify_if_match_t))
2701 #define sip_suppress_notify_if_match_p(h) sip_is_suppress_notify_if_match((h))
2737 __attribute__((__malloc__));
2781 __attribute__((__malloc__));
2812 __attribute__((__malloc__));
2844 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2853 h = sip_header_vformat(home, sip_suppress_notify_if_match_class, fmt, ap);
2879 #define SIPTAG_SUPPRESS_NOTIFY_IF_MATCH(x) siptag_suppress_notify_if_match, siptag_suppress_notify_if_match_v(x)
2887 #define SIPTAG_SUPPRESS_NOTIFY_IF_MATCH_REF(x) siptag_suppress_notify_if_match_ref, siptag_suppress_notify_if_match_vr(&(x))
2911 #define SIPTAG_SUPPRESS_NOTIFY_IF_MATCH_STR(s) siptag_suppress_notify_if_match_str, tag_str_v(s)
2919 #define SIPTAG_SUPPRESS_NOTIFY_IF_MATCH_STR_REF(x) siptag_suppress_notify_if_match_str_ref, tag_str_vr(&(x))
2922 #if SU_INLINE_TAG_CAST
2930 #define siptag_suppress_notify_if_match_v(v) (tag_value_t)(v)
2931 #define siptag_suppress_notify_if_match_vr(vp) (tag_value_t)(vp)