[asterisk-dev] [Code Review] Regex support for sorcery object fields

Joshua Colp reviewboard at asterisk.org
Sat Feb 16 16:08:33 CST 2013


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

Review request for Asterisk Developers.


Summary
-------

This change adds support to sorcery for specifying a regex for an object field name. This requires that a custom handler be provided for doing the translation from string to native type. Going from native type to strings is optional, but if implemented requires that a list of ast_variable structures be returned. This change also includes unit tests.


Diffs
-----

  /trunk/include/asterisk/sorcery.h 381627 
  /trunk/main/sorcery.c 381627 
  /trunk/tests/test_sorcery.c 381627 

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


Testing
-------

Ran unit tests, confirmed happy.


Thanks,

Joshua

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130216/fe4de4b0/attachment.htm>


More information about the asterisk-dev mailing list