]> 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)
committerJoshua Colp <jcolp@sangoma.com>
Mon, 17 Jan 2022 13:54:56 +0000 (07:54 -0600)
commitf10947ecc24895ea2058db1ec22957bf8fda5cee
treee137f76f5f5532892384b56b07236f47f93e2cef
parent3fd47840c93bd834cda82562f121eec5883b5a23
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]