]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bundled_pjproject: Create generic pjsip_hdr_find functions
authorGeorge Joseph <gjoseph@digium.com>
Wed, 12 Jan 2022 13:16:42 +0000 (06:16 -0700)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 17 Jan 2022 12:41:11 +0000 (06:41 -0600)
commit6dbed99435f603ee9596fa01a50ea82c39bb5c5c
treecd1f74868b5993e05da8fcb7b57850cca5aeb10c
parent902c70530c726fb66b9d66843ebc101494b87c9e
bundled_pjproject: Create generic pjsip_hdr_find functions

pjsip_msg_find_hdr(), pjsip_msg_find_hdr_by_name(), and
pjsip_msg_find_hdr_by_names() require a pjsip_msg to be passed in
so if you need to search a header list that's not in a pjsip_msg,
you have to do it yourself.  This commit adds generic versions of
those 3 functions that take in the actual header list head instead
of a pjsip_msg so if you need to search a list of headers in
something like a pjsip_multipart_part, you can do so easily.

Change-Id: I6f2c127170eafda48e5e0d5d4d187bcd52b4df07
third-party/pjproject/patches/0150-Create-generic-pjsip_hdr_find-functions.patch [new file with mode: 0644]