-
- Downloads
Add the ability to set flags via the config options api
Allows the setting of flags via the config options api. For example, code like this: #define OPT1 1 << 0 #define OPT2 1 << 1 #define OPT3 1 << 2 struct thing { unsigned int flags; }; and a config like this: [blah] opt1=yes opt2=no opt3=yes Review: https://reviewboard.asterisk.org/r/2004/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- configs/config_test.conf.sample 6 additions, 0 deletionsconfigs/config_test.conf.sample
- include/asterisk/config_options.h 20 additions, 0 deletionsinclude/asterisk/config_options.h
- main/config_options.c 19 additions, 0 deletionsmain/config_options.c
- tests/test_config.c 22 additions, 1 deletiontests/test_config.c
Loading
Please register or sign in to comment