46 #ifndef SIP_HCLASSES_H
95 if (compact && h->sh_class->hc_short[0])
96 return h->sh_class->hc_short;
98 return h->sh_class->hc_name;
105 return h && h !=
SIP_NONE ? h->sh_class->hc_size + (
char *)h : NULL;
121 char *s, isize_t slen);
131 #define sip_request(sip) \
132 ((sip_request_t *)msg_header_access((msg_pub_t*)(sip), sip_request_class))
148 #define SIP_REQUEST_INIT() SIP_HDR_INIT(request)
171 #define sip_request_init(x) \
172 SIP_HEADER_INIT(x, sip_request_class, sizeof(sip_request_t))
196 #define sip_request_p(h) sip_is_request((h))
231 __attribute__((__malloc__));
274 __attribute__((__malloc__));
304 __attribute__((__malloc__));
335 __attribute__((__malloc__, __format__ (printf, 2, 3)));
359 char *s, isize_t slen);
369 #define sip_status(sip) \
370 ((sip_status_t *)msg_header_access((msg_pub_t*)(sip), sip_status_class))
386 #define SIP_STATUS_INIT() SIP_HDR_INIT(status)
409 #define sip_status_init(x) \
410 SIP_HEADER_INIT(x, sip_status_class, sizeof(sip_status_t))
434 #define sip_status_p(h) sip_is_status((h))
469 __attribute__((__malloc__));
512 __attribute__((__malloc__));
542 __attribute__((__malloc__));
573 __attribute__((__malloc__, __format__ (printf, 2, 3)));
597 char *s, isize_t slen);
607 #define sip_via(sip) \
608 ((sip_via_t *)msg_header_access((msg_pub_t*)(sip), sip_via_class))
624 #define SIP_VIA_INIT() SIP_HDR_INIT(via)
647 #define sip_via_init(x) \
648 SIP_HEADER_INIT(x, sip_via_class, sizeof(sip_via_t))
666 return header && header->sh_class->hc_hash ==
sip_via_hash;
672 #define sip_via_p(h) sip_is_via((h))
707 __attribute__((__malloc__));
750 __attribute__((__malloc__));
780 __attribute__((__malloc__));
811 __attribute__((__malloc__, __format__ (printf, 2, 3)));
835 char *s, isize_t slen);
845 #define sip_route(sip) \
846 ((sip_route_t *)msg_header_access((msg_pub_t*)(sip), sip_route_class))
862 #define SIP_ROUTE_INIT() SIP_HDR_INIT(route)
885 #define sip_route_init(x) \
886 SIP_HEADER_INIT(x, sip_route_class, sizeof(sip_route_t))
910 #define sip_route_p(h) sip_is_route((h))
945 __attribute__((__malloc__));
988 __attribute__((__malloc__));
1018 __attribute__((__malloc__));
1049 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1073 char *s, isize_t slen);
1083 #define sip_record_route(sip) \
1084 ((sip_record_route_t *)msg_header_access((msg_pub_t*)(sip), sip_record_route_class))
1100 #define SIP_RECORD_ROUTE_INIT() SIP_HDR_INIT(record_route)
1123 #define sip_record_route_init(x) \
1124 SIP_HEADER_INIT(x, sip_record_route_class, sizeof(sip_record_route_t))
1148 #define sip_record_route_p(h) sip_is_record_route((h))
1183 __attribute__((__malloc__));
1226 __attribute__((__malloc__));
1256 __attribute__((__malloc__));
1287 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1311 char *s, isize_t slen);
1321 #define sip_max_forwards(sip) \
1322 ((sip_max_forwards_t *)msg_header_access((msg_pub_t*)(sip), sip_max_forwards_class))
1338 #define SIP_MAX_FORWARDS_INIT() SIP_HDR_INIT(max_forwards)
1361 #define sip_max_forwards_init(x) \
1362 SIP_HEADER_INIT(x, sip_max_forwards_class, sizeof(sip_max_forwards_t))
1386 #define sip_max_forwards_p(h) sip_is_max_forwards((h))
1421 __attribute__((__malloc__));
1464 __attribute__((__malloc__));
1494 __attribute__((__malloc__));
1525 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1549 char *s, isize_t slen);
1559 #define sip_proxy_require(sip) \
1560 ((sip_proxy_require_t *)msg_header_access((msg_pub_t*)(sip), sip_proxy_require_class))
1576 #define SIP_PROXY_REQUIRE_INIT() SIP_HDR_INIT(proxy_require)
1599 #define sip_proxy_require_init(x) \
1600 SIP_HEADER_INIT(x, sip_proxy_require_class, sizeof(sip_proxy_require_t))
1624 #define sip_proxy_require_p(h) sip_is_proxy_require((h))
1659 __attribute__((__malloc__));
1702 __attribute__((__malloc__));
1732 __attribute__((__malloc__));
1763 __attribute__((__malloc__, __format__ (printf, 2, 3)));
1787 char *s, isize_t slen);
1797 #define sip_from(sip) \
1798 ((sip_from_t *)msg_header_access((msg_pub_t*)(sip), sip_from_class))
1814 #define SIP_FROM_INIT() SIP_HDR_INIT(from)
1837 #define sip_from_init(x) \
1838 SIP_HEADER_INIT(x, sip_from_class, sizeof(sip_from_t))
1856 return header && header->sh_class->hc_hash ==
sip_from_hash;
1862 #define sip_from_p(h) sip_is_from((h))
1897 __attribute__((__malloc__));
1940 __attribute__((__malloc__));
1970 __attribute__((__malloc__));
2001 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2025 char *s, isize_t slen);
2035 #define sip_to(sip) \
2036 ((sip_to_t *)msg_header_access((msg_pub_t*)(sip), sip_to_class))
2052 #define SIP_TO_INIT() SIP_HDR_INIT(to)
2075 #define sip_to_init(x) \
2076 SIP_HEADER_INIT(x, sip_to_class, sizeof(sip_to_t))
2094 return header && header->sh_class->hc_hash ==
sip_to_hash;
2100 #define sip_to_p(h) sip_is_to((h))
2135 __attribute__((__malloc__));
2178 __attribute__((__malloc__));
2208 __attribute__((__malloc__));
2239 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2263 char *s, isize_t slen);
2273 #define sip_call_id(sip) \
2274 ((sip_call_id_t *)msg_header_access((msg_pub_t*)(sip), sip_call_id_class))
2290 #define SIP_CALL_ID_INIT() SIP_HDR_INIT(call_id)
2313 #define sip_call_id_init(x) \
2314 SIP_HEADER_INIT(x, sip_call_id_class, sizeof(sip_call_id_t))
2338 #define sip_call_id_p(h) sip_is_call_id((h))
2373 __attribute__((__malloc__));
2416 __attribute__((__malloc__));
2446 __attribute__((__malloc__));
2477 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2501 char *s, isize_t slen);
2511 #define sip_cseq(sip) \
2512 ((sip_cseq_t *)msg_header_access((msg_pub_t*)(sip), sip_cseq_class))
2528 #define SIP_CSEQ_INIT() SIP_HDR_INIT(cseq)
2551 #define sip_cseq_init(x) \
2552 SIP_HEADER_INIT(x, sip_cseq_class, sizeof(sip_cseq_t))
2570 return header && header->sh_class->hc_hash ==
sip_cseq_hash;
2576 #define sip_cseq_p(h) sip_is_cseq((h))
2611 __attribute__((__malloc__));
2654 __attribute__((__malloc__));
2684 __attribute__((__malloc__));
2715 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2739 char *s, isize_t slen);
2749 #define sip_contact(sip) \
2750 ((sip_contact_t *)msg_header_access((msg_pub_t*)(sip), sip_contact_class))
2766 #define SIP_CONTACT_INIT() SIP_HDR_INIT(contact)
2789 #define sip_contact_init(x) \
2790 SIP_HEADER_INIT(x, sip_contact_class, sizeof(sip_contact_t))
2814 #define sip_contact_p(h) sip_is_contact((h))
2849 __attribute__((__malloc__));
2892 __attribute__((__malloc__));
2922 __attribute__((__malloc__));
2953 __attribute__((__malloc__, __format__ (printf, 2, 3)));
2977 char *s, isize_t slen);
2987 #define sip_rseq(sip) \
2988 ((sip_rseq_t *)msg_header_access((msg_pub_t*)(sip), sip_rseq_class))
3004 #define SIP_RSEQ_INIT() SIP_HDR_INIT(rseq)
3027 #define sip_rseq_init(x) \
3028 SIP_HEADER_INIT(x, sip_rseq_class, sizeof(sip_rseq_t))
3046 return header && header->sh_class->hc_hash ==
sip_rseq_hash;
3052 #define sip_rseq_p(h) sip_is_rseq((h))
3087 __attribute__((__malloc__));
3130 __attribute__((__malloc__));
3160 __attribute__((__malloc__));
3191 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3215 char *s, isize_t slen);
3225 #define sip_rack(sip) \
3226 ((sip_rack_t *)msg_header_access((msg_pub_t*)(sip), sip_rack_class))
3242 #define SIP_RACK_INIT() SIP_HDR_INIT(rack)
3265 #define sip_rack_init(x) \
3266 SIP_HEADER_INIT(x, sip_rack_class, sizeof(sip_rack_t))
3284 return header && header->sh_class->hc_hash ==
sip_rack_hash;
3290 #define sip_rack_p(h) sip_is_rack((h))
3325 __attribute__((__malloc__));
3368 __attribute__((__malloc__));
3398 __attribute__((__malloc__));
3429 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3453 char *s, isize_t slen);
3463 #define sip_request_disposition(sip) \
3464 ((sip_request_disposition_t *)msg_header_access((msg_pub_t*)(sip), sip_request_disposition_class))
3480 #define SIP_REQUEST_DISPOSITION_INIT() SIP_HDR_INIT(request_disposition)
3503 #define sip_request_disposition_init(x) \
3504 SIP_HEADER_INIT(x, sip_request_disposition_class, sizeof(sip_request_disposition_t))
3528 #define sip_request_disposition_p(h) sip_is_request_disposition((h))
3563 __attribute__((__malloc__));
3606 __attribute__((__malloc__));
3636 __attribute__((__malloc__));
3667 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3691 char *s, isize_t slen);
3701 #define sip_accept_contact(sip) \
3702 ((sip_accept_contact_t *)msg_header_access((msg_pub_t*)(sip), sip_accept_contact_class))
3718 #define SIP_ACCEPT_CONTACT_INIT() SIP_HDR_INIT(accept_contact)
3741 #define sip_accept_contact_init(x) \
3742 SIP_HEADER_INIT(x, sip_accept_contact_class, sizeof(sip_accept_contact_t))
3766 #define sip_accept_contact_p(h) sip_is_accept_contact((h))
3801 __attribute__((__malloc__));
3844 __attribute__((__malloc__));
3874 __attribute__((__malloc__));
3905 __attribute__((__malloc__, __format__ (printf, 2, 3)));
3929 char *s, isize_t slen);
3939 #define sip_reject_contact(sip) \
3940 ((sip_reject_contact_t *)msg_header_access((msg_pub_t*)(sip), sip_reject_contact_class))
3956 #define SIP_REJECT_CONTACT_INIT() SIP_HDR_INIT(reject_contact)
3979 #define sip_reject_contact_init(x) \
3980 SIP_HEADER_INIT(x, sip_reject_contact_class, sizeof(sip_reject_contact_t))
4004 #define sip_reject_contact_p(h) sip_is_reject_contact((h))
4039 __attribute__((__malloc__));
4082 __attribute__((__malloc__));
4112 __attribute__((__malloc__));
4143 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4167 char *s, isize_t slen);
4177 #define sip_expires(sip) \
4178 ((sip_expires_t *)msg_header_access((msg_pub_t*)(sip), sip_expires_class))
4194 #define SIP_EXPIRES_INIT() SIP_HDR_INIT(expires)
4217 #define sip_expires_init(x) \
4218 SIP_HEADER_INIT(x, sip_expires_class, sizeof(sip_expires_t))
4242 #define sip_expires_p(h) sip_is_expires((h))
4277 __attribute__((__malloc__));
4320 __attribute__((__malloc__));
4350 __attribute__((__malloc__));
4381 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4405 char *s, isize_t slen);
4415 #define sip_date(sip) \
4416 ((sip_date_t *)msg_header_access((msg_pub_t*)(sip), sip_date_class))
4432 #define SIP_DATE_INIT() SIP_HDR_INIT(date)
4455 #define sip_date_init(x) \
4456 SIP_HEADER_INIT(x, sip_date_class, sizeof(sip_date_t))
4474 return header && header->sh_class->hc_hash ==
sip_date_hash;
4480 #define sip_date_p(h) sip_is_date((h))
4515 __attribute__((__malloc__));
4558 __attribute__((__malloc__));
4588 __attribute__((__malloc__));
4619 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4643 char *s, isize_t slen);
4653 #define sip_retry_after(sip) \
4654 ((sip_retry_after_t *)msg_header_access((msg_pub_t*)(sip), sip_retry_after_class))
4670 #define SIP_RETRY_AFTER_INIT() SIP_HDR_INIT(retry_after)
4693 #define sip_retry_after_init(x) \
4694 SIP_HEADER_INIT(x, sip_retry_after_class, sizeof(sip_retry_after_t))
4718 #define sip_retry_after_p(h) sip_is_retry_after((h))
4753 __attribute__((__malloc__));
4796 __attribute__((__malloc__));
4826 __attribute__((__malloc__));
4857 __attribute__((__malloc__, __format__ (printf, 2, 3)));
4881 char *s, isize_t slen);
4891 #define sip_timestamp(sip) \
4892 ((sip_timestamp_t *)msg_header_access((msg_pub_t*)(sip), sip_timestamp_class))
4908 #define SIP_TIMESTAMP_INIT() SIP_HDR_INIT(timestamp)
4931 #define sip_timestamp_init(x) \
4932 SIP_HEADER_INIT(x, sip_timestamp_class, sizeof(sip_timestamp_t))
4956 #define sip_timestamp_p(h) sip_is_timestamp((h))
4991 __attribute__((__malloc__));
5034 __attribute__((__malloc__));
5064 __attribute__((__malloc__));
5095 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5119 char *s, isize_t slen);
5129 #define sip_min_expires(sip) \
5130 ((sip_min_expires_t *)msg_header_access((msg_pub_t*)(sip), sip_min_expires_class))
5146 #define SIP_MIN_EXPIRES_INIT() SIP_HDR_INIT(min_expires)
5169 #define sip_min_expires_init(x) \
5170 SIP_HEADER_INIT(x, sip_min_expires_class, sizeof(sip_min_expires_t))
5194 #define sip_min_expires_p(h) sip_is_min_expires((h))
5229 __attribute__((__malloc__));
5272 __attribute__((__malloc__));
5302 __attribute__((__malloc__));
5333 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5357 char *s, isize_t slen);
5367 #define sip_subject(sip) \
5368 ((sip_subject_t *)msg_header_access((msg_pub_t*)(sip), sip_subject_class))
5384 #define SIP_SUBJECT_INIT() SIP_HDR_INIT(subject)
5407 #define sip_subject_init(x) \
5408 SIP_HEADER_INIT(x, sip_subject_class, sizeof(sip_subject_t))
5432 #define sip_subject_p(h) sip_is_subject((h))
5467 __attribute__((__malloc__));
5510 __attribute__((__malloc__));
5540 __attribute__((__malloc__));
5571 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5595 char *s, isize_t slen);
5605 #define sip_priority(sip) \
5606 ((sip_priority_t *)msg_header_access((msg_pub_t*)(sip), sip_priority_class))
5622 #define SIP_PRIORITY_INIT() SIP_HDR_INIT(priority)
5645 #define sip_priority_init(x) \
5646 SIP_HEADER_INIT(x, sip_priority_class, sizeof(sip_priority_t))
5670 #define sip_priority_p(h) sip_is_priority((h))
5705 __attribute__((__malloc__));
5748 __attribute__((__malloc__));
5778 __attribute__((__malloc__));
5809 __attribute__((__malloc__, __format__ (printf, 2, 3)));
5833 char *s, isize_t slen);
5843 #define sip_call_info(sip) \
5844 ((sip_call_info_t *)msg_header_access((msg_pub_t*)(sip), sip_call_info_class))
5860 #define SIP_CALL_INFO_INIT() SIP_HDR_INIT(call_info)
5883 #define sip_call_info_init(x) \
5884 SIP_HEADER_INIT(x, sip_call_info_class, sizeof(sip_call_info_t))
5908 #define sip_call_info_p(h) sip_is_call_info((h))
5943 __attribute__((__malloc__));
5986 __attribute__((__malloc__));
6016 __attribute__((__malloc__));
6047 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6071 char *s, isize_t slen);
6081 #define sip_organization(sip) \
6082 ((sip_organization_t *)msg_header_access((msg_pub_t*)(sip), sip_organization_class))
6098 #define SIP_ORGANIZATION_INIT() SIP_HDR_INIT(organization)
6121 #define sip_organization_init(x) \
6122 SIP_HEADER_INIT(x, sip_organization_class, sizeof(sip_organization_t))
6146 #define sip_organization_p(h) sip_is_organization((h))
6181 __attribute__((__malloc__));
6224 __attribute__((__malloc__));
6254 __attribute__((__malloc__));
6285 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6309 char *s, isize_t slen);
6319 #define sip_server(sip) \
6320 ((sip_server_t *)msg_header_access((msg_pub_t*)(sip), sip_server_class))
6336 #define SIP_SERVER_INIT() SIP_HDR_INIT(server)
6359 #define sip_server_init(x) \
6360 SIP_HEADER_INIT(x, sip_server_class, sizeof(sip_server_t))
6384 #define sip_server_p(h) sip_is_server((h))
6419 __attribute__((__malloc__));
6462 __attribute__((__malloc__));
6492 __attribute__((__malloc__));
6523 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6547 char *s, isize_t slen);
6557 #define sip_user_agent(sip) \
6558 ((sip_user_agent_t *)msg_header_access((msg_pub_t*)(sip), sip_user_agent_class))
6574 #define SIP_USER_AGENT_INIT() SIP_HDR_INIT(user_agent)
6597 #define sip_user_agent_init(x) \
6598 SIP_HEADER_INIT(x, sip_user_agent_class, sizeof(sip_user_agent_t))
6622 #define sip_user_agent_p(h) sip_is_user_agent((h))
6657 __attribute__((__malloc__));
6700 __attribute__((__malloc__));
6730 __attribute__((__malloc__));
6761 __attribute__((__malloc__, __format__ (printf, 2, 3)));
6785 char *s, isize_t slen);
6795 #define sip_in_reply_to(sip) \
6796 ((sip_in_reply_to_t *)msg_header_access((msg_pub_t*)(sip), sip_in_reply_to_class))
6812 #define SIP_IN_REPLY_TO_INIT() SIP_HDR_INIT(in_reply_to)
6835 #define sip_in_reply_to_init(x) \
6836 SIP_HEADER_INIT(x, sip_in_reply_to_class, sizeof(sip_in_reply_to_t))
6860 #define sip_in_reply_to_p(h) sip_is_in_reply_to((h))
6895 __attribute__((__malloc__));
6938 __attribute__((__malloc__));
6968 __attribute__((__malloc__));
6999 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7023 char *s, isize_t slen);
7033 #define sip_accept(sip) \
7034 ((sip_accept_t *)msg_header_access((msg_pub_t*)(sip), sip_accept_class))
7050 #define SIP_ACCEPT_INIT() SIP_HDR_INIT(accept)
7073 #define sip_accept_init(x) \
7074 SIP_HEADER_INIT(x, sip_accept_class, sizeof(sip_accept_t))
7098 #define sip_accept_p(h) sip_is_accept((h))
7133 __attribute__((__malloc__));
7176 __attribute__((__malloc__));
7206 __attribute__((__malloc__));
7237 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7261 char *s, isize_t slen);
7271 #define sip_accept_encoding(sip) \
7272 ((sip_accept_encoding_t *)msg_header_access((msg_pub_t*)(sip), sip_accept_encoding_class))
7288 #define SIP_ACCEPT_ENCODING_INIT() SIP_HDR_INIT(accept_encoding)
7311 #define sip_accept_encoding_init(x) \
7312 SIP_HEADER_INIT(x, sip_accept_encoding_class, sizeof(sip_accept_encoding_t))
7336 #define sip_accept_encoding_p(h) sip_is_accept_encoding((h))
7371 __attribute__((__malloc__));
7414 __attribute__((__malloc__));
7444 __attribute__((__malloc__));
7475 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7499 char *s, isize_t slen);
7509 #define sip_accept_language(sip) \
7510 ((sip_accept_language_t *)msg_header_access((msg_pub_t*)(sip), sip_accept_language_class))
7526 #define SIP_ACCEPT_LANGUAGE_INIT() SIP_HDR_INIT(accept_language)
7549 #define sip_accept_language_init(x) \
7550 SIP_HEADER_INIT(x, sip_accept_language_class, sizeof(sip_accept_language_t))
7574 #define sip_accept_language_p(h) sip_is_accept_language((h))
7609 __attribute__((__malloc__));
7652 __attribute__((__malloc__));
7682 __attribute__((__malloc__));
7713 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7737 char *s, isize_t slen);
7747 #define sip_allow(sip) \
7748 ((sip_allow_t *)msg_header_access((msg_pub_t*)(sip), sip_allow_class))
7764 #define SIP_ALLOW_INIT() SIP_HDR_INIT(allow)
7787 #define sip_allow_init(x) \
7788 SIP_HEADER_INIT(x, sip_allow_class, sizeof(sip_allow_t))
7812 #define sip_allow_p(h) sip_is_allow((h))
7847 __attribute__((__malloc__));
7890 __attribute__((__malloc__));
7920 __attribute__((__malloc__));
7951 __attribute__((__malloc__, __format__ (printf, 2, 3)));
7975 char *s, isize_t slen);
7985 #define sip_require(sip) \
7986 ((sip_require_t *)msg_header_access((msg_pub_t*)(sip), sip_require_class))
8002 #define SIP_REQUIRE_INIT() SIP_HDR_INIT(require)
8025 #define sip_require_init(x) \
8026 SIP_HEADER_INIT(x, sip_require_class, sizeof(sip_require_t))
8050 #define sip_require_p(h) sip_is_require((h))
8085 __attribute__((__malloc__));
8128 __attribute__((__malloc__));
8158 __attribute__((__malloc__));
8189 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8213 char *s, isize_t slen);
8223 #define sip_supported(sip) \
8224 ((sip_supported_t *)msg_header_access((msg_pub_t*)(sip), sip_supported_class))
8240 #define SIP_SUPPORTED_INIT() SIP_HDR_INIT(supported)
8263 #define sip_supported_init(x) \
8264 SIP_HEADER_INIT(x, sip_supported_class, sizeof(sip_supported_t))
8288 #define sip_supported_p(h) sip_is_supported((h))
8323 __attribute__((__malloc__));
8366 __attribute__((__malloc__));
8396 __attribute__((__malloc__));
8427 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8451 char *s, isize_t slen);
8461 #define sip_unsupported(sip) \
8462 ((sip_unsupported_t *)msg_header_access((msg_pub_t*)(sip), sip_unsupported_class))
8478 #define SIP_UNSUPPORTED_INIT() SIP_HDR_INIT(unsupported)
8501 #define sip_unsupported_init(x) \
8502 SIP_HEADER_INIT(x, sip_unsupported_class, sizeof(sip_unsupported_t))
8526 #define sip_unsupported_p(h) sip_is_unsupported((h))
8561 __attribute__((__malloc__));
8604 __attribute__((__malloc__));
8634 __attribute__((__malloc__));
8665 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8689 char *s, isize_t slen);
8699 #define sip_event(sip) \
8700 ((sip_event_t *)msg_header_access((msg_pub_t*)(sip), sip_event_class))
8716 #define SIP_EVENT_INIT() SIP_HDR_INIT(event)
8739 #define sip_event_init(x) \
8740 SIP_HEADER_INIT(x, sip_event_class, sizeof(sip_event_t))
8764 #define sip_event_p(h) sip_is_event((h))
8799 __attribute__((__malloc__));
8842 __attribute__((__malloc__));
8872 __attribute__((__malloc__));
8903 __attribute__((__malloc__, __format__ (printf, 2, 3)));
8927 char *s, isize_t slen);
8937 #define sip_allow_events(sip) \
8938 ((sip_allow_events_t *)msg_header_access((msg_pub_t*)(sip), sip_allow_events_class))
8954 #define SIP_ALLOW_EVENTS_INIT() SIP_HDR_INIT(allow_events)
8977 #define sip_allow_events_init(x) \
8978 SIP_HEADER_INIT(x, sip_allow_events_class, sizeof(sip_allow_events_t))
9002 #define sip_allow_events_p(h) sip_is_allow_events((h))
9037 __attribute__((__malloc__));
9080 __attribute__((__malloc__));
9110 __attribute__((__malloc__));
9141 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9165 char *s, isize_t slen);
9175 #define sip_subscription_state(sip) \
9176 ((sip_subscription_state_t *)msg_header_access((msg_pub_t*)(sip), sip_subscription_state_class))
9192 #define SIP_SUBSCRIPTION_STATE_INIT() SIP_HDR_INIT(subscription_state)
9215 #define sip_subscription_state_init(x) \
9216 SIP_HEADER_INIT(x, sip_subscription_state_class, sizeof(sip_subscription_state_t))
9240 #define sip_subscription_state_p(h) sip_is_subscription_state((h))
9275 __attribute__((__malloc__));
9318 __attribute__((__malloc__));
9348 __attribute__((__malloc__));
9379 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9403 char *s, isize_t slen);
9413 #define sip_proxy_authenticate(sip) \
9414 ((sip_proxy_authenticate_t *)msg_header_access((msg_pub_t*)(sip), sip_proxy_authenticate_class))
9430 #define SIP_PROXY_AUTHENTICATE_INIT() SIP_HDR_INIT(proxy_authenticate)
9453 #define sip_proxy_authenticate_init(x) \
9454 SIP_HEADER_INIT(x, sip_proxy_authenticate_class, sizeof(sip_proxy_authenticate_t))
9478 #define sip_proxy_authenticate_p(h) sip_is_proxy_authenticate((h))
9513 __attribute__((__malloc__));
9556 __attribute__((__malloc__));
9586 __attribute__((__malloc__));
9617 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9641 char *s, isize_t slen);
9651 #define sip_proxy_authentication_info(sip) \
9652 ((sip_proxy_authentication_info_t *)msg_header_access((msg_pub_t*)(sip), sip_proxy_authentication_info_class))
9668 #define SIP_PROXY_AUTHENTICATION_INFO_INIT() SIP_HDR_INIT(proxy_authentication_info)
9691 #define sip_proxy_authentication_info_init(x) \
9692 SIP_HEADER_INIT(x, sip_proxy_authentication_info_class, sizeof(sip_proxy_authentication_info_t))
9716 #define sip_proxy_authentication_info_p(h) sip_is_proxy_authentication_info((h))
9751 __attribute__((__malloc__));
9794 __attribute__((__malloc__));
9824 __attribute__((__malloc__));
9855 __attribute__((__malloc__, __format__ (printf, 2, 3)));
9879 char *s, isize_t slen);
9889 #define sip_proxy_authorization(sip) \
9890 ((sip_proxy_authorization_t *)msg_header_access((msg_pub_t*)(sip), sip_proxy_authorization_class))
9906 #define SIP_PROXY_AUTHORIZATION_INIT() SIP_HDR_INIT(proxy_authorization)
9929 #define sip_proxy_authorization_init(x) \
9930 SIP_HEADER_INIT(x, sip_proxy_authorization_class, sizeof(sip_proxy_authorization_t))
9954 #define sip_proxy_authorization_p(h) sip_is_proxy_authorization((h))
9989 __attribute__((__malloc__));
10032 __attribute__((__malloc__));
10062 __attribute__((__malloc__));
10093 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10117 char *s, isize_t slen);
10127 #define sip_authorization(sip) \
10128 ((sip_authorization_t *)msg_header_access((msg_pub_t*)(sip), sip_authorization_class))
10144 #define SIP_AUTHORIZATION_INIT() SIP_HDR_INIT(authorization)
10167 #define sip_authorization_init(x) \
10168 SIP_HEADER_INIT(x, sip_authorization_class, sizeof(sip_authorization_t))
10192 #define sip_authorization_p(h) sip_is_authorization((h))
10227 __attribute__((__malloc__));
10270 __attribute__((__malloc__));
10300 __attribute__((__malloc__));
10331 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10355 char *s, isize_t slen);
10365 #define sip_www_authenticate(sip) \
10366 ((sip_www_authenticate_t *)msg_header_access((msg_pub_t*)(sip), sip_www_authenticate_class))
10382 #define SIP_WWW_AUTHENTICATE_INIT() SIP_HDR_INIT(www_authenticate)
10405 #define sip_www_authenticate_init(x) \
10406 SIP_HEADER_INIT(x, sip_www_authenticate_class, sizeof(sip_www_authenticate_t))
10430 #define sip_www_authenticate_p(h) sip_is_www_authenticate((h))
10465 __attribute__((__malloc__));
10508 __attribute__((__malloc__));
10538 __attribute__((__malloc__));
10569 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10593 char *s, isize_t slen);
10603 #define sip_authentication_info(sip) \
10604 ((sip_authentication_info_t *)msg_header_access((msg_pub_t*)(sip), sip_authentication_info_class))
10620 #define SIP_AUTHENTICATION_INFO_INIT() SIP_HDR_INIT(authentication_info)
10643 #define sip_authentication_info_init(x) \
10644 SIP_HEADER_INIT(x, sip_authentication_info_class, sizeof(sip_authentication_info_t))
10668 #define sip_authentication_info_p(h) sip_is_authentication_info((h))
10703 __attribute__((__malloc__));
10746 __attribute__((__malloc__));
10776 __attribute__((__malloc__));
10807 __attribute__((__malloc__, __format__ (printf, 2, 3)));
10831 char *s, isize_t slen);
10841 #define sip_error_info(sip) \
10842 ((sip_error_info_t *)msg_header_access((msg_pub_t*)(sip), sip_error_info_class))
10858 #define SIP_ERROR_INFO_INIT() SIP_HDR_INIT(error_info)
10881 #define sip_error_info_init(x) \
10882 SIP_HEADER_INIT(x, sip_error_info_class, sizeof(sip_error_info_t))
10906 #define sip_error_info_p(h) sip_is_error_info((h))
10941 __attribute__((__malloc__));
10984 __attribute__((__malloc__));
11014 __attribute__((__malloc__));
11045 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11069 char *s, isize_t slen);
11079 #define sip_warning(sip) \
11080 ((sip_warning_t *)msg_header_access((msg_pub_t*)(sip), sip_warning_class))
11096 #define SIP_WARNING_INIT() SIP_HDR_INIT(warning)
11119 #define sip_warning_init(x) \
11120 SIP_HEADER_INIT(x, sip_warning_class, sizeof(sip_warning_t))
11144 #define sip_warning_p(h) sip_is_warning((h))
11179 __attribute__((__malloc__));
11222 __attribute__((__malloc__));
11252 __attribute__((__malloc__));
11283 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11307 char *s, isize_t slen);
11317 #define sip_refer_to(sip) \
11318 ((sip_refer_to_t *)msg_header_access((msg_pub_t*)(sip), sip_refer_to_class))
11334 #define SIP_REFER_TO_INIT() SIP_HDR_INIT(refer_to)
11357 #define sip_refer_to_init(x) \
11358 SIP_HEADER_INIT(x, sip_refer_to_class, sizeof(sip_refer_to_t))
11382 #define sip_refer_to_p(h) sip_is_refer_to((h))
11417 __attribute__((__malloc__));
11460 __attribute__((__malloc__));
11490 __attribute__((__malloc__));
11521 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11545 char *s, isize_t slen);
11555 #define sip_referred_by(sip) \
11556 ((sip_referred_by_t *)msg_header_access((msg_pub_t*)(sip), sip_referred_by_class))
11572 #define SIP_REFERRED_BY_INIT() SIP_HDR_INIT(referred_by)
11595 #define sip_referred_by_init(x) \
11596 SIP_HEADER_INIT(x, sip_referred_by_class, sizeof(sip_referred_by_t))
11620 #define sip_referred_by_p(h) sip_is_referred_by((h))
11655 __attribute__((__malloc__));
11698 __attribute__((__malloc__));
11728 __attribute__((__malloc__));
11759 __attribute__((__malloc__, __format__ (printf, 2, 3)));
11783 char *s, isize_t slen);
11793 #define sip_replaces(sip) \
11794 ((sip_replaces_t *)msg_header_access((msg_pub_t*)(sip), sip_replaces_class))
11810 #define SIP_REPLACES_INIT() SIP_HDR_INIT(replaces)
11833 #define sip_replaces_init(x) \
11834 SIP_HEADER_INIT(x, sip_replaces_class, sizeof(sip_replaces_t))
11858 #define sip_replaces_p(h) sip_is_replaces((h))
11893 __attribute__((__malloc__));
11936 __attribute__((__malloc__));
11966 __attribute__((__malloc__));
11997 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12021 char *s, isize_t slen);
12031 #define sip_session_expires(sip) \
12032 ((sip_session_expires_t *)msg_header_access((msg_pub_t*)(sip), sip_session_expires_class))
12048 #define SIP_SESSION_EXPIRES_INIT() SIP_HDR_INIT(session_expires)
12071 #define sip_session_expires_init(x) \
12072 SIP_HEADER_INIT(x, sip_session_expires_class, sizeof(sip_session_expires_t))
12096 #define sip_session_expires_p(h) sip_is_session_expires((h))
12131 __attribute__((__malloc__));
12174 __attribute__((__malloc__));
12204 __attribute__((__malloc__));
12235 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12259 char *s, isize_t slen);
12269 #define sip_min_se(sip) \
12270 ((sip_min_se_t *)msg_header_access((msg_pub_t*)(sip), sip_min_se_class))
12286 #define SIP_MIN_SE_INIT() SIP_HDR_INIT(min_se)
12309 #define sip_min_se_init(x) \
12310 SIP_HEADER_INIT(x, sip_min_se_class, sizeof(sip_min_se_t))
12334 #define sip_min_se_p(h) sip_is_min_se((h))
12369 __attribute__((__malloc__));
12412 __attribute__((__malloc__));
12442 __attribute__((__malloc__));
12473 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12497 char *s, isize_t slen);
12507 #define sip_path(sip) \
12508 ((sip_path_t *)msg_header_access((msg_pub_t*)(sip), sip_path_class))
12524 #define SIP_PATH_INIT() SIP_HDR_INIT(path)
12547 #define sip_path_init(x) \
12548 SIP_HEADER_INIT(x, sip_path_class, sizeof(sip_path_t))
12566 return header && header->sh_class->hc_hash ==
sip_path_hash;
12572 #define sip_path_p(h) sip_is_path((h))
12607 __attribute__((__malloc__));
12650 __attribute__((__malloc__));
12680 __attribute__((__malloc__));
12711 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12735 char *s, isize_t slen);
12745 #define sip_service_route(sip) \
12746 ((sip_service_route_t *)msg_header_access((msg_pub_t*)(sip), sip_service_route_class))
12762 #define SIP_SERVICE_ROUTE_INIT() SIP_HDR_INIT(service_route)
12785 #define sip_service_route_init(x) \
12786 SIP_HEADER_INIT(x, sip_service_route_class, sizeof(sip_service_route_t))
12810 #define sip_service_route_p(h) sip_is_service_route((h))
12845 __attribute__((__malloc__));
12888 __attribute__((__malloc__));
12918 __attribute__((__malloc__));
12949 __attribute__((__malloc__, __format__ (printf, 2, 3)));
12973 char *s, isize_t slen);
12983 #define sip_reason(sip) \
12984 ((sip_reason_t *)msg_header_access((msg_pub_t*)(sip), sip_reason_class))
13000 #define SIP_REASON_INIT() SIP_HDR_INIT(reason)
13023 #define sip_reason_init(x) \
13024 SIP_HEADER_INIT(x, sip_reason_class, sizeof(sip_reason_t))
13048 #define sip_reason_p(h) sip_is_reason((h))
13083 __attribute__((__malloc__));
13126 __attribute__((__malloc__));
13156 __attribute__((__malloc__));
13187 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13211 char *s, isize_t slen);
13221 #define sip_security_client(sip) \
13222 ((sip_security_client_t *)msg_header_access((msg_pub_t*)(sip), sip_security_client_class))
13238 #define SIP_SECURITY_CLIENT_INIT() SIP_HDR_INIT(security_client)
13261 #define sip_security_client_init(x) \
13262 SIP_HEADER_INIT(x, sip_security_client_class, sizeof(sip_security_client_t))
13286 #define sip_security_client_p(h) sip_is_security_client((h))
13321 __attribute__((__malloc__));
13364 __attribute__((__malloc__));
13394 __attribute__((__malloc__));
13425 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13449 char *s, isize_t slen);
13459 #define sip_security_server(sip) \
13460 ((sip_security_server_t *)msg_header_access((msg_pub_t*)(sip), sip_security_server_class))
13476 #define SIP_SECURITY_SERVER_INIT() SIP_HDR_INIT(security_server)
13499 #define sip_security_server_init(x) \
13500 SIP_HEADER_INIT(x, sip_security_server_class, sizeof(sip_security_server_t))
13524 #define sip_security_server_p(h) sip_is_security_server((h))
13559 __attribute__((__malloc__));
13602 __attribute__((__malloc__));
13632 __attribute__((__malloc__));
13663 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13687 char *s, isize_t slen);
13697 #define sip_security_verify(sip) \
13698 ((sip_security_verify_t *)msg_header_access((msg_pub_t*)(sip), sip_security_verify_class))
13714 #define SIP_SECURITY_VERIFY_INIT() SIP_HDR_INIT(security_verify)
13737 #define sip_security_verify_init(x) \
13738 SIP_HEADER_INIT(x, sip_security_verify_class, sizeof(sip_security_verify_t))
13762 #define sip_security_verify_p(h) sip_is_security_verify((h))
13797 __attribute__((__malloc__));
13840 __attribute__((__malloc__));
13870 __attribute__((__malloc__));
13901 __attribute__((__malloc__, __format__ (printf, 2, 3)));
13925 char *s, isize_t slen);
13935 #define sip_privacy(sip) \
13936 ((sip_privacy_t *)msg_header_access((msg_pub_t*)(sip), sip_privacy_class))
13952 #define SIP_PRIVACY_INIT() SIP_HDR_INIT(privacy)
13975 #define sip_privacy_init(x) \
13976 SIP_HEADER_INIT(x, sip_privacy_class, sizeof(sip_privacy_t))
14000 #define sip_privacy_p(h) sip_is_privacy((h))
14035 __attribute__((__malloc__));
14078 __attribute__((__malloc__));
14108 __attribute__((__malloc__));
14139 __attribute__((__malloc__, __format__ (printf, 2, 3)));
14163 char *s, isize_t slen);
14173 #define sip_etag(sip) \
14174 ((sip_etag_t *)msg_header_access((msg_pub_t*)(sip), sip_etag_class))
14190 #define SIP_ETAG_INIT() SIP_HDR_INIT(etag)
14213 #define sip_etag_init(x) \
14214 SIP_HEADER_INIT(x, sip_etag_class, sizeof(sip_etag_t))
14232 return header && header->sh_class->hc_hash ==
sip_etag_hash;
14238 #define sip_etag_p(h) sip_is_etag((h))
14273 __attribute__((__malloc__));
14316 __attribute__((__malloc__));
14346 __attribute__((__malloc__));
14377 __attribute__((__malloc__, __format__ (printf, 2, 3)));
14401 char *s, isize_t slen);
14411 #define sip_if_match(sip) \
14412 ((sip_if_match_t *)msg_header_access((msg_pub_t*)(sip), sip_if_match_class))
14428 #define SIP_IF_MATCH_INIT() SIP_HDR_INIT(if_match)
14451 #define sip_if_match_init(x) \
14452 SIP_HEADER_INIT(x, sip_if_match_class, sizeof(sip_if_match_t))
14476 #define sip_if_match_p(h) sip_is_if_match((h))
14511 __attribute__((__malloc__));
14554 __attribute__((__malloc__));
14584 __attribute__((__malloc__));
14615 __attribute__((__malloc__, __format__ (printf, 2, 3)));
14639 char *s, isize_t slen);
14649 #define sip_mime_version(sip) \
14650 ((sip_mime_version_t *)msg_header_access((msg_pub_t*)(sip), sip_mime_version_class))
14666 #define SIP_MIME_VERSION_INIT() SIP_HDR_INIT(mime_version)
14689 #define sip_mime_version_init(x) \
14690 SIP_HEADER_INIT(x, sip_mime_version_class, sizeof(sip_mime_version_t))
14714 #define sip_mime_version_p(h) sip_is_mime_version((h))
14749 __attribute__((__malloc__));
14792 __attribute__((__malloc__));
14822 __attribute__((__malloc__));
14853 __attribute__((__malloc__, __format__ (printf, 2, 3)));
14877 char *s, isize_t slen);
14887 #define sip_content_type(sip) \
14888 ((sip_content_type_t *)msg_header_access((msg_pub_t*)(sip), sip_content_type_class))
14904 #define SIP_CONTENT_TYPE_INIT() SIP_HDR_INIT(content_type)
14927 #define sip_content_type_init(x) \
14928 SIP_HEADER_INIT(x, sip_content_type_class, sizeof(sip_content_type_t))
14952 #define sip_content_type_p(h) sip_is_content_type((h))
14987 __attribute__((__malloc__));
15030 __attribute__((__malloc__));
15060 __attribute__((__malloc__));
15091 __attribute__((__malloc__, __format__ (printf, 2, 3)));
15115 char *s, isize_t slen);
15125 #define sip_content_encoding(sip) \
15126 ((sip_content_encoding_t *)msg_header_access((msg_pub_t*)(sip), sip_content_encoding_class))
15142 #define SIP_CONTENT_ENCODING_INIT() SIP_HDR_INIT(content_encoding)
15165 #define sip_content_encoding_init(x) \
15166 SIP_HEADER_INIT(x, sip_content_encoding_class, sizeof(sip_content_encoding_t))
15190 #define sip_content_encoding_p(h) sip_is_content_encoding((h))
15225 __attribute__((__malloc__));
15268 __attribute__((__malloc__));
15298 __attribute__((__malloc__));
15329 __attribute__((__malloc__, __format__ (printf, 2, 3)));
15353 char *s, isize_t slen);
15363 #define sip_content_language(sip) \
15364 ((sip_content_language_t *)msg_header_access((msg_pub_t*)(sip), sip_content_language_class))
15380 #define SIP_CONTENT_LANGUAGE_INIT() SIP_HDR_INIT(content_language)
15403 #define sip_content_language_init(x) \
15404 SIP_HEADER_INIT(x, sip_content_language_class, sizeof(sip_content_language_t))
15428 #define sip_content_language_p(h) sip_is_content_language((h))
15463 __attribute__((__malloc__));
15506 __attribute__((__malloc__));
15536 __attribute__((__malloc__));
15567 __attribute__((__malloc__, __format__ (printf, 2, 3)));
15591 char *s, isize_t slen);
15601 #define sip_content_disposition(sip) \
15602 ((sip_content_disposition_t *)msg_header_access((msg_pub_t*)(sip), sip_content_disposition_class))
15618 #define SIP_CONTENT_DISPOSITION_INIT() SIP_HDR_INIT(content_disposition)
15641 #define sip_content_disposition_init(x) \
15642 SIP_HEADER_INIT(x, sip_content_disposition_class, sizeof(sip_content_disposition_t))
15666 #define sip_content_disposition_p(h) sip_is_content_disposition((h))
15701 __attribute__((__malloc__));
15744 __attribute__((__malloc__));
15774 __attribute__((__malloc__));
15805 __attribute__((__malloc__, __format__ (printf, 2, 3)));
15829 char *s, isize_t slen);
15839 #define sip_content_length(sip) \
15840 ((sip_content_length_t *)msg_header_access((msg_pub_t*)(sip), sip_content_length_class))
15856 #define SIP_CONTENT_LENGTH_INIT() SIP_HDR_INIT(content_length)
15879 #define sip_content_length_init(x) \
15880 SIP_HEADER_INIT(x, sip_content_length_class, sizeof(sip_content_length_t))
15904 #define sip_content_length_p(h) sip_is_content_length((h))
15939 __attribute__((__malloc__));
15982 __attribute__((__malloc__));
16012 __attribute__((__malloc__));
16043 __attribute__((__malloc__, __format__ (printf, 2, 3)));
16067 char *s, isize_t slen);
16077 #define sip_unknown(sip) \
16078 ((sip_unknown_t *)msg_header_access((msg_pub_t*)(sip), sip_unknown_class))
16094 #define SIP_UNKNOWN_INIT() SIP_HDR_INIT(unknown)
16117 #define sip_unknown_init(x) \
16118 SIP_HEADER_INIT(x, sip_unknown_class, sizeof(sip_unknown_t))
16142 #define sip_unknown_p(h) sip_is_unknown((h))
16177 __attribute__((__malloc__));
16220 __attribute__((__malloc__));
16250 __attribute__((__malloc__));
16281 __attribute__((__malloc__, __format__ (printf, 2, 3)));
16305 char *s, isize_t slen);
16315 #define sip_error(sip) \
16316 ((sip_error_t *)msg_header_access((msg_pub_t*)(sip), sip_error_class))
16332 #define SIP_ERROR_INIT() SIP_HDR_INIT(error)
16355 #define sip_error_init(x) \
16356 SIP_HEADER_INIT(x, sip_error_class, sizeof(sip_error_t))
16380 #define sip_error_p(h) sip_is_error((h))
16415 __attribute__((__malloc__));
16458 __attribute__((__malloc__));
16488 __attribute__((__malloc__));
16519 __attribute__((__malloc__, __format__ (printf, 2, 3)));
16543 char *s, isize_t slen);
16553 #define sip_separator(sip) \
16554 ((sip_separator_t *)msg_header_access((msg_pub_t*)(sip), sip_separator_class))
16570 #define SIP_SEPARATOR_INIT() SIP_HDR_INIT(separator)
16593 #define sip_separator_init(x) \
16594 SIP_HEADER_INIT(x, sip_separator_class, sizeof(sip_separator_t))
16618 #define sip_separator_p(h) sip_is_separator((h))
16653 __attribute__((__malloc__));
16696 __attribute__((__malloc__));
16726 __attribute__((__malloc__));
16757 __attribute__((__malloc__, __format__ (printf, 2, 3)));
16781 char *s, isize_t slen);
16791 #define sip_payload(sip) \
16792 ((sip_payload_t *)msg_header_access((msg_pub_t*)(sip), sip_payload_class))
16808 #define SIP_PAYLOAD_INIT() SIP_HDR_INIT(payload)
16831 #define sip_payload_init(x) \
16832 SIP_HEADER_INIT(x, sip_payload_class, sizeof(sip_payload_t))
16856 #define sip_payload_p(h) sip_is_payload((h))
16891 __attribute__((__malloc__));
16934 __attribute__((__malloc__));
16964 __attribute__((__malloc__));
16995 __attribute__((__malloc__, __format__ (printf, 2, 3)));