diff options
author | Terry Wilson <twilson@digium.com> | 2012-06-28 01:12:06 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2012-06-28 01:12:06 +0000 |
commit | 1609fca6bb0bb85ac3c423aa7507bb489f7616e9 (patch) | |
tree | 1313e845503f782464e8b5a14289d6d02ddc470c /pbx/pbx_lua.c | |
parent | 7d9e0158c3bc528e4e59b225604fb4f39ebd653e (diff) |
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
Diffstat (limited to 'pbx/pbx_lua.c')
0 files changed, 0 insertions, 0 deletions