diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-11-09 09:21:38 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-11-13 16:52:22 -0500 |
commit | 2e01b779cc18c1f0f66c28db775e1e6b1d5065e4 (patch) | |
tree | a95ad356e5f4f1efdae07f65225ae5ca47857c4c /include/asterisk/optional_api.h | |
parent | bcd3782051fa069252ba8a9cd9c6cc13d827e0bf (diff) |
sorcery: Add ast_sorcery_retrieve_by_prefix()
Some consumers of the sorcery API use ast_sorcery_retrieve_by_regex
only so that they can anchor the potential match as a prefix and not
because they truly need regular expressions.
Rather than using regular expressions for simple prefix lookups, add
a new operation - ast_sorcery_retrieve_by_prefix - that does them.
Patches against 13 and 15 have a compatibility layer needed to
maintain ABI that is not needed in master.
Change-Id: I56f4e20ba1154bd52281f995c27a429a854f6a79
Diffstat (limited to 'include/asterisk/optional_api.h')
0 files changed, 0 insertions, 0 deletions