[asterisk-dev] [Code Review] Add config parsing example code to app_skel

Terry Wilson reviewboard at asterisk.org
Mon Apr 2 14:50:59 CDT 2012


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

Review request for Asterisk Developers, rmudgett and Matt Jordan.


Summary
-------

This patch adds config parsing to app_skel to serve as an example of how to properly write config handling using the ao2 global object API for thread-safe reloads. I also made a couple of whitespace changes even though they technically should have gone in a separate patch, but they didn't get in the way of seeing what changed, etc.


Diffs
-----

  /trunk/apps/app_skel.c 360984 
  /trunk/configs/app_skel.conf.sample PRE-CREATION 

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


Testing
-------

"skel show config/privates" and "memory show summary app_skel.c/config.c"


Thanks,

Terry

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


More information about the asterisk-dev mailing list