]> git.ipfire.org Git - thirdparty/asterisk.git/commit
aco: Create ways to minimize use of regex.
authorCorey Farrell <git@cfware.com>
Tue, 12 Dec 2017 18:36:39 +0000 (13:36 -0500)
committerCorey Farrell <git@cfware.com>
Fri, 15 Dec 2017 15:19:41 +0000 (10:19 -0500)
commit7413bcbeb5fc0eaa22de91e8d69714b725567efa
tree5e975984b3b5b1ed1d683226b6bc86d7585cad6f
parent7377927b18118fcf5307e565daa3cb8dd819e26e
aco: Create ways to minimize use of regex.

ACO uses regex in many situations where it is completely unneeded.  In
some cases this doubles the total processing performed by
aco_process_config.

* Create ACO_IGNORE category type for use in place of skip_category
  regex source string.
* Create additional aco_category_op values to allow specifying category
  filter using either a single plain string or a NULL terminated array
  of plain strings.
* Create ACO_PREFIX to allow matching option names to case insensitive
  prefixes.

Change-Id: I66a920dcd8e2b0301f73f968016440a985e72821
include/asterisk/config_options.h
main/config_options.c