diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 14:55:05 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-30 14:55:05 +0000 |
commit | e35f607185bd75ee360b81ac074776cae02550bb (patch) | |
tree | 612ef7405224b9af1822726b09b5a1752f34a7f1 /include/asterisk/options.h | |
parent | fd0fef45bfd11a868409733a3995a988640b3309 (diff) |
add a command-line flag and option to force forking, even with -v or -d
rename a flag to have the proper name
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23675 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/options.h')
-rw-r--r-- | include/asterisk/options.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 86d524092..04e7990b8 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -71,9 +71,11 @@ enum ast_option_flags { /*! Suppress some warnings */ AST_OPT_FLAG_DONT_WARN = (1 << 18), /*! End CDRs before the 'h' extension */ - AST_OPT_END_CDR_BEFORE_H_EXTEN = (1 << 19), + AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19), /*! Use Zaptel Timing for generators if available */ - AST_OPT_FLAG_INTERNAL_TIMING = (1 << 20) + AST_OPT_FLAG_INTERNAL_TIMING = (1 << 20), + /*! Always fork, even if verbose or debug settings are non-zero */ + AST_OPT_FLAG_ALWAYS_FORK = (1 << 21), }; /*! These are the options that set by default when Asterisk starts */ @@ -98,8 +100,9 @@ enum ast_option_flags { #define ast_opt_reconnect ast_test_flag(&ast_options, AST_OPT_FLAG_RECONNECT) #define ast_opt_transmit_silence ast_test_flag(&ast_options, AST_OPT_FLAG_TRANSMIT_SILENCE) #define ast_opt_dont_warn ast_test_flag(&ast_options, AST_OPT_FLAG_DONT_WARN) -#define ast_opt_end_cdr_before_h_exten ast_test_flag(&ast_options, AST_OPT_END_CDR_BEFORE_H_EXTEN) +#define ast_opt_end_cdr_before_h_exten ast_test_flag(&ast_options, AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN) #define ast_opt_internal_timing ast_test_flag(&ast_options, AST_OPT_FLAG_INTERNAL_TIMING) +#define ast_opt_always_fork ast_test_flag(&ast_options, AST_OPT_FLAG_ALWAYS_FORK) extern struct ast_flags ast_options; |