[OpenSIPS-Devel] [OpenSIPS/opensips] 43cdb2: Added parser for list-like body headers.
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Dec 15 10:56:13 EST 2017
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 43cdb2f241189e3476f263ace35b53f587045c3f
https://github.com/OpenSIPS/opensips/commit/43cdb2f241189e3476f263ace35b53f587045c3f
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
A parser/parse_list_hdr.c
A parser/parse_list_hdr.h
Log Message:
-----------
Added parser for list-like body headers.
This parser can be used for hdr bodies holding list of options/tokens like Supported, Require, Content-Disposition, etc.
Work in progress.
Commit: bbae925fe602bbbc813db659c7814aacc8d6a542
https://github.com/OpenSIPS/opensips/commit/bbae925fe602bbbc813db659c7814aacc8d6a542
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M lump_struct.h
M modules/sipmsgops/README
M modules/sipmsgops/doc/sipmsgops_admin.xml
A modules/sipmsgops/list_hdr.c
A modules/sipmsgops/list_hdr.h
M modules/sipmsgops/sipmsgops.c
Log Message:
-----------
Added new set of functions for list headers.
Functions for operating on headers having in body CSV lists of tokens (like the Supported, Require, Content-Dispsition headers) :
* list_hdr_has_option(hdr_name,option)
* list_hdr_add_option(hdr_name,option)
* list_hdr_remove_option(hdr_name,option)
Compare: https://github.com/OpenSIPS/opensips/compare/6aef8347bbfa...bbae925fe602
More information about the Devel
mailing list