mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-14 22:08:28 +00:00
clarify which global options are enabled by default
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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_verbose = 0; /*!< Verbosity level */
|
||||||
int option_debug = 0; /*!< Debug level */
|
int option_debug = 0; /*!< Debug level */
|
||||||
|
|||||||
@@ -74,6 +74,9 @@ enum ast_option_flags {
|
|||||||
AST_OPT_END_CDR_BEFORE_H_EXTEN = (1 << 19)
|
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_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_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)
|
#define ast_opt_quiet ast_test_flag(&ast_options, AST_OPT_FLAG_QUIET)
|
||||||
|
|||||||
Reference in New Issue
Block a user