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 int option_highpriority;
00048 extern double option_maxload;
00049 extern int option_dontwarn;
00050 extern int option_priority_jumping;
00051 extern char defaultlanguage[];
00052 extern time_t ast_startuptime;
00053 extern time_t ast_lastreloadtime;
00054 extern int ast_mainpid;
00055 extern char record_cache_dir[AST_CACHE_DIR_LEN];
00056 extern char debug_filename[AST_FILENAME_MAX];
00057
00058 #define VERBOSE_PREFIX_1 " "
00059 #define VERBOSE_PREFIX_2 " == "
00060 #define VERBOSE_PREFIX_3 " -- "
00061 #define VERBOSE_PREFIX_4 " > "
00062
00063 #if defined(__cplusplus) || defined(c_plusplus)
00064 }
00065 #endif
00066
00067 #endif