diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-14 16:57:35 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-14 16:57:35 +0000 |
commit | 07881c38a110492364b7ac8ef0d46e01e4f58a6a (patch) | |
tree | 1ca039b36e0b307be5701337185ac2a0296b1fb4 | |
parent | 9389382205fe3a7183fcb261d80cbedefbfb1404 (diff) |
clarify which global options are enabled by default
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12897 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | asterisk.c | 2 | ||||
-rw-r--r-- | include/asterisk/options.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c index 0b4b12a3d..d5394ca0c 100644 --- a/asterisk.c +++ b/asterisk.c @@ -152,7 +152,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") */ /*! @{ */ -struct ast_flags ast_options = { AST_OPT_FLAG_TRANSCODE_VIA_SLIN }; +struct ast_flags ast_options = { AST_DEFAULT_OPTIONS }; int option_verbose = 0; /*!< Verbosity level */ int option_debug = 0; /*!< Debug level */ diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 73d98b275..03470d217 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -74,6 +74,9 @@ enum ast_option_flags { AST_OPT_END_CDR_BEFORE_H_EXTEN = (1 << 19) }; +/*! These are the options that set by default when Asterisk starts */ +#define AST_DEFAULT_OPTIONS AST_OPT_FLAG_TRANSCODE_VIA_SLIN + #define ast_opt_exec_includes ast_test_flag(&ast_options, AST_OPT_FLAG_EXEC_INCLUDES) #define ast_opt_no_fork ast_test_flag(&ast_options, AST_OPT_FLAG_NO_FORK) #define ast_opt_quiet ast_test_flag(&ast_options, AST_OPT_FLAG_QUIET) |