00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _ASTERISK_OPTIONS_H
00024 #define _ASTERISK_OPTIONS_H
00025
00026 #if defined(__cplusplus) || defined(c_plusplus)
00027 extern "C" {
00028 #endif
00029
00030 #define AST_CACHE_DIR_LEN 512
00031 #define AST_FILENAME_MAX 80
00032
00033 extern int option_verbose;
00034 extern int option_debug;
00035 extern int option_nofork;
00036 extern int option_quiet;
00037 extern int option_console;
00038 extern int option_initcrypto;
00039 extern int option_nocolor;
00040 extern int fully_booted;
00041 extern int option_exec_includes;
00042 extern int option_cache_record_files;
00043 extern int option_timestamp;
00044 extern int option_transcode_slin;
00045 extern int option_transmit_silence_during_record;
00046 extern int option_maxcalls;
00047 extern double option_maxload;
00048 extern int option_dontwarn;
00049 extern int option_priority_jumping;
00050 extern char defaultlanguage[];
00051 extern time_t ast_startuptime;
00052 extern time_t ast_lastreloadtime;
00053 extern int ast_mainpid;
00054 extern char record_cache_dir[AST_CACHE_DIR_LEN];
00055 extern char debug_filename[AST_FILENAME_MAX];
00056
00057 #define VERBOSE_PREFIX_1 " "
00058 #define VERBOSE_PREFIX_2 " == "
00059 #define VERBOSE_PREFIX_3 " -- "
00060 #define VERBOSE_PREFIX_4 " > "
00061
00062 #if defined(__cplusplus) || defined(c_plusplus)
00063 }
00064 #endif
00065
00066 #endif