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)));
sip_rack_t * sip_rack_dup(su_home_t *home, sip_rack_t const *hdr))
Duplicate a list of RAck header header structures sip_rack_t.
Definition: sip_protos.h:3329
sip_accept_encoding_t * sip_accept_encoding_make(su_home_t *home, char const *s))
Make a Accept-Encoding header structure sip_accept_encoding_t.
Definition: sip_protos.h:7447
@Hash of Request-Disposition header.
Definition: sip_hclasses.h:374
sip_etag_t * sip_etag_dup(su_home_t *home, sip_etag_t const *hdr))
Duplicate a list of SIP-ETag header header structures sip_etag_t.
Definition: sip_protos.h:14277
sip_supported_t * sip_supported_make(su_home_t *home, char const *s))
Make a Supported header structure sip_supported_t.
Definition: sip_protos.h:8399
int sip_is_accept_language(sip_header_t const *header)
Test if header object is instance of sip_accept_language_t.
Definition: sip_protos.h:7566
issize_t sip_security_verify_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Security-Verify header.
msg_hclass_t sip_proxy_authenticate_class[]
Header class for Proxy-Authenticate header.
Definition: sip_security.c:200
issize_t sip_accept_language_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Accept-Language header.
sip_rack_t * sip_rack_init(sip_rack_t x[1])
Initialize a structure sip_rack_t.
Definition: sip_protos.h:3260
sip_to_t * sip_to_make(su_home_t *home, char const *s))
Make a To header structure sip_to_t.
Definition: sip_protos.h:2211
int sip_is_request_disposition(sip_header_t const *header)
Test if header object is instance of sip_request_disposition_t.
Definition: sip_protos.h:3520
sip_content_language_t * sip_content_language_format(su_home_t *home, char const *fmt,...)))
Make a Content-Language header from formatting result.
Definition: sip_protos.h:15570
@Hash of Privacy header.
Definition: sip_hclasses.h:1386
sip_allow_events_t * sip_allow_events_dup(su_home_t *home, sip_allow_events_t const *hdr))
Duplicate a list of Allow-Events header header structures sip_allow_events_t.
Definition: sip_protos.h:9041
issize_t sip_authentication_info_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Authentication-Info header.
@Hash of Supported header.
Definition: sip_hclasses.h:834
sip_authentication_info_t * sip_authentication_info_dup(su_home_t *home, sip_authentication_info_t const *hdr))
Duplicate a list of Authentication-Info header header structures sip_authentication_info_t.
Definition: sip_protos.h:10707
msg_hclass_t sip_in_reply_to_class[]
Header class for In-Reply-To header.
Definition: sip_extra.c:409
sip_route_t * sip_route_dup(su_home_t *home, sip_route_t const *hdr))
Duplicate a list of Route header header structures sip_route_t.
Definition: sip_protos.h:949
sip_timestamp_t * sip_timestamp_copy(su_home_t *home, sip_timestamp_t const *hdr))
Copy a list of Timestamp header header structures sip_timestamp_t.
Definition: sip_protos.h:5038
msg_hclass_t sip_replaces_class[]
Header class for Replaces header.
Definition: sip_refer.c:354
sip_cseq_t * sip_cseq_dup(su_home_t *home, sip_cseq_t const *hdr))
Duplicate a list of CSeq header header structures sip_cseq_t.
Definition: sip_protos.h:2615
Structure for Content-Length header.
Definition: sip.h:488
msg_hclass_t sip_accept_class[]
Header class for Accept header.
Definition: sip_mime.c:100
issize_t sip_to_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP To header.
issize_t sip_security_server_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Security-Server header.
issize_t sip_proxy_require_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Proxy-Require header.
sip_refer_to_t * sip_refer_to_copy(su_home_t *home, sip_refer_to_t const *hdr))
Copy a list of Refer-To header header structures sip_refer_to_t.
Definition: sip_protos.h:11464
Structure for Reason header field.
Definition: sip.h:667
@Hash of RSeq header.
Definition: sip_hclasses.h:328
sip_min_expires_t * sip_min_expires_dup(su_home_t *home, sip_min_expires_t const *hdr))
Duplicate a list of Min-Expires header header structures sip_min_expires_t.
Definition: sip_protos.h:5233
msg_hclass_t sip_server_class[]
Header class for Server header.
Definition: sip_extra.c:562
sip_record_route_t * sip_record_route_dup(su_home_t *home, sip_record_route_t const *hdr))
Duplicate a list of Record-Route header header structures sip_record_route_t.
Definition: sip_protos.h:1187
sip_allow_t * sip_allow_format(su_home_t *home, char const *fmt,...)))
Make a Allow header from formatting result.
Definition: sip_protos.h:7954
Structure for RAck header.
Definition: sip.h:578
int sip_is_session_expires(sip_header_t const *header)
Test if header object is instance of sip_session_expires_t.
Definition: sip_protos.h:12088
sip_from_t * sip_from_dup(su_home_t *home, sip_from_t const *hdr))
Duplicate a list of From header header structures sip_from_t.
Definition: sip_protos.h:1901
sip_www_authenticate_t * sip_www_authenticate_init(sip_www_authenticate_t x[1])
Initialize a structure sip_www_authenticate_t.
Definition: sip_protos.h:10400
sip_to_t * sip_to_init(sip_to_t x[1])
Initialize a structure sip_to_t.
Definition: sip_protos.h:2070
issize_t sip_retry_after_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Retry-After header.
sip_security_verify_t * sip_security_verify_init(sip_security_verify_t x[1])
Initialize a structure sip_security_verify_t.
Definition: sip_protos.h:13732
@Hash of Call-ID header.
Definition: sip_hclasses.h:259
sip_mime_version_t * sip_mime_version_make(su_home_t *home, char const *s))
Make a MIME-Version header structure sip_mime_version_t.
Definition: sip_protos.h:14825
int sip_is_replaces(sip_header_t const *header)
Test if header object is instance of sip_replaces_t.
Definition: sip_protos.h:11850
Structure for Referred-By header.
Definition: sip.h:603
sip_refer_to_t * sip_refer_to_init(sip_refer_to_t x[1])
Initialize a structure sip_refer_to_t.
Definition: sip_protos.h:11352
sip_require_t * sip_require_make(su_home_t *home, char const *s))
Make a Require header structure sip_require_t.
Definition: sip_protos.h:8161
sip_allow_t * sip_allow_copy(su_home_t *home, sip_allow_t const *hdr))
Copy a list of Allow header header structures sip_allow_t.
Definition: sip_protos.h:7894
msg_hclass_t sip_separator_class[]
Header class for separator line between headers and body.
Definition: sip_basic.c:507
msg_hclass_t sip_request_class[]
Header class for request line.
Definition: sip_basic.c:120
sip_content_disposition_t * sip_content_disposition_init(sip_content_disposition_t x[1])
Initialize a structure sip_content_disposition_t.
Definition: sip_protos.h:15636
sip_date_t * sip_date_dup(su_home_t *home, sip_date_t const *hdr))
Duplicate a list of Date header header structures sip_date_t.
Definition: sip_protos.h:4519
sip_proxy_authorization_t * sip_proxy_authorization_copy(su_home_t *home, sip_proxy_authorization_t const *hdr))
Copy a list of Proxy-Authorization header header structures sip_proxy_authorization_t.
Definition: sip_protos.h:10036
int sip_is_accept_encoding(sip_header_t const *header)
Test if header object is instance of sip_accept_encoding_t.
Definition: sip_protos.h:7328
issize_t sip_subject_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Subject header.
msg_hclass_t sip_content_length_class[]
Header class for Content-Length header.
Definition: sip_basic.c:1527
sip_service_route_t * sip_service_route_copy(su_home_t *home, sip_service_route_t const *hdr))
Copy a list of Service-Route header header structures sip_service_route_t.
Definition: sip_protos.h:12892
sip_subject_t * sip_subject_make(su_home_t *home, char const *s))
Make a Subject header structure sip_subject_t.
Definition: sip_protos.h:5543
sip_security_client_t * sip_security_client_copy(su_home_t *home, sip_security_client_t const *hdr))
Copy a list of Security-Client header header structures sip_security_client_t.
Definition: sip_protos.h:13368
sip_accept_t * sip_accept_format(su_home_t *home, char const *fmt,...)))
Make a Accept header from formatting result.
Definition: sip_protos.h:7240
sip_via_t * sip_via_format(su_home_t *home, char const *fmt,...)))
Make a Via header from formatting result.
Definition: sip_protos.h:814
sip_accept_t * sip_accept_copy(su_home_t *home, sip_accept_t const *hdr))
Copy a list of Accept header header structures sip_accept_t.
Definition: sip_protos.h:7180
issize_t sip_min_expires_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Min-Expires header.
sip_separator_t * sip_separator_format(su_home_t *home, char const *fmt,...)))
Make a separator line between headers and body from formatting result.
Definition: sip_protos.h:16760
sip_max_forwards_t * sip_max_forwards_init(sip_max_forwards_t x[1])
Initialize a structure sip_max_forwards_t.
Definition: sip_protos.h:1356
sip_content_encoding_t * sip_content_encoding_make(su_home_t *home, char const *s))
Make a Content-Encoding header structure sip_content_encoding_t.
Definition: sip_protos.h:15301
issize_t sip_error_info_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Error-Info header.
issize_t sip_content_language_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Content-Language header.
issize_t sip_if_match_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP SIP-If-Match header.
sip_status_t * sip_status_make(su_home_t *home, char const *s))
Make a status line structure sip_status_t.
Definition: sip_protos.h:545
sip_call_info_t * sip_call_info_format(su_home_t *home, char const *fmt,...)))
Make a Call-Info header from formatting result.
Definition: sip_protos.h:6050
msg_hclass_t sip_content_language_class[]
Header class for Content-Language header.
Definition: sip_mime.c:486
issize_t sip_require_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Require header.
int sip_is_min_expires(sip_header_t const *header)
Test if header object is instance of sip_min_expires_t.
Definition: sip_protos.h:5186
sip_warning_t * sip_warning_format(su_home_t *home, char const *fmt,...)))
Make a Warning header from formatting result.
Definition: sip_protos.h:11286
sip_authorization_t * sip_authorization_make(su_home_t *home, char const *s))
Make a Authorization header structure sip_authorization_t.
Definition: sip_protos.h:10303
sip_route_t * sip_route_init(sip_route_t x[1])
Initialize a structure sip_route_t.
Definition: sip_protos.h:880
@Hash of Referred-By header.
Definition: sip_hclasses.h:1156
issize_t sip_call_id_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Call-ID header.
Structure for Retry-After header.
Definition: sip.h:632
@Hash of Replaces header.
Definition: sip_hclasses.h:1179
msg_hclass_t sip_error_info_class[]
Header class for Error-Info header.
Definition: sip_extra.c:187
sip_min_se_t * sip_min_se_format(su_home_t *home, char const *fmt,...)))
Make a Min-SE header from formatting result.
Definition: sip_protos.h:12476
issize_t sip_timestamp_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Timestamp header.
@Hash of Max-Forwards header.
Definition: sip_hclasses.h:167
sip_allow_t * sip_allow_init(sip_allow_t x[1])
Initialize a structure sip_allow_t.
Definition: sip_protos.h:7782
int sip_is_security_verify(sip_header_t const *header)
Test if header object is instance of sip_security_verify_t.
Definition: sip_protos.h:13754
Structure for Error-Info header.
Definition: sip.h:523
msg_hclass_t sip_accept_encoding_class[]
Header class for Accept-Encoding header.
Definition: sip_mime.c:214
sip_organization_t * sip_organization_dup(su_home_t *home, sip_organization_t const *hdr))
Duplicate a list of Organization header header structures sip_organization_t.
Definition: sip_protos.h:6185
msg_hclass_t sip_service_route_class[]
Header class for Service-Route header.
Definition: sip_feature.c:583
sip_rack_t * sip_rack_format(su_home_t *home, char const *fmt,...)))
Make a RAck header from formatting result.
Definition: sip_protos.h:3432
msg_hclass_t sip_subject_class[]
Header class for Subject header.
Definition: sip_extra.c:607
sip_status_t * sip_status_copy(su_home_t *home, sip_status_t const *hdr))
Copy a list of status line header structures sip_status_t.
Definition: sip_protos.h:516
int sip_is_via(sip_header_t const *header)
Test if header object is instance of sip_via_t.
Definition: sip_protos.h:664
msg_hclass_t sip_record_route_class[]
Header class for Record-Route header.
Definition: sip_basic.c:2324
int sip_is_retry_after(sip_header_t const *header)
Test if header object is instance of sip_retry_after_t.
Definition: sip_protos.h:4710
@Hash of Require header.
Definition: sip_hclasses.h:811
sip_reason_t * sip_reason_make(su_home_t *home, char const *s))
Make a Reason header structure sip_reason_t.
Definition: sip_protos.h:13159
sip_route_t * sip_route_copy(su_home_t *home, sip_route_t const *hdr))
Copy a list of Route header header structures sip_route_t.
Definition: sip_protos.h:992
sip_proxy_require_t * sip_proxy_require_make(su_home_t *home, char const *s))
Make a Proxy-Require header structure sip_proxy_require_t.
Definition: sip_protos.h:1735
sip_separator_t * sip_separator_dup(su_home_t *home, sip_separator_t const *hdr))
Duplicate a list of separator line between headers and body header structures sip_separator_t.
Definition: sip_protos.h:16657
sip_security_server_t * sip_security_server_copy(su_home_t *home, sip_security_server_t const *hdr))
Copy a list of Security-Server header header structures sip_security_server_t.
Definition: sip_protos.h:13606
sip_security_client_t * sip_security_client_format(su_home_t *home, char const *fmt,...)))
Make a Security-Client header from formatting result.
Definition: sip_protos.h:13428
sip_call_info_t * sip_call_info_copy(su_home_t *home, sip_call_info_t const *hdr))
Copy a list of Call-Info header header structures sip_call_info_t.
Definition: sip_protos.h:5990
sip_privacy_t * sip_privacy_format(su_home_t *home, char const *fmt,...)))
Make a Privacy header from formatting result.
Definition: sip_protos.h:14142
sip_min_expires_t * sip_min_expires_copy(su_home_t *home, sip_min_expires_t const *hdr))
Copy a list of Min-Expires header header structures sip_min_expires_t.
Definition: sip_protos.h:5276
sip_unknown_t * sip_unknown_copy(su_home_t *home, sip_unknown_t const *hdr))
Copy a list of unknown headers header structures sip_unknown_t.
Definition: sip_protos.h:16224
sip_if_match_t * sip_if_match_make(su_home_t *home, char const *s))
Make a SIP-If-Match header structure sip_if_match_t.
Definition: sip_protos.h:14587
sip_mime_version_t * sip_mime_version_init(sip_mime_version_t x[1])
Initialize a structure sip_mime_version_t.
Definition: sip_protos.h:14684
Structure for Refer-To header.
Definition: sip.h:591
@Hash of MIME-Version header.
Definition: sip_hclasses.h:1455
issize_t sip_content_type_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Content-Type header.
sip_referred_by_t * sip_referred_by_make(su_home_t *home, char const *s))
Make a Referred-By header structure sip_referred_by_t.
Definition: sip_protos.h:11731
msg_hclass_t sip_www_authenticate_class[]
Header class for WWW-Authenticate header.
Definition: sip_security.c:311
int sip_is_max_forwards(sip_header_t const *header)
Test if header object is instance of sip_max_forwards_t.
Definition: sip_protos.h:1378
sip_status_t * sip_status_dup(su_home_t *home, sip_status_t const *hdr))
Duplicate a list of status line header structures sip_status_t.
Definition: sip_protos.h:473
issize_t sip_from_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP From header.
sip_reason_t * sip_reason_dup(su_home_t *home, sip_reason_t const *hdr))
Duplicate a list of Reason header header structures sip_reason_t.
Definition: sip_protos.h:13087
sip_via_t * sip_via_init(sip_via_t x[1])
Initialize a structure sip_via_t.
Definition: sip_protos.h:642
int sip_is_record_route(sip_header_t const *header)
Test if header object is instance of sip_record_route_t.
Definition: sip_protos.h:1140
@Hash of RAck header.
Definition: sip_hclasses.h:351
sip_path_t * sip_path_format(su_home_t *home, char const *fmt,...)))
Make a Path header from formatting result.
Definition: sip_protos.h:12714
sip_accept_t * sip_accept_make(su_home_t *home, char const *s))
Make a Accept header structure sip_accept_t.
Definition: sip_protos.h:7209
sip_allow_events_t * sip_allow_events_init(sip_allow_events_t x[1])
Initialize a structure sip_allow_events_t.
Definition: sip_protos.h:8972
sip_proxy_authenticate_t * sip_proxy_authenticate_copy(su_home_t *home, sip_proxy_authenticate_t const *hdr))
Copy a list of Proxy-Authenticate header header structures sip_proxy_authenticate_t.
Definition: sip_protos.h:9560
sip_retry_after_t * sip_retry_after_dup(su_home_t *home, sip_retry_after_t const *hdr))
Duplicate a list of Retry-After header header structures sip_retry_after_t.
Definition: sip_protos.h:4757
@Hash of Accept header.
Definition: sip_hclasses.h:719
int sip_is_event(sip_header_t const *header)
Test if header object is instance of sip_event_t.
Definition: sip_protos.h:8756
@Hash of Min-SE header.
Definition: sip_hclasses.h:1225
@Hash of Server header.
Definition: sip_hclasses.h:650
issize_t sip_separator_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP separator line between headers and body.
sip_accept_encoding_t * sip_accept_encoding_dup(su_home_t *home, sip_accept_encoding_t const *hdr))
Duplicate a list of Accept-Encoding header header structures sip_accept_encoding_t.
Definition: sip_protos.h:7375
Structure for Timestamp header.
Definition: sip.h:741
issize_t sip_unknown_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP unknown headers.
sip_accept_encoding_t * sip_accept_encoding_init(sip_accept_encoding_t x[1])
Initialize a structure sip_accept_encoding_t.
Definition: sip_protos.h:7306
sip_min_se_t * sip_min_se_make(su_home_t *home, char const *s))
Make a Min-SE header structure sip_min_se_t.
Definition: sip_protos.h:12445
sip_replaces_t * sip_replaces_make(su_home_t *home, char const *s))
Make a Replaces header structure sip_replaces_t.
Definition: sip_protos.h:11969
sip_proxy_authorization_t * sip_proxy_authorization_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Authorization header from formatting result.
Definition: sip_protos.h:10096
sip_content_length_t * sip_content_length_copy(su_home_t *home, sip_content_length_t const *hdr))
Copy a list of Content-Length header header structures sip_content_length_t.
Definition: sip_protos.h:15986
sip_www_authenticate_t * sip_www_authenticate_make(su_home_t *home, char const *s))
Make a WWW-Authenticate header structure sip_www_authenticate_t.
Definition: sip_protos.h:10541
issize_t sip_allow_events_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Allow-Events header.
issize_t sip_date_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Date header.
sip_require_t * sip_require_init(sip_require_t x[1])
Initialize a structure sip_require_t.
Definition: sip_protos.h:8020
sip_content_language_t * sip_content_language_dup(su_home_t *home, sip_content_language_t const *hdr))
Duplicate a list of Content-Language header header structures sip_content_language_t.
Definition: sip_protos.h:15467
@Hash of Authorization header.
Definition: sip_hclasses.h:1018
int sip_is_rseq(sip_header_t const *header)
Test if header object is instance of sip_rseq_t.
Definition: sip_protos.h:3044
int sip_is_security_server(sip_header_t const *header)
Test if header object is instance of sip_security_server_t.
Definition: sip_protos.h:13516
msg_hclass_t sip_session_expires_class[]
Header class for Session-Expires header.
Definition: sip_session.c:91
int sip_is_path(sip_header_t const *header)
Test if header object is instance of sip_path_t.
Definition: sip_protos.h:12564
sip_priority_t * sip_priority_copy(su_home_t *home, sip_priority_t const *hdr))
Copy a list of Priority header header structures sip_priority_t.
Definition: sip_protos.h:5752
Structure for Replaces header.
Definition: sip.h:617
sip_authorization_t * sip_authorization_dup(su_home_t *home, sip_authorization_t const *hdr))
Duplicate a list of Authorization header header structures sip_authorization_t.
Definition: sip_protos.h:10231
int sip_is_to(sip_header_t const *header)
Test if header object is instance of sip_to_t.
Definition: sip_protos.h:2092
msg_hclass_t sip_content_type_class[]
Header class for Content-Type header.
Definition: sip_mime.c:551
@Hash of Subject header.
Definition: sip_hclasses.h:558
sip_request_t * sip_request_format(su_home_t *home, char const *fmt,...)))
Make a request line from formatting result.
Definition: sip_protos.h:338
@Hash of Expires header.
Definition: sip_hclasses.h:443
issize_t sip_status_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP status line.
msg_hclass_t sip_priority_class[]
Header class for Priority header.
Definition: sip_extra.c:505
int sip_is_rack(sip_header_t const *header)
Test if header object is instance of sip_rack_t.
Definition: sip_protos.h:3282
sip_if_match_t * sip_if_match_copy(su_home_t *home, sip_if_match_t const *hdr))
Copy a list of SIP-If-Match header header structures sip_if_match_t.
Definition: sip_protos.h:14558
msg_hclass_t sip_unsupported_class[]
Header class for Unsupported header.
Definition: sip_feature.c:325
Structure for RSeq header.
Definition: sip.h:692
sip_allow_events_t * sip_allow_events_copy(su_home_t *home, sip_allow_events_t const *hdr))
Copy a list of Allow-Events header header structures sip_allow_events_t.
Definition: sip_protos.h:9084
sip_organization_t * sip_organization_make(su_home_t *home, char const *s))
Make a Organization header structure sip_organization_t.
Definition: sip_protos.h:6257
Structure for Subscription-State header.
Definition: sip.h:726
sip_in_reply_to_t * sip_in_reply_to_format(su_home_t *home, char const *fmt,...)))
Make a In-Reply-To header from formatting result.
Definition: sip_protos.h:7002
sip_timestamp_t * sip_timestamp_format(su_home_t *home, char const *fmt,...)))
Make a Timestamp header from formatting result.
Definition: sip_protos.h:5098
issize_t sip_path_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Path header.
issize_t sip_security_verify_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Security-Verify header.
sip_etag_t * sip_etag_format(su_home_t *home, char const *fmt,...)))
Make a SIP-ETag header from formatting result.
Definition: sip_protos.h:14380
@Hash of Organization header.
Definition: sip_hclasses.h:627
sip_content_encoding_t * sip_content_encoding_init(sip_content_encoding_t x[1])
Initialize a structure sip_content_encoding_t.
Definition: sip_protos.h:15160
@Hash of Path header.
Definition: sip_hclasses.h:1248
issize_t sip_warning_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Warning header.
@Hash of Content-Length header.
Definition: sip_hclasses.h:1570
issize_t sip_rseq_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP RSeq header.
msg_hclass_t sip_path_class[]
Header class for Path header.
Definition: sip_feature.c:528
sip_payload_t * sip_payload_make(su_home_t *home, char const *s))
Make a message payload structure sip_payload_t.
Definition: sip_protos.h:16967
sip_accept_t * sip_accept_dup(su_home_t *home, sip_accept_t const *hdr))
Duplicate a list of Accept header header structures sip_accept_t.
Definition: sip_protos.h:7137
sip_proxy_require_t * sip_proxy_require_init(sip_proxy_require_t x[1])
Initialize a structure sip_proxy_require_t.
Definition: sip_protos.h:1594
Structure for Min-SE header.
Definition: sip.h:715
msg_hclass_t sip_route_class[]
Header class for Route header.
Definition: sip_basic.c:2251
issize_t sip_session_expires_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Session-Expires header.
issize_t sip_organization_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Organization header.
sip_via_t * sip_via_dup(su_home_t *home, sip_via_t const *hdr))
Duplicate a list of Via header header structures sip_via_t.
Definition: sip_protos.h:711
sip_retry_after_t * sip_retry_after_format(su_home_t *home, char const *fmt,...)))
Make a Retry-After header from formatting result.
Definition: sip_protos.h:4860
Structure for Min-Expires header.
Definition: sip.h:568
int sip_header_remove(msg_t *msg, sip_t *sip, sip_header_t *h)
Remove a header from a SIP message.
Definition: sip_protos.h:86
@Hash of Subscription-State header.
Definition: sip_hclasses.h:926
sip_session_expires_t * sip_session_expires_make(su_home_t *home, char const *s))
Make a Session-Expires header structure sip_session_expires_t.
Definition: sip_protos.h:12207
issize_t sip_subject_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Subject header.
sip_expires_t * sip_expires_dup(su_home_t *home, sip_expires_t const *hdr))
Duplicate a list of Expires header header structures sip_expires_t.
Definition: sip_protos.h:4281
sip_accept_encoding_t * sip_accept_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Encoding header from formatting result.
Definition: sip_protos.h:7478
int sip_is_priority(sip_header_t const *header)
Test if header object is instance of sip_priority_t.
Definition: sip_protos.h:5662
sip_path_t * sip_path_copy(su_home_t *home, sip_path_t const *hdr))
Copy a list of Path header header structures sip_path_t.
Definition: sip_protos.h:12654
Structure for From and To headers.
Definition: sip.h:381
sip_request_t * sip_request_init(sip_request_t x[1])
Initialize a structure sip_request_t.
Definition: sip_protos.h:166
sip_security_client_t * sip_security_client_dup(su_home_t *home, sip_security_client_t const *hdr))
Duplicate a list of Security-Client header header structures sip_security_client_t.
Definition: sip_protos.h:13325
sip_authentication_info_t * sip_authentication_info_init(sip_authentication_info_t x[1])
Initialize a structure sip_authentication_info_t.
Definition: sip_protos.h:10638
msg_hclass_t sip_allow_events_class[]
Header class for Allow-Events header.
Definition: sip_event.c:209
issize_t sip_error_info_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Error-Info header.
@Hash of Route header.
Definition: sip_hclasses.h:121
issize_t sip_call_info_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Call-Info header.
issize_t sip_event_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Event header.
sip_warning_t * sip_warning_make(su_home_t *home, char const *s))
Make a Warning header structure sip_warning_t.
Definition: sip_protos.h:11255
sip_call_info_t * sip_call_info_dup(su_home_t *home, sip_call_info_t const *hdr))
Duplicate a list of Call-Info header header structures sip_call_info_t.
Definition: sip_protos.h:5947
issize_t sip_via_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Via header.
issize_t sip_via_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Via header.
sip_call_id_t * sip_call_id_format(su_home_t *home, char const *fmt,...)))
Make a Call-ID header from formatting result.
Definition: sip_protos.h:2480
int sip_is_warning(sip_header_t const *header)
Test if header object is instance of sip_warning_t.
Definition: sip_protos.h:11136
issize_t sip_service_route_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Service-Route header.
issize_t sip_www_authenticate_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP WWW-Authenticate header.
msg_hclass_t sip_accept_language_class[]
Header class for Accept-Language header.
Definition: sip_mime.c:280
union sip_header_u sip_header_t
Any SIP header - union of all possible SIP headers.
Definition: sip.h:114
sip_rseq_t * sip_rseq_format(su_home_t *home, char const *fmt,...)))
Make a RSeq header from formatting result.
Definition: sip_protos.h:3194
issize_t sip_if_match_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP SIP-If-Match header.
@Hash of Content-Type header.
Definition: sip_hclasses.h:1478
sip_accept_language_t * sip_accept_language_copy(su_home_t *home, sip_accept_language_t const *hdr))
Copy a list of Accept-Language header header structures sip_accept_language_t.
Definition: sip_protos.h:7656
sip_content_type_t * sip_content_type_dup(su_home_t *home, sip_content_type_t const *hdr))
Duplicate a list of Content-Type header header structures sip_content_type_t.
Definition: sip_protos.h:14991
issize_t sip_cseq_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP CSeq header.
int sip_is_status(sip_header_t const *header)
Test if header object is instance of sip_status_t.
Definition: sip_protos.h:426
sip_payload_t * sip_payload_init(sip_payload_t x[1])
Initialize a structure sip_payload_t.
Definition: sip_protos.h:16826
@Hash of CSeq header.
Definition: sip_hclasses.h:282
sip_separator_t * sip_separator_make(su_home_t *home, char const *s))
Make a separator line between headers and body structure sip_separator_t.
Definition: sip_protos.h:16729
issize_t sip_unsupported_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Unsupported header.
Structure for Security-Client, Security-Server, and Security-Verify headers.
Definition: sip.h:773
sip_session_expires_t * sip_session_expires_copy(su_home_t *home, sip_session_expires_t const *hdr))
Copy a list of Session-Expires header header structures sip_session_expires_t.
Definition: sip_protos.h:12178
sip_proxy_require_t * sip_proxy_require_copy(su_home_t *home, sip_proxy_require_t const *hdr))
Copy a list of Proxy-Require header header structures sip_proxy_require_t.
Definition: sip_protos.h:1706
msg_hclass_t sip_call_id_class[]
Header class for Call-ID header.
Definition: sip_basic.c:1045
@Hash of Allow header.
Definition: sip_hclasses.h:788
@Hash of Min-Expires header.
Definition: sip_hclasses.h:535
msg_hclass_t sip_payload_class[]
Header class for message payload.
Definition: sip_basic.c:433
issize_t sip_supported_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Supported header.
sip_min_expires_t * sip_min_expires_make(su_home_t *home, char const *s))
Make a Min-Expires header structure sip_min_expires_t.
Definition: sip_protos.h:5305
int sip_is_call_id(sip_header_t const *header)
Test if header object is instance of sip_call_id_t.
Definition: sip_protos.h:2330
issize_t sip_path_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Path header.
sip_replaces_t * sip_replaces_copy(su_home_t *home, sip_replaces_t const *hdr))
Copy a list of Replaces header header structures sip_replaces_t.
Definition: sip_protos.h:11940
msg_hclass_t sip_proxy_authentication_info_class[]
Header class for Proxy-Authentication-Info header.
Definition: sip_security.c:434
issize_t sip_warning_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Warning header.
int sip_is_reason(sip_header_t const *header)
Test if header object is instance of sip_reason_t.
Definition: sip_protos.h:13040
sip_allow_events_t * sip_allow_events_format(su_home_t *home, char const *fmt,...)))
Make a Allow-Events header from formatting result.
Definition: sip_protos.h:9144
Structure for Allow header field.
Definition: sip.h:414
msg_hclass_t sip_proxy_require_class[]
Header class for Proxy-Require header.
Definition: sip_feature.c:181
msg_hclass_t sip_rseq_class[]
Header class for RSeq header.
Definition: sip_prack.c:192
sip_error_t * sip_error_make(su_home_t *home, char const *s))
Make a erroneous headers structure sip_error_t.
Definition: sip_protos.h:16491
int sip_is_user_agent(sip_header_t const *header)
Test if header object is instance of sip_user_agent_t.
Definition: sip_protos.h:6614
issize_t sip_user_agent_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP User-Agent header.
@Hash of Accept-Encoding header.
Definition: sip_hclasses.h:742
sip_proxy_authentication_info_t * sip_proxy_authentication_info_dup(su_home_t *home, sip_proxy_authentication_info_t const *hdr))
Duplicate a list of Proxy-Authentication-Info header header structures sip_proxy_authentication_info_...
Definition: sip_protos.h:9755
sip_from_t * sip_from_init(sip_from_t x[1])
Initialize a structure sip_from_t.
Definition: sip_protos.h:1832
@Hash of Service-Route header.
Definition: sip_hclasses.h:1271
sip_organization_t * sip_organization_format(su_home_t *home, char const *fmt,...)))
Make a Organization header from formatting result.
Definition: sip_protos.h:6288
msg_hclass_t sip_etag_class[]
Header class for SIP-ETag header.
Definition: sip_extra.c:820
int sip_is_content_language(sip_header_t const *header)
Test if header object is instance of sip_content_language_t.
Definition: sip_protos.h:15420
sip_via_t * sip_via_copy(su_home_t *home, sip_via_t const *hdr))
Copy a list of Via header header structures sip_via_t.
Definition: sip_protos.h:754
sip_privacy_t * sip_privacy_copy(su_home_t *home, sip_privacy_t const *hdr))
Copy a list of Privacy header header structures sip_privacy_t.
Definition: sip_protos.h:14082
issize_t sip_mime_version_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP MIME-Version header.
sip_reason_t * sip_reason_copy(su_home_t *home, sip_reason_t const *hdr))
Copy a list of Reason header header structures sip_reason_t.
Definition: sip_protos.h:13130
sip_www_authenticate_t * sip_www_authenticate_format(su_home_t *home, char const *fmt,...)))
Make a WWW-Authenticate header from formatting result.
Definition: sip_protos.h:10572
sip_content_language_t * sip_content_language_init(sip_content_language_t x[1])
Initialize a structure sip_content_language_t.
Definition: sip_protos.h:15398
int sip_is_content_type(sip_header_t const *header)
Test if header object is instance of sip_content_type_t.
Definition: sip_protos.h:14944
sip_call_info_t * sip_call_info_make(su_home_t *home, char const *s))
Make a Call-Info header structure sip_call_info_t.
Definition: sip_protos.h:6019
sip_security_verify_t * sip_security_verify_dup(su_home_t *home, sip_security_verify_t const *hdr))
Duplicate a list of Security-Verify header header structures sip_security_verify_t.
Definition: sip_protos.h:13801
char const * sip_header_name(sip_header_t const *h, int compact)
Return name of the header.
Definition: sip_protos.h:93
sip_supported_t * sip_supported_format(su_home_t *home, char const *fmt,...)))
Make a Supported header from formatting result.
Definition: sip_protos.h:8430
sip_etag_t * sip_etag_make(su_home_t *home, char const *s))
Make a SIP-ETag header structure sip_etag_t.
Definition: sip_protos.h:14349
issize_t sip_request_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP request line.
msg_hclass_t sip_organization_class[]
Header class for Organization header.
Definition: sip_extra.c:456
sip_mime_version_t * sip_mime_version_copy(su_home_t *home, sip_mime_version_t const *hdr))
Copy a list of MIME-Version header header structures sip_mime_version_t.
Definition: sip_protos.h:14796
sip_security_server_t * sip_security_server_make(su_home_t *home, char const *s))
Make a Security-Server header structure sip_security_server_t.
Definition: sip_protos.h:13635
issize_t sip_status_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP status line.
int sip_is_service_route(sip_header_t const *header)
Test if header object is instance of sip_service_route_t.
Definition: sip_protos.h:12802
issize_t sip_rack_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP RAck header.
@Hash of Event header.
Definition: sip_hclasses.h:880
msg_hclass_t sip_status_class[]
Header class for status line.
Definition: sip_basic.c:295
msg_hclass_t sip_content_encoding_class[]
Header class for Content-Encoding header.
Definition: sip_mime.c:436
msg_hclass_t sip_supported_class[]
Header class for Supported header.
Definition: sip_feature.c:278
issize_t sip_security_client_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Security-Client header.
@Hash of Security-Verify header.
Definition: sip_hclasses.h:1363
int sip_is_content_encoding(sip_header_t const *header)
Test if header object is instance of sip_content_encoding_t.
Definition: sip_protos.h:15182
sip_date_t * sip_date_init(sip_date_t x[1])
Initialize a structure sip_date_t.
Definition: sip_protos.h:4450
sip_content_type_t * sip_content_type_init(sip_content_type_t x[1])
Initialize a structure sip_content_type_t.
Definition: sip_protos.h:14922
issize_t sip_call_info_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Call-Info header.
sip_request_disposition_t * sip_request_disposition_copy(su_home_t *home, sip_request_disposition_t const *hdr))
Copy a list of Request-Disposition header header structures sip_request_disposition_t.
Definition: sip_protos.h:3610
sip_content_language_t * sip_content_language_copy(su_home_t *home, sip_content_language_t const *hdr))
Copy a list of Content-Language header header structures sip_content_language_t.
Definition: sip_protos.h:15510
sip_to_t * sip_to_dup(su_home_t *home, sip_to_t const *hdr))
Duplicate a list of To header header structures sip_to_t.
Definition: sip_protos.h:2139
int sip_is_etag(sip_header_t const *header)
Test if header object is instance of sip_etag_t.
Definition: sip_protos.h:14230
sip_event_t * sip_event_format(su_home_t *home, char const *fmt,...)))
Make a Event header from formatting result.
Definition: sip_protos.h:8906
sip_content_disposition_t * sip_content_disposition_dup(su_home_t *home, sip_content_disposition_t const *hdr))
Duplicate a list of Content-Disposition header header structures sip_content_disposition_t.
Definition: sip_protos.h:15705
sip_event_t * sip_event_copy(su_home_t *home, sip_event_t const *hdr))
Copy a list of Event header header structures sip_event_t.
Definition: sip_protos.h:8846
int sip_is_if_match(sip_header_t const *header)
Test if header object is instance of sip_if_match_t.
Definition: sip_protos.h:14468
int sip_is_error_info(sip_header_t const *header)
Test if header object is instance of sip_error_info_t.
Definition: sip_protos.h:10898
issize_t sip_allow_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Allow header.
sip_content_encoding_t * sip_content_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Content-Encoding header from formatting result.
Definition: sip_protos.h:15332
sip_error_info_t * sip_error_info_init(sip_error_info_t x[1])
Initialize a structure sip_error_info_t.
Definition: sip_protos.h:10876
sip_content_disposition_t * sip_content_disposition_format(su_home_t *home, char const *fmt,...)))
Make a Content-Disposition header from formatting result.
Definition: sip_protos.h:15808
int sip_is_subscription_state(sip_header_t const *header)
Test if header object is instance of sip_subscription_state_t.
Definition: sip_protos.h:9232
Structure for SIP status line.
Definition: sip.h:369
msg_hclass_t sip_authorization_class[]
Header class for Authorization header.
Definition: sip_security.c:130
msg_hclass_t sip_retry_after_class[]
Header class for Retry-After header.
Definition: sip_basic.c:2002
issize_t sip_content_disposition_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Content-Disposition header.
int sip_is_from(sip_header_t const *header)
Test if header object is instance of sip_from_t.
Definition: sip_protos.h:1854
sip_authorization_t * sip_authorization_init(sip_authorization_t x[1])
Initialize a structure sip_authorization_t.
Definition: sip_protos.h:10162
issize_t sip_unsupported_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Unsupported header.
sip_t * sip_object(msg_t const *msg)
Get SIP structure from msg.
Definition: sip_protos.h:55
sip_timestamp_t * sip_timestamp_make(su_home_t *home, char const *s))
Make a Timestamp header structure sip_timestamp_t.
Definition: sip_protos.h:5067
sip_user_agent_t * sip_user_agent_init(sip_user_agent_t x[1])
Initialize a structure sip_user_agent_t.
Definition: sip_protos.h:6592
@Hash of Security-Client header.
Definition: sip_hclasses.h:1317
sip_authorization_t * sip_authorization_format(su_home_t *home, char const *fmt,...)))
Make a Authorization header from formatting result.
Definition: sip_protos.h:10334
sip_accept_t * sip_accept_init(sip_accept_t x[1])
Initialize a structure sip_accept_t.
Definition: sip_protos.h:7068
issize_t sip_content_disposition_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Content-Disposition header.
sip_privacy_t * sip_privacy_make(su_home_t *home, char const *s))
Make a Privacy header structure sip_privacy_t.
Definition: sip_protos.h:14111
@Hash of Allow-Events header.
Definition: sip_hclasses.h:903
sip_require_t * sip_require_dup(su_home_t *home, sip_require_t const *hdr))
Duplicate a list of Require header header structures sip_require_t.
Definition: sip_protos.h:8089
issize_t sip_rack_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP RAck header.
sip_replaces_t * sip_replaces_dup(su_home_t *home, sip_replaces_t const *hdr))
Duplicate a list of Replaces header header structures sip_replaces_t.
Definition: sip_protos.h:11897
sip_rseq_t * sip_rseq_init(sip_rseq_t x[1])
Initialize a structure sip_rseq_t.
Definition: sip_protos.h:3022
sip_etag_t * sip_etag_copy(su_home_t *home, sip_etag_t const *hdr))
Copy a list of SIP-ETag header header structures sip_etag_t.
Definition: sip_protos.h:14320
msg_hclass_t sip_reason_class[]
Header class for Reason header.
Definition: sip_reason.c:94
@Hash of Session-Expires header.
Definition: sip_hclasses.h:1202
msg_hclass_t sip_to_class[]
Header class for To header.
Definition: sip_basic.c:2400
int sip_is_authorization(sip_header_t const *header)
Test if header object is instance of sip_authorization_t.
Definition: sip_protos.h:10184
@Hash of Proxy-Authentication-Info header.
Definition: sip_hclasses.h:972
issize_t sip_organization_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Organization header.
issize_t sip_payload_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP message payload.
issize_t sip_supported_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Supported header.
sip_unsupported_t * sip_unsupported_init(sip_unsupported_t x[1])
Initialize a structure sip_unsupported_t.
Definition: sip_protos.h:8496
int sip_is_proxy_require(sip_header_t const *header)
Test if header object is instance of sip_proxy_require_t.
Definition: sip_protos.h:1616
issize_t sip_expires_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Expires header.
int sip_is_timestamp(sip_header_t const *header)
Test if header object is instance of sip_timestamp_t.
Definition: sip_protos.h:4948
issize_t sip_subscription_state_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Subscription-State header.
sip_require_t * sip_require_copy(su_home_t *home, sip_require_t const *hdr))
Copy a list of Require header header structures sip_require_t.
Definition: sip_protos.h:8132
Structure for CSeq header.
Definition: sip.h:460
@Hash of Unsupported header.
Definition: sip_hclasses.h:857
msg_hclass_t sip_referred_by_class[]
Header class for Referred-By header.
Definition: sip_refer.c:221
sip_retry_after_t * sip_retry_after_copy(su_home_t *home, sip_retry_after_t const *hdr))
Copy a list of Retry-After header header structures sip_retry_after_t.
Definition: sip_protos.h:4800
sip_session_expires_t * sip_session_expires_dup(su_home_t *home, sip_session_expires_t const *hdr))
Duplicate a list of Session-Expires header header structures sip_session_expires_t.
Definition: sip_protos.h:12135
issize_t sip_proxy_authorization_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Proxy-Authorization header.
issize_t sip_error_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP erroneous headers.
Definition: sip_basic.c:606
sip_unsupported_t * sip_unsupported_copy(su_home_t *home, sip_unsupported_t const *hdr))
Copy a list of Unsupported header header structures sip_unsupported_t.
Definition: sip_protos.h:8608
issize_t sip_reason_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Reason header.
sip_content_disposition_t * sip_content_disposition_copy(su_home_t *home, sip_content_disposition_t const *hdr))
Copy a list of Content-Disposition header header structures sip_content_disposition_t.
Definition: sip_protos.h:15748
sip_unknown_t * sip_unknown_dup(su_home_t *home, sip_unknown_t const *hdr))
Duplicate a list of unknown headers header structures sip_unknown_t.
Definition: sip_protos.h:16181
issize_t sip_accept_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Accept header.
Structure for SIP request line.
Definition: sip.h:356
sip_from_t * sip_from_make(su_home_t *home, char const *s))
Make a From header structure sip_from_t.
Definition: sip_protos.h:1973
int sip_is_unknown(sip_header_t const *header)
Test if header object is instance of sip_unknown_t.
Definition: sip_protos.h:16134
sip_service_route_t * sip_service_route_init(sip_service_route_t x[1])
Initialize a structure sip_service_route_t.
Definition: sip_protos.h:12780
sip_session_expires_t * sip_session_expires_init(sip_session_expires_t x[1])
Initialize a structure sip_session_expires_t.
Definition: sip_protos.h:12066
sip_payload_t * sip_payload_dup(su_home_t *home, sip_payload_t const *hdr))
Duplicate a list of message payload header structures sip_payload_t.
Definition: sip_protos.h:16895
issize_t sip_priority_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Priority header.
@Hash of SIP-If-Match header.
Definition: sip_hclasses.h:1432
@Hash of status line.
Definition: sip_hclasses.h:75
msg_hclass_t sip_rack_class[]
Header class for RAck header.
Definition: sip_prack.c:94
sip_content_type_t * sip_content_type_copy(su_home_t *home, sip_content_type_t const *hdr))
Copy a list of Content-Type header header structures sip_content_type_t.
Definition: sip_protos.h:15034
issize_t sip_replaces_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Replaces header.
issize_t sip_proxy_authentication_info_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Proxy-Authentication-Info header.
issize_t sip_cseq_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP CSeq header.
issize_t sip_allow_events_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Allow-Events header.
sip_min_se_t * sip_min_se_init(sip_min_se_t x[1])
Initialize a structure sip_min_se_t.
Definition: sip_protos.h:12304
@Hash of Content-Encoding header.
Definition: sip_hclasses.h:1501
sip_referred_by_t * sip_referred_by_format(su_home_t *home, char const *fmt,...)))
Make a Referred-By header from formatting result.
Definition: sip_protos.h:11762
msg_hclass_t sip_timestamp_class[]
Header class for Timestamp header.
Definition: sip_extra.c:663
issize_t sip_request_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP request line.
@Hash of Content-Language header.
Definition: sip_hclasses.h:1524
int sip_is_separator(sip_header_t const *header)
Test if header object is instance of sip_separator_t.
Definition: sip_protos.h:16610
int sip_is_allow(sip_header_t const *header)
Test if header object is instance of sip_allow_t.
Definition: sip_protos.h:7804
@Hash of WWW-Authenticate header.
Definition: sip_hclasses.h:1041
msg_accept_any_t sip_accept_encoding_t
The structure sip_accept_encoding_t contains representation of SIP Accept-Encoding header...
Definition: sip.h:140
sip_separator_t * sip_separator_copy(su_home_t *home, sip_separator_t const *hdr))
Copy a list of separator line between headers and body header structures sip_separator_t.
Definition: sip_protos.h:16700
sip_proxy_authentication_info_t * sip_proxy_authentication_info_init(sip_proxy_authentication_info_t x[1])
Initialize a structure sip_proxy_authentication_info_t.
Definition: sip_protos.h:9686
msg_hclass_t sip_error_class[]
Header class for erroneous headers.
Definition: sip_basic.c:598
sip_event_t * sip_event_make(su_home_t *home, char const *s))
Make a Event header structure sip_event_t.
Definition: sip_protos.h:8875
sip_warning_t * sip_warning_init(sip_warning_t x[1])
Initialize a structure sip_warning_t.
Definition: sip_protos.h:11114
int sip_is_privacy(sip_header_t const *header)
Test if header object is instance of sip_privacy_t.
Definition: sip_protos.h:13992
sip_error_t * sip_error_format(su_home_t *home, char const *fmt,...)))
Make a erroneous headers from formatting result.
Definition: sip_protos.h:16522
issize_t sip_proxy_authenticate_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Proxy-Authenticate header.
sip_path_t * sip_path_dup(su_home_t *home, sip_path_t const *hdr))
Duplicate a list of Path header header structures sip_path_t.
Definition: sip_protos.h:12611
msg_accept_any_t sip_accept_language_t
The structure sip_accept_language_t contains representation of SIP Accept-Language header...
Definition: sip.h:141
@Hash of Proxy-Require header.
Definition: sip_hclasses.h:190
int sip_is_security_client(sip_header_t const *header)
Test if header object is instance of sip_security_client_t.
Definition: sip_protos.h:13278
sip_request_disposition_t * sip_request_disposition_format(su_home_t *home, char const *fmt,...)))
Make a Request-Disposition header from formatting result.
Definition: sip_protos.h:3670
issize_t sip_route_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Route header.
Structure for Request-Disposition header.
Definition: sip.h:644
sip_allow_t * sip_allow_dup(su_home_t *home, sip_allow_t const *hdr))
Duplicate a list of Allow header header structures sip_allow_t.
Definition: sip_protos.h:7851
issize_t sip_content_length_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Content-Length header.
sip_cseq_t * sip_cseq_format(su_home_t *home, char const *fmt,...)))
Make a CSeq header from formatting result.
Definition: sip_protos.h:2718
sip_server_t * sip_server_init(sip_server_t x[1])
Initialize a structure sip_server_t.
Definition: sip_protos.h:6354
sip_authorization_t * sip_authorization_copy(su_home_t *home, sip_authorization_t const *hdr))
Copy a list of Authorization header header structures sip_authorization_t.
Definition: sip_protos.h:10274
@Hash of unknown headers.
Definition: sip_hclasses.h:1593
sip_max_forwards_t * sip_max_forwards_format(su_home_t *home, char const *fmt,...)))
Make a Max-Forwards header from formatting result.
Definition: sip_protos.h:1528
sip_allow_t * sip_allow_make(su_home_t *home, char const *s))
Make a Allow header structure sip_allow_t.
Definition: sip_protos.h:7923
sip_error_info_t * sip_error_info_make(su_home_t *home, char const *s))
Make a Error-Info header structure sip_error_info_t.
Definition: sip_protos.h:11017
sip_priority_t * sip_priority_format(su_home_t *home, char const *fmt,...)))
Make a Priority header from formatting result.
Definition: sip_protos.h:5812
msg_hclass_t sip_refer_to_class[]
Header class for Refer-To header.
Definition: sip_refer.c:93
sip_if_match_t * sip_if_match_format(su_home_t *home, char const *fmt,...)))
Make a SIP-If-Match header from formatting result.
Definition: sip_protos.h:14618
sip_replaces_t * sip_replaces_format(su_home_t *home, char const *fmt,...)))
Make a Replaces header from formatting result.
Definition: sip_protos.h:12000
issize_t sip_in_reply_to_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP In-Reply-To header.
sip_priority_t * sip_priority_make(su_home_t *home, char const *s))
Make a Priority header structure sip_priority_t.
Definition: sip_protos.h:5781
sip_security_server_t * sip_security_server_init(sip_security_server_t x[1])
Initialize a structure sip_security_server_t.
Definition: sip_protos.h:13494
sip_security_server_t * sip_security_server_dup(su_home_t *home, sip_security_server_t const *hdr))
Duplicate a list of Security-Server header header structures sip_security_server_t.
Definition: sip_protos.h:13563
sip_proxy_require_t * sip_proxy_require_dup(su_home_t *home, sip_proxy_require_t const *hdr))
Duplicate a list of Proxy-Require header header structures sip_proxy_require_t.
Definition: sip_protos.h:1663
issize_t sip_security_client_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Security-Client header.
msg_hclass_t sip_proxy_authorization_class[]
Header class for Proxy-Authorization header.
Definition: sip_security.c:256
sip_supported_t * sip_supported_dup(su_home_t *home, sip_supported_t const *hdr))
Duplicate a list of Supported header header structures sip_supported_t.
Definition: sip_protos.h:8327
sip_expires_t * sip_expires_make(su_home_t *home, char const *s))
Make a Expires header structure sip_expires_t.
Definition: sip_protos.h:4353
msg_hclass_t sip_security_server_class[]
Header class for Security-Server header.
Definition: sip_security.c:653
issize_t sip_www_authenticate_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP WWW-Authenticate header.
sip_call_info_t * sip_call_info_init(sip_call_info_t x[1])
Initialize a structure sip_call_info_t.
Definition: sip_protos.h:5878
sip_mime_version_t * sip_mime_version_dup(su_home_t *home, sip_mime_version_t const *hdr))
Duplicate a list of MIME-Version header header structures sip_mime_version_t.
Definition: sip_protos.h:14753
issize_t sip_referred_by_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Referred-By header.
issize_t sip_content_length_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Content-Length header.
msg_hclass_t sip_min_se_class[]
Header class for Min-SE header.
Definition: sip_session.c:200
sip_if_match_t * sip_if_match_dup(su_home_t *home, sip_if_match_t const *hdr))
Duplicate a list of SIP-If-Match header header structures sip_if_match_t.
Definition: sip_protos.h:14515
#define SIP_NONE
Magic pointer value - never valid for SIP headers.
Definition: sip.h:84
sip_max_forwards_t * sip_max_forwards_dup(su_home_t *home, sip_max_forwards_t const *hdr))
Duplicate a list of Max-Forwards header header structures sip_max_forwards_t.
Definition: sip_protos.h:1425
sip_privacy_t * sip_privacy_init(sip_privacy_t x[1])
Initialize a structure sip_privacy_t.
Definition: sip_protos.h:13970
#define SIP_PROTOCOL_TAG
SIP protocol identifier.
Definition: sip.h:87
@Hash of Priority header.
Definition: sip_hclasses.h:581
msg_hclass_t sip_if_match_class[]
Header class for SIP-If-Match header.
Definition: sip_extra.c:868
issize_t sip_content_encoding_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Content-Encoding header.
@Hash of Authentication-Info header.
Definition: sip_hclasses.h:1064
sip_to_t * sip_to_format(su_home_t *home, char const *fmt,...)))
Make a To header from formatting result.
Definition: sip_protos.h:2242
issize_t sip_privacy_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Privacy header.
sip_allow_events_t * sip_allow_events_make(su_home_t *home, char const *s))
Make a Allow-Events header structure sip_allow_events_t.
Definition: sip_protos.h:9113
issize_t sip_record_route_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Record-Route header.
@Hash of Accept-Language header.
Definition: sip_hclasses.h:765
@Hash of To header.
Definition: sip_hclasses.h:236
issize_t sip_mime_version_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP MIME-Version header.
Declarations of SIP header classes.
sip_authentication_info_t * sip_authentication_info_copy(su_home_t *home, sip_authentication_info_t const *hdr))
Copy a list of Authentication-Info header header structures sip_authentication_info_t.
Definition: sip_protos.h:10750
int sip_is_proxy_authentication_info(sip_header_t const *header)
Test if header object is instance of sip_proxy_authentication_info_t.
Definition: sip_protos.h:9708
@Hash of Date header.
Definition: sip_hclasses.h:466
sip_session_expires_t * sip_session_expires_format(su_home_t *home, char const *fmt,...)))
Make a Session-Expires header from formatting result.
Definition: sip_protos.h:12238
sip_call_id_t * sip_call_id_dup(su_home_t *home, sip_call_id_t const *hdr))
Duplicate a list of Call-ID header header structures sip_call_id_t.
Definition: sip_protos.h:2377
@Hash of Reason header.
Definition: sip_hclasses.h:1294
int sip_is_subject(sip_header_t const *header)
Test if header object is instance of sip_subject_t.
Definition: sip_protos.h:5424
issize_t sip_min_se_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Min-SE header.
issize_t sip_priority_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Priority header.
int sip_is_require(sip_header_t const *header)
Test if header object is instance of sip_require_t.
Definition: sip_protos.h:8042
sip_expires_t * sip_expires_init(sip_expires_t x[1])
Initialize a structure sip_expires_t.
Definition: sip_protos.h:4212
sip_subscription_state_t * sip_subscription_state_dup(su_home_t *home, sip_subscription_state_t const *hdr))
Duplicate a list of Subscription-State header header structures sip_subscription_state_t.
Definition: sip_protos.h:9279
sip_proxy_authorization_t * sip_proxy_authorization_init(sip_proxy_authorization_t x[1])
Initialize a structure sip_proxy_authorization_t.
Definition: sip_protos.h:9924
sip_security_verify_t * sip_security_verify_make(su_home_t *home, char const *s))
Make a Security-Verify header structure sip_security_verify_t.
Definition: sip_protos.h:13873
issize_t sip_session_expires_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Session-Expires header.
sip_security_verify_t * sip_security_verify_format(su_home_t *home, char const *fmt,...)))
Make a Security-Verify header from formatting result.
Definition: sip_protos.h:13904
sip_organization_t * sip_organization_init(sip_organization_t x[1])
Initialize a structure sip_organization_t.
Definition: sip_protos.h:6116
sip_unknown_t * sip_unknown_make(su_home_t *home, char const *s))
Make a unknown headers structure sip_unknown_t.
Definition: sip_protos.h:16253
issize_t sip_route_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Route header.
sip_cseq_t * sip_cseq_init(sip_cseq_t x[1])
Initialize a structure sip_cseq_t.
Definition: sip_protos.h:2546
issize_t sip_min_se_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Min-SE header.
sip_subject_t * sip_subject_dup(su_home_t *home, sip_subject_t const *hdr))
Duplicate a list of Subject header header structures sip_subject_t.
Definition: sip_protos.h:5471
sip_request_t * sip_request_copy(su_home_t *home, sip_request_t const *hdr))
Copy a list of request line header structures sip_request_t.
Definition: sip_protos.h:278
sip_via_t * sip_via_make(su_home_t *home, char const *s))
Make a Via header structure sip_via_t.
Definition: sip_protos.h:783
sip_server_t * sip_server_format(su_home_t *home, char const *fmt,...)))
Make a Server header from formatting result.
Definition: sip_protos.h:6526
issize_t sip_replaces_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Replaces header.
@Hash of request line.
Definition: sip_hclasses.h:52
@Hash of Proxy-Authorization header.
Definition: sip_hclasses.h:995
sip_to_t * sip_to_copy(su_home_t *home, sip_to_t const *hdr))
Copy a list of To header header structures sip_to_t.
Definition: sip_protos.h:2182
issize_t sip_expires_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Expires header.
sip_rseq_t * sip_rseq_make(su_home_t *home, char const *s))
Make a RSeq header structure sip_rseq_t.
Definition: sip_protos.h:3163
sip_accept_language_t * sip_accept_language_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Language header from formatting result.
Definition: sip_protos.h:7716
int sip_is_unsupported(sip_header_t const *header)
Test if header object is instance of sip_unsupported_t.
Definition: sip_protos.h:8518
sip_proxy_authenticate_t * sip_proxy_authenticate_make(su_home_t *home, char const *s))
Make a Proxy-Authenticate header structure sip_proxy_authenticate_t.
Definition: sip_protos.h:9589
msg_hclass_t sip_content_disposition_class[]
Header class for Content-Disposition header.
Definition: sip_mime.c:369
msg_hclass_t sip_via_class[]
Header class for Via header.
Definition: sip_basic.c:2532
sip_referred_by_t * sip_referred_by_init(sip_referred_by_t x[1])
Initialize a structure sip_referred_by_t.
Definition: sip_protos.h:11590
sip_timestamp_t * sip_timestamp_init(sip_timestamp_t x[1])
Initialize a structure sip_timestamp_t.
Definition: sip_protos.h:4926
int sip_is_min_se(sip_header_t const *header)
Test if header object is instance of sip_min_se_t.
Definition: sip_protos.h:12326
sip_route_t * sip_route_make(su_home_t *home, char const *s))
Make a Route header structure sip_route_t.
Definition: sip_protos.h:1021
sip_error_info_t * sip_error_info_format(su_home_t *home, char const *fmt,...)))
Make a Error-Info header from formatting result.
Definition: sip_protos.h:11048
issize_t sip_in_reply_to_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP In-Reply-To header.
sip_priority_t * sip_priority_dup(su_home_t *home, sip_priority_t const *hdr))
Duplicate a list of Priority header header structures sip_priority_t.
Definition: sip_protos.h:5709
Structure for Session-Expires header.
Definition: sip.h:702
sip_subject_t * sip_subject_init(sip_subject_t x[1])
Initialize a structure sip_subject_t.
Definition: sip_protos.h:5402
issize_t sip_unknown_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP unknown headers.
sip_accept_encoding_t * sip_accept_encoding_copy(su_home_t *home, sip_accept_encoding_t const *hdr))
Copy a list of Accept-Encoding header header structures sip_accept_encoding_t.
Definition: sip_protos.h:7418
sip_content_length_t * sip_content_length_dup(su_home_t *home, sip_content_length_t const *hdr))
Duplicate a list of Content-Length header header structures sip_content_length_t. ...
Definition: sip_protos.h:15943
sip_proxy_authentication_info_t * sip_proxy_authentication_info_copy(su_home_t *home, sip_proxy_authentication_info_t const *hdr))
Copy a list of Proxy-Authentication-Info header header structures sip_proxy_authentication_info_t.
Definition: sip_protos.h:9798
sip_content_length_t * sip_content_length_make(su_home_t *home, char const *s))
Make a Content-Length header structure sip_content_length_t.
Definition: sip_protos.h:16015
issize_t sip_max_forwards_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Max-Forwards header.
msg_hclass_t sip_max_forwards_class[]
Header class for Max-Forwards header.
Definition: sip_basic.c:1898
sip_from_t * sip_from_format(su_home_t *home, char const *fmt,...)))
Make a From header from formatting result.
Definition: sip_protos.h:2004
sip_security_server_t * sip_security_server_format(su_home_t *home, char const *fmt,...)))
Make a Security-Server header from formatting result.
Definition: sip_protos.h:13666
int sip_is_date(sip_header_t const *header)
Test if header object is instance of sip_date_t.
Definition: sip_protos.h:4472
@Hash of Retry-After header.
Definition: sip_hclasses.h:489
sip_supported_t * sip_supported_copy(su_home_t *home, sip_supported_t const *hdr))
Copy a list of Supported header header structures sip_supported_t.
Definition: sip_protos.h:8370
issize_t sip_refer_to_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Refer-To header.
sip_record_route_t * sip_record_route_init(sip_record_route_t x[1])
Initialize a structure sip_record_route_t.
Definition: sip_protos.h:1118
int sip_is_authentication_info(sip_header_t const *header)
Test if header object is instance of sip_authentication_info_t.
Definition: sip_protos.h:10660
msg_hclass_t sip_call_info_class[]
Header class for Call-Info header.
Definition: sip_extra.c:107
sip_content_length_t * sip_content_length_format(su_home_t *home, char const *fmt,...)))
Make a Content-Length header from formatting result.
Definition: sip_protos.h:16046
sip_date_t * sip_date_format(su_home_t *home, char const *fmt,...)))
Make a Date header from formatting result.
Definition: sip_protos.h:4622
issize_t sip_proxy_require_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Proxy-Require header.
sip_subscription_state_t * sip_subscription_state_init(sip_subscription_state_t x[1])
Initialize a structure sip_subscription_state_t.
Definition: sip_protos.h:9210
@Hash of Warning header.
Definition: sip_hclasses.h:1110
sip_service_route_t * sip_service_route_format(su_home_t *home, char const *fmt,...)))
Make a Service-Route header from formatting result.
Definition: sip_protos.h:12952
void * sip_header_data(sip_header_t *h)
Return data after header structure.
Definition: sip_protos.h:103
issize_t sip_require_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Require header.
sip_refer_to_t * sip_refer_to_dup(su_home_t *home, sip_refer_to_t const *hdr))
Duplicate a list of Refer-To header header structures sip_refer_to_t.
Definition: sip_protos.h:11421
issize_t sip_server_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Server header.
issize_t sip_min_expires_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Min-Expires header.
@Hash of erroneous headers.
Definition: sip_hclasses.h:1616
msg_hclass_t sip_require_class[]
Header class for Require header.
Definition: sip_feature.c:229
sip_expires_t * sip_expires_format(su_home_t *home, char const *fmt,...)))
Make a Expires header from formatting result.
Definition: sip_protos.h:4384
Structure for Call-ID (and In-Reply-To) header fields.
Definition: sip.h:438
sip_proxy_authorization_t * sip_proxy_authorization_make(su_home_t *home, char const *s))
Make a Proxy-Authorization header structure sip_proxy_authorization_t.
Definition: sip_protos.h:10065
issize_t sip_allow_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Allow header.
@Hash of separator line between headers and body.
Definition: sip_hclasses.h:1639
issize_t sip_retry_after_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Retry-After header.
sip_proxy_authentication_info_t * sip_proxy_authentication_info_make(su_home_t *home, char const *s))
Make a Proxy-Authentication-Info header structure sip_proxy_authentication_info_t.
Definition: sip_protos.h:9827
msg_hclass_t sip_security_client_class[]
Header class for Security-Client header.
Definition: sip_security.c:604
sip_cseq_t * sip_cseq_make(su_home_t *home, char const *s))
Make a CSeq header structure sip_cseq_t.
Definition: sip_protos.h:2687
sip_if_match_t * sip_if_match_init(sip_if_match_t x[1])
Initialize a structure sip_if_match_t.
Definition: sip_protos.h:14446
sip_event_t * sip_event_dup(su_home_t *home, sip_event_t const *hdr))
Duplicate a list of Event header header structures sip_event_t.
Definition: sip_protos.h:8803
issize_t sip_proxy_authentication_info_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Proxy-Authentication-Info header.
sip_path_t * sip_path_init(sip_path_t x[1])
Initialize a structure sip_path_t.
Definition: sip_protos.h:12542
msg_hclass_t sip_event_class[]
Header class for Event header.
Definition: sip_event.c:96
Structure for Via header field.
Definition: sip.h:752
sip_retry_after_t * sip_retry_after_make(su_home_t *home, char const *s))
Make a Retry-After header structure sip_retry_after_t.
Definition: sip_protos.h:4829
Structure for Call-Info header.
Definition: sip.h:448
sip_rseq_t * sip_rseq_dup(su_home_t *home, sip_rseq_t const *hdr))
Duplicate a list of RSeq header header structures sip_rseq_t.
Definition: sip_protos.h:3091
msg_hclass_t sip_request_disposition_class[]
Header class for Request-Disposition header.
Definition: sip_caller_prefs.c:98
sip_proxy_authenticate_t * sip_proxy_authenticate_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Authenticate header from formatting result.
Definition: sip_protos.h:9620
sip_request_t * sip_request_make(su_home_t *home, char const *s))
Make a request line structure sip_request_t.
Definition: sip_protos.h:307
issize_t sip_request_disposition_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Request-Disposition header.
sip_server_t * sip_server_dup(su_home_t *home, sip_server_t const *hdr))
Duplicate a list of Server header header structures sip_server_t.
Definition: sip_protos.h:6423
issize_t sip_content_language_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Content-Language header.
@Hash of Error-Info header.
Definition: sip_hclasses.h:1087
sip_proxy_authorization_t * sip_proxy_authorization_dup(su_home_t *home, sip_proxy_authorization_t const *hdr))
Duplicate a list of Proxy-Authorization header header structures sip_proxy_authorization_t.
Definition: sip_protos.h:9993
@Hash of Proxy-Authenticate header.
Definition: sip_hclasses.h:949
int sip_is_content_length(sip_header_t const *header)
Test if header object is instance of sip_content_length_t.
Definition: sip_protos.h:15896
issize_t sip_server_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Server header.
int sip_is_proxy_authenticate(sip_header_t const *header)
Test if header object is instance of sip_proxy_authenticate_t.
Definition: sip_protos.h:9470
issize_t sip_date_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Date header.
sip_payload_t * sip_payload_format(su_home_t *home, char const *fmt,...)))
Make a message payload from formatting result.
Definition: sip_protos.h:16998
sip_security_client_t * sip_security_client_make(su_home_t *home, char const *s))
Make a Security-Client header structure sip_security_client_t.
Definition: sip_protos.h:13397
issize_t sip_record_route_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Record-Route header.
sip_service_route_t * sip_service_route_dup(su_home_t *home, sip_service_route_t const *hdr))
Duplicate a list of Service-Route header header structures sip_service_route_t.
Definition: sip_protos.h:12849
sip_proxy_authenticate_t * sip_proxy_authenticate_dup(su_home_t *home, sip_proxy_authenticate_t const *hdr))
Duplicate a list of Proxy-Authenticate header header structures sip_proxy_authenticate_t.
Definition: sip_protos.h:9517
sip_min_expires_t * sip_min_expires_format(su_home_t *home, char const *fmt,...)))
Make a Min-Expires header from formatting result.
Definition: sip_protos.h:5336
issize_t sip_accept_encoding_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Accept-Encoding header.
issize_t sip_user_agent_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP User-Agent header.
issize_t sip_reason_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Reason header.
sip_error_t * sip_error_copy(su_home_t *home, sip_error_t const *hdr))
Copy a list of erroneous headers header structures sip_error_t.
Definition: sip_protos.h:16462
int sip_is_call_info(sip_header_t const *header)
Test if header object is instance of sip_call_info_t.
Definition: sip_protos.h:5900
msg_hclass_t sip_allow_class[]
Header class for Allow header.
Definition: sip_feature.c:92
sip_retry_after_t * sip_retry_after_init(sip_retry_after_t x[1])
Initialize a structure sip_retry_after_t.
Definition: sip_protos.h:4688
issize_t sip_payload_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP message payload.
sip_referred_by_t * sip_referred_by_dup(su_home_t *home, sip_referred_by_t const *hdr))
Duplicate a list of Referred-By header header structures sip_referred_by_t.
Definition: sip_protos.h:11659
issize_t sip_authorization_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Authorization header.
sip_organization_t * sip_organization_copy(su_home_t *home, sip_organization_t const *hdr))
Copy a list of Organization header header structures sip_organization_t.
Definition: sip_protos.h:6228
sip_error_t * sip_error_dup(su_home_t *home, sip_error_t const *hdr))
Duplicate a list of erroneous headers header structures sip_error_t.
Definition: sip_protos.h:16419
issize_t sip_etag_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP SIP-ETag header.
sip_date_t * sip_date_copy(su_home_t *home, sip_date_t const *hdr))
Copy a list of Date header header structures sip_date_t.
Definition: sip_protos.h:4562
sip_subject_t * sip_subject_format(su_home_t *home, char const *fmt,...)))
Make a Subject header from formatting result.
Definition: sip_protos.h:5574
msg_hclass_t sip_cseq_class[]
Header class for CSeq header.
Definition: sip_basic.c:1198
sip_record_route_t * sip_record_route_make(su_home_t *home, char const *s))
Make a Record-Route header structure sip_record_route_t.
Definition: sip_protos.h:1259
sip_error_info_t * sip_error_info_dup(su_home_t *home, sip_error_info_t const *hdr))
Duplicate a list of Error-Info header header structures sip_error_info_t.
Definition: sip_protos.h:10945
issize_t sip_accept_encoding_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Accept-Encoding header.
issize_t sip_subscription_state_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Subscription-State header.
Structure for Date header.
Definition: sip.h:513
sip_in_reply_to_t * sip_in_reply_to_make(su_home_t *home, char const *s))
Make a In-Reply-To header structure sip_in_reply_to_t.
Definition: sip_protos.h:6971
issize_t sip_timestamp_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Timestamp header.
sip_user_agent_t * sip_user_agent_make(su_home_t *home, char const *s))
Make a User-Agent header structure sip_user_agent_t.
Definition: sip_protos.h:6733
sip_min_se_t * sip_min_se_copy(su_home_t *home, sip_min_se_t const *hdr))
Copy a list of Min-SE header header structures sip_min_se_t.
Definition: sip_protos.h:12416
sip_user_agent_t * sip_user_agent_dup(su_home_t *home, sip_user_agent_t const *hdr))
Duplicate a list of User-Agent header header structures sip_user_agent_t.
Definition: sip_protos.h:6661
sip_accept_language_t * sip_accept_language_dup(su_home_t *home, sip_accept_language_t const *hdr))
Duplicate a list of Accept-Language header header structures sip_accept_language_t.
Definition: sip_protos.h:7613
int sip_is_route(sip_header_t const *header)
Test if header object is instance of sip_route_t.
Definition: sip_protos.h:902
msg_hclass_t sip_subscription_state_class[]
Header class for Subscription-State header.
Definition: sip_event.c:297
issize_t sip_security_server_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Security-Server header.
sip_privacy_t * sip_privacy_dup(su_home_t *home, sip_privacy_t const *hdr))
Duplicate a list of Privacy header header structures sip_privacy_t.
Definition: sip_protos.h:14039
sip_in_reply_to_t * sip_in_reply_to_init(sip_in_reply_to_t x[1])
Initialize a structure sip_in_reply_to_t.
Definition: sip_protos.h:6830
sip_server_t * sip_server_copy(su_home_t *home, sip_server_t const *hdr))
Copy a list of Server header header structures sip_server_t.
Definition: sip_protos.h:6466
msg_hclass_t sip_user_agent_class[]
Header class for User-Agent header.
Definition: sip_extra.c:774
int sip_is_content_disposition(sip_header_t const *header)
Test if header object is instance of sip_content_disposition_t.
Definition: sip_protos.h:15658
sip_accept_language_t * sip_accept_language_make(su_home_t *home, char const *s))
Make a Accept-Language header structure sip_accept_language_t.
Definition: sip_protos.h:7685
sip_content_encoding_t * sip_content_encoding_copy(su_home_t *home, sip_content_encoding_t const *hdr))
Copy a list of Content-Encoding header header structures sip_content_encoding_t.
Definition: sip_protos.h:15272
sip_reason_t * sip_reason_init(sip_reason_t x[1])
Initialize a structure sip_reason_t.
Definition: sip_protos.h:13018
int sip_is_request(sip_header_t const *header)
Test if header object is instance of sip_request_t.
Definition: sip_protos.h:188
sip_error_info_t * sip_error_info_copy(su_home_t *home, sip_error_info_t const *hdr))
Copy a list of Error-Info header header structures sip_error_info_t.
Definition: sip_protos.h:10988
int sip_is_mime_version(sip_header_t const *header)
Test if header object is instance of sip_mime_version_t.
Definition: sip_protos.h:14706
issize_t sip_authorization_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Authorization header.
sip_request_disposition_t * sip_request_disposition_init(sip_request_disposition_t x[1])
Initialize a structure sip_request_disposition_t.
Definition: sip_protos.h:3498
issize_t sip_proxy_authenticate_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Proxy-Authenticate header.
issize_t sip_to_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP To header.
sip_separator_t * sip_separator_init(sip_separator_t x[1])
Initialize a structure sip_separator_t.
Definition: sip_protos.h:16588
sip_cseq_t * sip_cseq_copy(su_home_t *home, sip_cseq_t const *hdr))
Copy a list of CSeq header header structures sip_cseq_t.
Definition: sip_protos.h:2658
int sip_is_server(sip_header_t const *header)
Test if header object is instance of sip_server_t.
Definition: sip_protos.h:6376
sip_supported_t * sip_supported_init(sip_supported_t x[1])
Initialize a structure sip_supported_t.
Definition: sip_protos.h:8258
@Hash of In-Reply-To header.
Definition: sip_hclasses.h:696
SIP message object.
Definition: sip.h:230
sip_payload_t * sip_payload_copy(su_home_t *home, sip_payload_t const *hdr))
Copy a list of message payload header structures sip_payload_t.
Definition: sip_protos.h:16938
sip_min_expires_t * sip_min_expires_init(sip_min_expires_t x[1])
Initialize a structure sip_min_expires_t.
Definition: sip_protos.h:5164
sip_proxy_authentication_info_t * sip_proxy_authentication_info_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Authentication-Info header from formatting result.
Definition: sip_protos.h:9858
int sip_is_www_authenticate(sip_header_t const *header)
Test if header object is instance of sip_www_authenticate_t.
Definition: sip_protos.h:10422
sip_timestamp_t * sip_timestamp_dup(su_home_t *home, sip_timestamp_t const *hdr))
Duplicate a list of Timestamp header header structures sip_timestamp_t.
Definition: sip_protos.h:4995
issize_t sip_service_route_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Service-Route header.
int sip_is_expires(sip_header_t const *header)
Test if header object is instance of sip_expires_t.
Definition: sip_protos.h:4234
issize_t sip_etag_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP SIP-ETag header.
sip_error_t * sip_error_init(sip_error_t x[1])
Initialize a structure sip_error_t.
Definition: sip_protos.h:16350
@Hash of From header.
Definition: sip_hclasses.h:213
int sip_is_refer_to(sip_header_t const *header)
Test if header object is instance of sip_refer_to_t.
Definition: sip_protos.h:11374
msg_hclass_t sip_privacy_class[]
Header class for Privacy header.
Definition: sip_security.c:755
sip_event_t * sip_event_init(sip_event_t x[1])
Initialize a structure sip_event_t.
Definition: sip_protos.h:8734
issize_t sip_separator_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP separator line between headers and body.
sip_proxy_require_t * sip_proxy_require_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Require header from formatting result.
Definition: sip_protos.h:1766
int sip_is_in_reply_to(sip_header_t const *header)
Test if header object is instance of sip_in_reply_to_t.
Definition: sip_protos.h:6852
Structure for Max-Forwards header.
Definition: sip.h:558
int sip_header_insert(msg_t *msg, sip_t *sip, sip_header_t *h)
Insert a (list of) header(s) to the header structure and fragment chain.
Definition: sip_protos.h:79
issize_t sip_error_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP erroneous headers.
Definition: sip_basic.c:601
sip_www_authenticate_t * sip_www_authenticate_dup(su_home_t *home, sip_www_authenticate_t const *hdr))
Duplicate a list of WWW-Authenticate header header structures sip_www_authenticate_t.
Definition: sip_protos.h:10469
sip_accept_language_t * sip_accept_language_init(sip_accept_language_t x[1])
Initialize a structure sip_accept_language_t.
Definition: sip_protos.h:7544
issize_t sip_call_id_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Call-ID header.
sip_refer_to_t * sip_refer_to_format(su_home_t *home, char const *fmt,...)))
Make a Refer-To header from formatting result.
Definition: sip_protos.h:11524
int sip_is_error(sip_header_t const *header)
Test if header object is instance of sip_error_t.
Definition: sip_protos.h:16372
Structure for Accept header field.
Definition: sip.h:399
sip_warning_t * sip_warning_dup(su_home_t *home, sip_warning_t const *hdr))
Duplicate a list of Warning header header structures sip_warning_t.
Definition: sip_protos.h:11183
sip_unknown_t * sip_unknown_format(su_home_t *home, char const *fmt,...)))
Make a unknown headers from formatting result.
Definition: sip_protos.h:16284
int sip_is_proxy_authorization(sip_header_t const *header)
Test if header object is instance of sip_proxy_authorization_t.
Definition: sip_protos.h:9946
sip_call_id_t * sip_call_id_init(sip_call_id_t x[1])
Initialize a structure sip_call_id_t.
Definition: sip_protos.h:2308
issize_t sip_proxy_authorization_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Proxy-Authorization header.
msg_hclass_t sip_date_class[]
Header class for Date header.
Definition: sip_basic.c:1617
sip_subject_t * sip_subject_copy(su_home_t *home, sip_subject_t const *hdr))
Copy a list of Subject header header structures sip_subject_t.
Definition: sip_protos.h:5514
sip_service_route_t * sip_service_route_make(su_home_t *home, char const *s))
Make a Service-Route header structure sip_service_route_t.
Definition: sip_protos.h:12921
issize_t sip_privacy_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Privacy header.
sip_rack_t * sip_rack_copy(su_home_t *home, sip_rack_t const *hdr))
Copy a list of RAck header header structures sip_rack_t.
Definition: sip_protos.h:3372
sip_unknown_t * sip_unknown_init(sip_unknown_t x[1])
Initialize a structure sip_unknown_t.
Definition: sip_protos.h:16112
msg_hclass_t sip_mime_version_class[]
Header class for MIME-Version header.
Definition: sip_mime.c:613
sip_status_t * sip_status_init(sip_status_t x[1])
Initialize a structure sip_status_t.
Definition: sip_protos.h:404
issize_t sip_from_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP From header.
sip_content_type_t * sip_content_type_make(su_home_t *home, char const *s))
Make a Content-Type header structure sip_content_type_t.
Definition: sip_protos.h:15063
sip_in_reply_to_t * sip_in_reply_to_copy(su_home_t *home, sip_in_reply_to_t const *hdr))
Copy a list of In-Reply-To header header structures sip_in_reply_to_t.
Definition: sip_protos.h:6942
sip_subscription_state_t * sip_subscription_state_make(su_home_t *home, char const *s))
Make a Subscription-State header structure sip_subscription_state_t.
Definition: sip_protos.h:9351
sip_security_client_t * sip_security_client_init(sip_security_client_t x[1])
Initialize a structure sip_security_client_t.
Definition: sip_protos.h:13256
@Hash of Via header.
Definition: sip_hclasses.h:98
sip_min_se_t * sip_min_se_dup(su_home_t *home, sip_min_se_t const *hdr))
Duplicate a list of Min-SE header header structures sip_min_se_t.
Definition: sip_protos.h:12373
Structure for Privacy header.
Definition: sip.h:789
sip_user_agent_t * sip_user_agent_copy(su_home_t *home, sip_user_agent_t const *hdr))
Copy a list of User-Agent header header structures sip_user_agent_t.
Definition: sip_protos.h:6704
sip_require_t * sip_require_format(su_home_t *home, char const *fmt,...)))
Make a Require header from formatting result.
Definition: sip_protos.h:8192
Structure for Accept-Contact and Reject-Contact header fields.
Definition: sip.h:654
issize_t sip_content_type_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Content-Type header.
sip_status_t * sip_status_format(su_home_t *home, char const *fmt,...)))
Make a status line from formatting result.
Definition: sip_protos.h:576
issize_t sip_referred_by_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Referred-By header.
sip_authentication_info_t * sip_authentication_info_format(su_home_t *home, char const *fmt,...)))
Make a Authentication-Info header from formatting result.
Definition: sip_protos.h:10810
sip_mime_version_t * sip_mime_version_format(su_home_t *home, char const *fmt,...)))
Make a MIME-Version header from formatting result.
Definition: sip_protos.h:14856
sip_unsupported_t * sip_unsupported_dup(su_home_t *home, sip_unsupported_t const *hdr))
Duplicate a list of Unsupported header header structures sip_unsupported_t.
Definition: sip_protos.h:8565
int sip_is_referred_by(sip_header_t const *header)
Test if header object is instance of sip_referred_by_t.
Definition: sip_protos.h:11612
sip_content_encoding_t * sip_content_encoding_dup(su_home_t *home, sip_content_encoding_t const *hdr))
Duplicate a list of Content-Encoding header header structures sip_content_encoding_t.
Definition: sip_protos.h:15229
@Hash of User-Agent header.
Definition: sip_hclasses.h:673
msg_hclass_t sip_unknown_class[]
Header class for unknown headers.
Definition: sip_basic.c:559
issize_t sip_event_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Event header.
sip_rack_t * sip_rack_make(su_home_t *home, char const *s))
Make a RAck header structure sip_rack_t.
Definition: sip_protos.h:3401
sip_server_t * sip_server_make(su_home_t *home, char const *s))
Make a Server header structure sip_server_t.
Definition: sip_protos.h:6495
sip_etag_t * sip_etag_init(sip_etag_t x[1])
Initialize a structure sip_etag_t.
Definition: sip_protos.h:14208
issize_t sip_accept_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Accept header.
sip_referred_by_t * sip_referred_by_copy(su_home_t *home, sip_referred_by_t const *hdr))
Copy a list of Referred-By header header structures sip_referred_by_t.
Definition: sip_protos.h:11702
@Hash of SIP-ETag header.
Definition: sip_hclasses.h:1409
int sip_is_supported(sip_header_t const *header)
Test if header object is instance of sip_supported_t.
Definition: sip_protos.h:8280
sip_refer_to_t * sip_refer_to_make(su_home_t *home, char const *s))
Make a Refer-To header structure sip_refer_to_t.
Definition: sip_protos.h:11493
msg_hclass_t sip_expires_class[]
Header class for Expires header.
Definition: sip_basic.c:1698
issize_t sip_authentication_info_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Authentication-Info header.
msg_hclass_t sip_from_class[]
Header class for From header.
Definition: sip_basic.c:1785
issize_t sip_max_forwards_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Max-Forwards header.
@Hash of Content-Disposition header.
Definition: sip_hclasses.h:1547
sip_subscription_state_t * sip_subscription_state_format(su_home_t *home, char const *fmt,...)))
Make a Subscription-State header from formatting result.
Definition: sip_protos.h:9382
int sip_is_allow_events(sip_header_t const *header)
Test if header object is instance of sip_allow_events_t.
Definition: sip_protos.h:8994
@Hash of Security-Server header.
Definition: sip_hclasses.h:1340
sip_record_route_t * sip_record_route_format(su_home_t *home, char const *fmt,...)))
Make a Record-Route header from formatting result.
Definition: sip_protos.h:1290
int sip_is_cseq(sip_header_t const *header)
Test if header object is instance of sip_cseq_t.
Definition: sip_protos.h:2568
sip_proxy_authenticate_t * sip_proxy_authenticate_init(sip_proxy_authenticate_t x[1])
Initialize a structure sip_proxy_authenticate_t.
Definition: sip_protos.h:9448
issize_t sip_content_encoding_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Content-Encoding header.
sip_warning_t * sip_warning_copy(su_home_t *home, sip_warning_t const *hdr))
Copy a list of Warning header header structures sip_warning_t.
Definition: sip_protos.h:11226
sip_request_t * sip_request_dup(su_home_t *home, sip_request_t const *hdr))
Duplicate a list of request line header structures sip_request_t.
Definition: sip_protos.h:235
sip_replaces_t * sip_replaces_init(sip_replaces_t x[1])
Initialize a structure sip_replaces_t.
Definition: sip_protos.h:11828
int sip_is_payload(sip_header_t const *header)
Test if header object is instance of sip_payload_t.
Definition: sip_protos.h:16848
issize_t sip_refer_to_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Refer-To header.
issize_t sip_rseq_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP RSeq header.
sip_path_t * sip_path_make(su_home_t *home, char const *s))
Make a Path header structure sip_path_t.
Definition: sip_protos.h:12683
Structure for Route and Record-Route header fields.
Definition: sip.h:680
sip_reason_t * sip_reason_format(su_home_t *home, char const *fmt,...)))
Make a Reason header from formatting result.
Definition: sip_protos.h:13190
@Hash of Record-Route header.
Definition: sip_hclasses.h:144
sip_priority_t * sip_priority_init(sip_priority_t x[1])
Initialize a structure sip_priority_t.
Definition: sip_protos.h:5640
issize_t sip_accept_language_e(char b[], isize_t bsiz, msg_header_t const *h, int flags)
Print a SIP Accept-Language header.
@Hash of Timestamp header.
Definition: sip_hclasses.h:512
sip_date_t * sip_date_make(su_home_t *home, char const *s))
Make a Date header structure sip_date_t.
Definition: sip_protos.h:4591
msg_hclass_t sip_warning_class[]
Header class for Warning header.
Definition: sip_mime.c:672
sip_content_type_t * sip_content_type_format(su_home_t *home, char const *fmt,...)))
Make a Content-Type header from formatting result.
Definition: sip_protos.h:15094
sip_content_disposition_t * sip_content_disposition_make(su_home_t *home, char const *s))
Make a Content-Disposition header structure sip_content_disposition_t.
Definition: sip_protos.h:15777
issize_t sip_request_disposition_d(su_home_t *, msg_header_t *, char *s, isize_t slen)
Parse a SIP Request-Disposition header.
sip_max_forwards_t * sip_max_forwards_make(su_home_t *home, char const *s))
Make a Max-Forwards header structure sip_max_forwards_t.
Definition: sip_protos.h:1497
Structure for Expires header.
Definition: sip.h:546
sip_from_t * sip_from_copy(su_home_t *home, sip_from_t const *hdr))
Copy a list of From header header structures sip_from_t.
Definition: sip_protos.h:1944
sip_subscription_state_t * sip_subscription_state_copy(su_home_t *home, sip_subscription_state_t const *hdr))
Copy a list of Subscription-State header header structures sip_subscription_state_t.
Definition: sip_protos.h:9322
sip_content_language_t * sip_content_language_make(su_home_t *home, char const *s))
Make a Content-Language header structure sip_content_language_t.
Definition: sip_protos.h:15539
sip_user_agent_t * sip_user_agent_format(su_home_t *home, char const *fmt,...)))
Make a User-Agent header from formatting result.
Definition: sip_protos.h:6764
Structure for Event header.
Definition: sip.h:534
sip_in_reply_to_t * sip_in_reply_to_dup(su_home_t *home, sip_in_reply_to_t const *hdr))
Duplicate a list of In-Reply-To header header structures sip_in_reply_to_t.
Definition: sip_protos.h:6899
msg_hclass_t sip_min_expires_class[]
Header class for Min-Expires header.
Definition: sip_basic.c:1944
sip_record_route_t * sip_record_route_copy(su_home_t *home, sip_record_route_t const *hdr))
Copy a list of Record-Route header header structures sip_record_route_t.
Definition: sip_protos.h:1230
@Hash of Refer-To header.
Definition: sip_hclasses.h:1133
@Hash of Call-Info header.
Definition: sip_hclasses.h:604
sip_expires_t * sip_expires_copy(su_home_t *home, sip_expires_t const *hdr))
Copy a list of Expires header header structures sip_expires_t.
Definition: sip_protos.h:4324
sip_max_forwards_t * sip_max_forwards_copy(su_home_t *home, sip_max_forwards_t const *hdr))
Copy a list of Max-Forwards header header structures sip_max_forwards_t.
Definition: sip_protos.h:1468
sip_request_disposition_t * sip_request_disposition_make(su_home_t *home, char const *s))
Make a Request-Disposition header structure sip_request_disposition_t.
Definition: sip_protos.h:3639
sip_content_length_t * sip_content_length_init(sip_content_length_t x[1])
Initialize a structure sip_content_length_t.
Definition: sip_protos.h:15874
sip_rseq_t * sip_rseq_copy(su_home_t *home, sip_rseq_t const *hdr))
Copy a list of RSeq header header structures sip_rseq_t.
Definition: sip_protos.h:3134
sip_route_t * sip_route_format(su_home_t *home, char const *fmt,...)))
Make a Route header from formatting result.
Definition: sip_protos.h:1052
sip_security_verify_t * sip_security_verify_copy(su_home_t *home, sip_security_verify_t const *hdr))
Copy a list of Security-Verify header header structures sip_security_verify_t.
Definition: sip_protos.h:13844
sip_www_authenticate_t * sip_www_authenticate_copy(su_home_t *home, sip_www_authenticate_t const *hdr))
Copy a list of WWW-Authenticate header header structures sip_www_authenticate_t.
Definition: sip_protos.h:10512
sip_call_id_t * sip_call_id_make(su_home_t *home, char const *s))
Make a Call-ID header structure sip_call_id_t.
Definition: sip_protos.h:2449
sip_request_disposition_t * sip_request_disposition_dup(su_home_t *home, sip_request_disposition_t const *hdr))
Duplicate a list of Request-Disposition header header structures sip_request_disposition_t.
Definition: sip_protos.h:3567
sip_authentication_info_t * sip_authentication_info_make(su_home_t *home, char const *s))
Make a Authentication-Info header structure sip_authentication_info_t.
Definition: sip_protos.h:10779
int sip_is_organization(sip_header_t const *header)
Test if header object is instance of sip_organization_t.
Definition: sip_protos.h:6138
msg_hclass_t sip_authentication_info_class[]
Header class for Authentication-Info header.
Definition: sip_security.c:368
sip_unsupported_t * sip_unsupported_make(su_home_t *home, char const *s))
Make a Unsupported header structure sip_unsupported_t.
Definition: sip_protos.h:8637
msg_pub_t * msg_public(msg_t const *msg, void *tag)
@Hash of message payload.
Definition: sip_hclasses.h:1662
sip_call_id_t * sip_call_id_copy(su_home_t *home, sip_call_id_t const *hdr))
Copy a list of Call-ID header header structures sip_call_id_t.
Definition: sip_protos.h:2420
int sip_is_accept(sip_header_t const *header)
Test if header object is instance of sip_accept_t.
Definition: sip_protos.h:7090
sip_unsupported_t * sip_unsupported_format(su_home_t *home, char const *fmt,...)))
Make a Unsupported header from formatting result.
Definition: sip_protos.h:8668
msg_hclass_t sip_security_verify_class[]
Header class for Security-Verify header.
Definition: sip_security.c:703