23#ifndef _ASTERISK_OPTIONS_H 
   24#define _ASTERISK_OPTIONS_H 
   28#if defined(__cplusplus) || defined(c_plusplus) 
   32#define AST_CACHE_DIR_LEN   512 
   33#define AST_FILENAME_MAX    80 
   34#define AST_CHANNEL_NAME    80   
   35#define AST_CHANNEL_STORAGE_BACKEND_NAME_LEN  80   
  116#define AST_DEFAULT_OPTIONS (AST_OPT_FLAG_TRANSCODE_VIA_SLIN | AST_OPT_FLAG_CACHE_MEDIA_FRAMES) 
  118#define ast_opt_exec_includes       ast_test_flag64(&ast_options, AST_OPT_FLAG_EXEC_INCLUDES) 
  119#define ast_opt_no_fork         ast_test_flag64(&ast_options, AST_OPT_FLAG_NO_FORK) 
  120#define ast_opt_quiet           ast_test_flag64(&ast_options, AST_OPT_FLAG_QUIET) 
  121#define ast_opt_console         ast_test_flag64(&ast_options, AST_OPT_FLAG_CONSOLE) 
  122#define ast_opt_high_priority       ast_test_flag64(&ast_options, AST_OPT_FLAG_HIGH_PRIORITY) 
  123#define ast_opt_init_keys       ast_test_flag64(&ast_options, AST_OPT_FLAG_INIT_KEYS) 
  124#define ast_opt_remote          ast_test_flag64(&ast_options, AST_OPT_FLAG_REMOTE) 
  125#define ast_opt_exec            ast_test_flag64(&ast_options, AST_OPT_FLAG_EXEC) 
  126#define ast_opt_no_color        ast_test_flag64(&ast_options, AST_OPT_FLAG_NO_COLOR) 
  127#define ast_fully_booted        ast_test_flag64(&ast_options, AST_OPT_FLAG_FULLY_BOOTED) 
  128#define ast_opt_transcode_via_slin  ast_test_flag64(&ast_options, AST_OPT_FLAG_TRANSCODE_VIA_SLIN) 
  129#define ast_opt_dump_core       ast_test_flag64(&ast_options, AST_OPT_FLAG_DUMP_CORE) 
  130#define ast_opt_cache_record_files  ast_test_flag64(&ast_options, AST_OPT_FLAG_CACHE_RECORD_FILES) 
  131#define ast_opt_cache_media_frames  ast_test_flag64(&ast_options, AST_OPT_FLAG_CACHE_MEDIA_FRAMES) 
  132#define ast_opt_timestamp       ast_test_flag64(&ast_options, AST_OPT_FLAG_TIMESTAMP) 
  133#define ast_opt_reconnect       ast_test_flag64(&ast_options, AST_OPT_FLAG_RECONNECT) 
  134#define ast_opt_transmit_silence    ast_test_flag64(&ast_options, AST_OPT_FLAG_TRANSMIT_SILENCE) 
  135#define ast_opt_dont_warn       ast_test_flag64(&ast_options, AST_OPT_FLAG_DONT_WARN) 
  136#define ast_opt_always_fork     ast_test_flag64(&ast_options, AST_OPT_FLAG_ALWAYS_FORK) 
  137#define ast_opt_mute            ast_test_flag64(&ast_options, AST_OPT_FLAG_MUTE) 
  138#define ast_opt_dbg_module      ast_test_flag64(&ast_options, AST_OPT_FLAG_DEBUG_MODULE) 
  139#define ast_opt_trace_module        ast_test_flag64(&ast_options, AST_OPT_FLAG_TRACE_MODULE) 
  140#define ast_opt_light_background    ast_test_flag64(&ast_options, AST_OPT_FLAG_LIGHT_BACKGROUND) 
  141#define ast_opt_force_black_background  ast_test_flag64(&ast_options, AST_OPT_FLAG_FORCE_BLACK_BACKGROUND) 
  142#define ast_opt_hide_connect        ast_test_flag64(&ast_options, AST_OPT_FLAG_HIDE_CONSOLE_CONNECT) 
  143#define ast_opt_lock_confdir        ast_test_flag64(&ast_options, AST_OPT_FLAG_LOCK_CONFIG_DIR) 
  144#define ast_opt_generic_plc         ast_test_flag64(&ast_options, AST_OPT_FLAG_GENERIC_PLC) 
  145#define ast_opt_ref_debug           ast_test_flag64(&ast_options, AST_OPT_FLAG_REF_DEBUG) 
  146#define ast_opt_generic_plc_on_equal_codecs  ast_test_flag64(&ast_options, AST_OPT_FLAG_GENERIC_PLC_ON_EQUAL_CODECS) 
  147#define ast_opt_hide_messaging_ami_events  ast_test_flag64(&ast_options, AST_OPT_FLAG_HIDE_MESSAGING_AMI_EVENTS) 
  148#define ast_opt_sounds_search_custom ast_test_flag64(&ast_options, AST_OPT_FLAG_SOUNDS_SEARCH_CUSTOM) 
  151#define MAX_PJ_LOG_MAX_LEVEL        6 
  159#define DEFAULT_PJ_LOG_MAX_LEVEL    2 
  177#define AST_PJPROJECT_INIT_LOG_LEVEL()                          \ 
  179        if (ast_pjproject_max_log_level < 0) {                  \ 
  180            ast_pjproject_max_log_level = pj_log_get_level();   \ 
  182        pj_log_set_level(ast_option_pjproject_log_level);       \ 
   177#define AST_PJPROJECT_INIT_LOG_LEVEL()                          \ …   188#define DEFAULT_PJPROJECT_CACHE_POOLS   1 
  205#if defined(HAVE_SYSINFO) 
  223#if defined(__cplusplus) || defined(c_plusplus) 
int ast_option_rtpusedynamic
int ast_pjproject_max_log_level
int ast_option_disable_remote_console_shell
int ast_option_pjproject_log_level
struct ast_flags64 ast_options
double ast_option_maxload
unsigned int ast_option_rtpptdynamic
unsigned int option_dtmfminduration
int ast_option_pjproject_cache_pools
@ AST_OPT_FLAG_TRACE_MODULE
@ AST_OPT_FLAG_HIGH_PRIORITY
@ AST_OPT_FLAG_GENERIC_PLC
@ AST_OPT_FLAG_HIDE_MESSAGING_AMI_EVENTS
@ AST_OPT_FLAG_TRANSCODE_VIA_SLIN
@ AST_OPT_FLAG_HIDE_CONSOLE_CONNECT
@ AST_OPT_FLAG_EXEC_INCLUDES
@ AST_OPT_FLAG_DEBUG_MODULE
@ AST_OPT_FLAG_TRANSMIT_SILENCE
@ AST_OPT_FLAG_ALWAYS_FORK
@ AST_OPT_FLAG_GENERIC_PLC_ON_EQUAL_CODECS
@ AST_OPT_FLAG_STDEXTEN_MACRO
@ AST_OPT_FLAG_CACHE_MEDIA_FRAMES
@ AST_OPT_FLAG_LOCK_CONFIG_DIR
@ AST_OPT_FLAG_CACHE_RECORD_FILES
@ AST_OPT_FLAG_FULLY_BOOTED
@ AST_OPT_FLAG_FORCE_BLACK_BACKGROUND
@ AST_OPT_FLAG_LIGHT_BACKGROUND
@ AST_OPT_FLAG_SOUNDS_SEARCH_CUSTOM
char record_cache_dir[AST_CACHE_DIR_LEN]
int ast_language_is_prefix
The following variable controls the layout of localized sound files. If 0, use the historical layout ...
#define AST_CACHE_DIR_LEN
struct timeval ast_lastreloadtime
struct timeval ast_startuptime
char ast_defaultlanguage[]
Structure used to handle a large number of boolean flags == used only in app_dial?