[asterisk-dev] [Code Review] Handle deprecated (aliased) option names with the config options api

Terry Wilson reviewboard at asterisk.org
Mon Jul 9 18:18:18 CDT 2012


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

Review request for Asterisk Developers and Matt Jordan.


Summary
-------

Add a simple way to register "deprecated" option names that alias to a different "current" name.


Diffs
-----

  /trunk/tests/test_config.c 369856 
  /trunk/main/config_options.c 369856 
  /trunk/configs/config_test.conf.sample 369856 
  /trunk/include/asterisk/config_options.h 369856 

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


Testing
-------

Add deprecated options to the unit test and they pass.


Thanks,

Terry

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


More information about the asterisk-dev mailing list