#include "asterisk/autoconfig.h"
Go to the source code of this file.
Defines | |
#define | AST_CACHE_DIR_LEN 512 |
#define | AST_CHANNEL_NAME 80 |
#define | AST_DEFAULT_OPTIONS AST_OPT_FLAG_TRANSCODE_VIA_SLIN |
#define | AST_FILENAME_MAX 80 |
#define | ast_fully_booted ast_test_flag(&ast_options, AST_OPT_FLAG_FULLY_BOOTED) |
#define | ast_opt_always_fork ast_test_flag(&ast_options, AST_OPT_FLAG_ALWAYS_FORK) |
#define | ast_opt_cache_record_files ast_test_flag(&ast_options, AST_OPT_FLAG_CACHE_RECORD_FILES) |
#define | ast_opt_console ast_test_flag(&ast_options, AST_OPT_FLAG_CONSOLE) |
#define | ast_opt_dont_warn ast_test_flag(&ast_options, AST_OPT_FLAG_DONT_WARN) |
#define | ast_opt_dump_core ast_test_flag(&ast_options, AST_OPT_FLAG_DUMP_CORE) |
#define | ast_opt_end_cdr_before_h_exten ast_test_flag(&ast_options, AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN) |
#define | ast_opt_exec ast_test_flag(&ast_options, AST_OPT_FLAG_EXEC) |
#define | ast_opt_exec_includes ast_test_flag(&ast_options, AST_OPT_FLAG_EXEC_INCLUDES) |
#define | ast_opt_generic_plc ast_test_flag(&ast_options, AST_OPT_FLAG_GENERIC_PLC) |
#define | ast_opt_high_priority ast_test_flag(&ast_options, AST_OPT_FLAG_HIGH_PRIORITY) |
#define | ast_opt_init_keys ast_test_flag(&ast_options, AST_OPT_FLAG_INIT_KEYS) |
#define | ast_opt_internal_timing ast_test_flag(&ast_options, AST_OPT_FLAG_INTERNAL_TIMING) |
#define | ast_opt_mute ast_test_flag(&ast_options, AST_OPT_FLAG_MUTE) |
#define | ast_opt_no_color ast_test_flag(&ast_options, AST_OPT_FLAG_NO_COLOR) |
#define | ast_opt_no_fork ast_test_flag(&ast_options, AST_OPT_FLAG_NO_FORK) |
#define | ast_opt_override_config ast_test_flag(&ast_options, AST_OPT_FLAG_OVERRIDE_CONFIG) |
#define | ast_opt_priority_jumping ast_test_flag(&ast_options, AST_OPT_FLAG_PRIORITY_JUMPING) |
#define | ast_opt_quiet ast_test_flag(&ast_options, AST_OPT_FLAG_QUIET) |
#define | ast_opt_reconnect ast_test_flag(&ast_options, AST_OPT_FLAG_RECONNECT) |
#define | ast_opt_remote ast_test_flag(&ast_options, AST_OPT_FLAG_REMOTE) |
#define | ast_opt_send_fullybooted ast_test_flag(&ast_options, AST_OPT_FLAG_SEND_FULLYBOOTED) |
#define | ast_opt_timestamp ast_test_flag(&ast_options, AST_OPT_FLAG_TIMESTAMP) |
#define | ast_opt_transcode_via_slin ast_test_flag(&ast_options, AST_OPT_FLAG_TRANSCODE_VIA_SLIN) |
#define | ast_opt_transmit_silence ast_test_flag(&ast_options, AST_OPT_FLAG_TRANSMIT_SILENCE) |
Enumerations | |
enum | ast_option_flags { AST_OPT_FLAG_EXEC_INCLUDES = (1 << 0), AST_OPT_FLAG_NO_FORK = (1 << 1), AST_OPT_FLAG_QUIET = (1 << 2), AST_OPT_FLAG_CONSOLE = (1 << 3), AST_OPT_FLAG_HIGH_PRIORITY = (1 << 4), AST_OPT_FLAG_INIT_KEYS = (1 << 5), AST_OPT_FLAG_REMOTE = (1 << 6), AST_OPT_FLAG_EXEC = (1 << 7), AST_OPT_FLAG_NO_COLOR = (1 << 8), AST_OPT_FLAG_FULLY_BOOTED = (1 << 9), AST_OPT_FLAG_TRANSCODE_VIA_SLIN = (1 << 10), AST_OPT_FLAG_PRIORITY_JUMPING = (1 << 11), AST_OPT_FLAG_DUMP_CORE = (1 << 12), AST_OPT_FLAG_CACHE_RECORD_FILES = (1 << 13), AST_OPT_FLAG_TIMESTAMP = (1 << 14), AST_OPT_FLAG_OVERRIDE_CONFIG = (1 << 15), AST_OPT_FLAG_RECONNECT = (1 << 16), AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17), AST_OPT_FLAG_DONT_WARN = (1 << 18), AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN = (1 << 19), AST_OPT_FLAG_INTERNAL_TIMING = (1 << 20), AST_OPT_FLAG_ALWAYS_FORK = (1 << 21), AST_OPT_FLAG_MUTE = (1 << 22), AST_OPT_FLAG_GENERIC_PLC = (1 << 23), AST_OPT_FLAG_SEND_FULLYBOOTED = (1 << 24) } |
enum | dahdi_chan_modes { CHAN_ZAP_MODE, CHAN_DAHDI_PLUS_ZAP_MODE } |
Variables | |
int | ast_language_is_prefix |
time_t | ast_lastreloadtime |
pid_t | ast_mainpid |
ast_flags | ast_options |
time_t | ast_startuptime |
enum dahdi_chan_modes * | dahdi_chan_mode |
const char * | dahdi_chan_name |
const size_t * | dahdi_chan_name_len |
char | debug_filename [AST_FILENAME_MAX] |
char | defaultlanguage [] |
int | option_debug |
int | option_maxcalls |
int | option_maxfiles |
double | option_maxload |
int | option_verbose |
char | record_cache_dir [AST_CACHE_DIR_LEN] |
Definition in file options.h.
#define AST_DEFAULT_OPTIONS AST_OPT_FLAG_TRANSCODE_VIA_SLIN |
#define ast_fully_booted ast_test_flag(&ast_options, AST_OPT_FLAG_FULLY_BOOTED) |
Definition at line 106 of file options.h.
Referenced by ast_module_reload(), ast_process_pending_reloads(), load_resource(), and scan_thread().
#define ast_opt_always_fork ast_test_flag(&ast_options, AST_OPT_FLAG_ALWAYS_FORK) |
#define ast_opt_cache_record_files ast_test_flag(&ast_options, AST_OPT_FLAG_CACHE_RECORD_FILES) |
#define ast_opt_console ast_test_flag(&ast_options, AST_OPT_FLAG_CONSOLE) |
Definition at line 100 of file options.h.
Referenced by ast_term_init(), console_verboser(), load_resource(), main(), and quit_handler().
#define ast_opt_dont_warn ast_test_flag(&ast_options, AST_OPT_FLAG_DONT_WARN) |
Definition at line 115 of file options.h.
Referenced by pbx_load_config(), show_codecs(), and show_codecs_deprecated().
#define ast_opt_dump_core ast_test_flag(&ast_options, AST_OPT_FLAG_DUMP_CORE) |
#define ast_opt_end_cdr_before_h_exten ast_test_flag(&ast_options, AST_OPT_FLAG_END_CDR_BEFORE_H_EXTEN) |
#define ast_opt_exec ast_test_flag(&ast_options, AST_OPT_FLAG_EXEC) |
Definition at line 104 of file options.h.
Referenced by ast_el_read_char(), ast_remotecontrol(), and main().
#define ast_opt_exec_includes ast_test_flag(&ast_options, AST_OPT_FLAG_EXEC_INCLUDES) |
#define ast_opt_generic_plc ast_test_flag(&ast_options, AST_OPT_FLAG_GENERIC_PLC) |
Definition at line 120 of file options.h.
Referenced by ast_channel_make_compatible(), and ast_write().
#define ast_opt_high_priority ast_test_flag(&ast_options, AST_OPT_FLAG_HIGH_PRIORITY) |
Definition at line 101 of file options.h.
Referenced by app_exec(), ast_safe_system(), icesencode(), main(), mp3play(), NBScatplay(), send_waveform_to_fd(), spawn_mp3(), and spawn_ras().
#define ast_opt_init_keys ast_test_flag(&ast_options, AST_OPT_FLAG_INIT_KEYS) |
#define ast_opt_internal_timing ast_test_flag(&ast_options, AST_OPT_FLAG_INTERNAL_TIMING) |
#define ast_opt_mute ast_test_flag(&ast_options, AST_OPT_FLAG_MUTE) |
Definition at line 119 of file options.h.
Referenced by ast_el_read_char(), and ast_remotecontrol().
#define ast_opt_no_color ast_test_flag(&ast_options, AST_OPT_FLAG_NO_COLOR) |
#define ast_opt_no_fork ast_test_flag(&ast_options, AST_OPT_FLAG_NO_FORK) |
#define ast_opt_override_config ast_test_flag(&ast_options, AST_OPT_FLAG_OVERRIDE_CONFIG) |
#define ast_opt_priority_jumping ast_test_flag(&ast_options, AST_OPT_FLAG_PRIORITY_JUMPING) |
Definition at line 108 of file options.h.
Referenced by aqm_exec(), chanavail_exec(), controlplayback_exec(), hasvoicemail_exec(), leave_voicemail(), lookupblacklist_exec(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), playback_exec(), pqm_exec(), privacy_exec(), rqm_exec(), sendimage_exec(), sendtext_exec(), sendurl_exec(), system_exec_helper(), transfer_exec(), upqm_exec(), vm_box_exists(), vm_exec(), and wait_for_answer().
#define ast_opt_quiet ast_test_flag(&ast_options, AST_OPT_FLAG_QUIET) |
#define ast_opt_reconnect ast_test_flag(&ast_options, AST_OPT_FLAG_RECONNECT) |
#define ast_opt_remote ast_test_flag(&ast_options, AST_OPT_FLAG_REMOTE) |
Definition at line 103 of file options.h.
Referenced by cli_complete(), cli_prompt(), main(), and quit_handler().
#define ast_opt_send_fullybooted ast_test_flag(&ast_options, AST_OPT_FLAG_SEND_FULLYBOOTED) |
#define ast_opt_timestamp ast_test_flag(&ast_options, AST_OPT_FLAG_TIMESTAMP) |
#define ast_opt_transcode_via_slin ast_test_flag(&ast_options, AST_OPT_FLAG_TRANSCODE_VIA_SLIN) |
#define ast_opt_transmit_silence ast_test_flag(&ast_options, AST_OPT_FLAG_TRANSMIT_SILENCE) |
Definition at line 114 of file options.h.
Referenced by __ast_play_and_record(), ast_bridge_call(), ast_dtmf_stream(), ast_readstring_full(), ast_safe_sleep_conditional(), waitforring_exec(), and waitforsilence_exec().
enum dahdi_chan_modes |
Definition at line 143 of file options.h.
00143 { 00144 CHAN_ZAP_MODE, 00145 CHAN_DAHDI_PLUS_ZAP_MODE, 00146 } *dahdi_chan_mode;
time_t ast_lastreloadtime |
Definition at line 207 of file asterisk.c.
Referenced by action_corestatus(), ast_module_reload(), handle_show_settings(), handle_showuptime(), and handle_showuptime_deprecated().
pid_t ast_mainpid |
Referenced by safe_append(), and scan_service().
time_t ast_startuptime |
Definition at line 206 of file asterisk.c.
Referenced by action_corestatus(), handle_show_settings(), handle_showuptime(), handle_showuptime_deprecated(), and main().
enum dahdi_chan_modes * dahdi_chan_mode |
Referenced by __unload_module(), load_module(), setup_dahdi(), and unload_module().
const char* dahdi_chan_name |
Definition at line 185 of file asterisk.c.
Referenced by __action_showchannels(), build_conf(), conf_run(), dahdi_new(), do_parking_thread(), exec(), find_conf_realtime(), flash_exec(), get_zap_channel_locked(), next_channel(), pbx_load_users(), pri_dchannel(), pri_fixup_principle(), and ss_thread().
const size_t* dahdi_chan_name_len |
Definition at line 186 of file asterisk.c.
Referenced by dahdi_new(), do_parking_thread(), and next_channel().
char debug_filename[AST_FILENAME_MAX] |
Definition at line 175 of file asterisk.c.
Referenced by ast_log(), handle_debuglevel_deprecated(), handle_nodebug(), and handle_set_debug().
char defaultlanguage[] |
char record_cache_dir[AST_CACHE_DIR_LEN] |