[asterisk-dev] [Code Review] 4217: config: Create ast_variable_find_in_list().

George Joseph reviewboard at asterisk.org
Mon Dec 1 10:19:58 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4217/
-----------------------------------------------------------

Review request for Asterisk Developers and Joshua Colp.


Repository: Asterisk


Description
-------

Add
const char *ast_variable_find_in_list(const struct ast_variable *list, const char *variable);

ast_variable_find() requires a config category to search whereas ast_variable_find_in_list() just needs the root list element which is useful if you don't have a category.


Diffs
-----

  branches/12/main/config.c 428681 
  branches/12/include/asterisk/config.h 428681 

Diff: https://reviewboard.asterisk.org/r/4217/diff/


Testing
-------

Config units tests pass.


Thanks,

George Joseph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141201/c69c44d7/attachment.html>


More information about the asterisk-dev mailing list