diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-04-12 16:29:52 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-04-12 16:29:52 +0000 |
commit | a35c7ba8e7e5e05efb2ca3f57d31b4501bfdb75b (patch) | |
tree | a814ff52f8918c92f4e1d4b384c0b0d79f33dec3 /include/asterisk | |
parent | f9155c9c3d50b47b6c6b7619f1788d2e790803ca (diff) |
Add option to invoke the extensions.conf stdexten using the legacy macro method.
ASTERISK-18809 eliminated the legacy macro invocation of the stdexten in
favor of the Gosub method without a means of backwards compatibility.
(issue ASTERISK-18809)
(closes issue ASTERISK-19457)
Reported by: Matt Jordan
Tested by: rmudgett
Review: https://reviewboard.asterisk.org/r/1855/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 2509f4642..c411b3aad 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -58,6 +58,8 @@ enum ast_option_flags { AST_OPT_FLAG_FULLY_BOOTED = (1 << 9), /*! Trascode via signed linear */ AST_OPT_FLAG_TRANSCODE_VIA_SLIN = (1 << 10), + /*! Invoke the stdexten using the legacy macro method. */ + AST_OPT_FLAG_STDEXTEN_MACRO = (1 << 11), /*! Dump core on a seg fault */ AST_OPT_FLAG_DUMP_CORE = (1 << 12), /*! Cache sound files */ @@ -116,6 +118,8 @@ enum ast_option_flags { #define ast_opt_no_color ast_test_flag(&ast_options, AST_OPT_FLAG_NO_COLOR) #define ast_fully_booted ast_test_flag(&ast_options, AST_OPT_FLAG_FULLY_BOOTED) #define ast_opt_transcode_via_slin ast_test_flag(&ast_options, AST_OPT_FLAG_TRANSCODE_VIA_SLIN) +/*! Invoke the stdexten using the legacy macro method. */ +#define ast_opt_stdexten_macro ast_test_flag(&ast_options, AST_OPT_FLAG_STDEXTEN_MACRO) #define ast_opt_dump_core ast_test_flag(&ast_options, AST_OPT_FLAG_DUMP_CORE) #define ast_opt_cache_record_files ast_test_flag(&ast_options, AST_OPT_FLAG_CACHE_RECORD_FILES) #define ast_opt_timestamp ast_test_flag(&ast_options, AST_OPT_FLAG_TIMESTAMP) |