diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 06:26:16 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 06:26:16 +0000 |
commit | 5ccd44963802ead9756af246243eb39384eea044 (patch) | |
tree | e7092725bdc5ef9ca65c6dff1984e877710b625a /include/asterisk/options.h | |
parent | 60636c259914d27a04b43c8bc26dece1871d876a (diff) |
convert internal timing to be stored as a flag in the ast_options flags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16477 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/options.h')
-rw-r--r-- | include/asterisk/options.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index ba8b8b291..86d524092 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -71,7 +71,9 @@ 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_END_CDR_BEFORE_H_EXTEN = (1 << 19), + /*! Use Zaptel Timing for generators if available */ + AST_OPT_FLAG_INTERNAL_TIMING = (1 << 20) }; /*! These are the options that set by default when Asterisk starts */ @@ -97,6 +99,7 @@ enum ast_option_flags { #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_internal_timing ast_test_flag(&ast_options, AST_OPT_FLAG_INTERNAL_TIMING) extern struct ast_flags ast_options; @@ -104,7 +107,6 @@ extern int option_verbose; extern int option_debug; /*!< Debugging */ extern int option_maxcalls; /*!< Maximum number of simultaneous channels */ extern double option_maxload; -extern int option_internal_timing; /*!< Flag for internal timing (RTP) */ extern char defaultlanguage[]; extern time_t ast_startuptime; |