00001 /*
00002 * Asterisk -- A telephony toolkit for Linux.
00003 *
00004 * Options provided by main asterisk program
00005 *
00006 * Copyright (C) 1999, Mark Spencer
00007 *
00008 * Mark Spencer <markster@linux-support.net>
00009 *
00010 * This program is free software, distributed under the terms of
00011 * the GNU General Public License
00012 */
00013
00014 #ifndef _ASTERISK_OPTIONS_H
00015 #define _ASTERISK_OPTIONS_H
00016
00017 #if defined(__cplusplus) || defined(c_plusplus)
00018 extern "C" {
00019 #endif
00020
00021 #define AST_CACHE_DIR_LEN 512
00022
00023 extern int option_verbose;
00024 extern int option_debug;
00025 extern int option_nofork;
00026 extern int option_quiet;
00027 extern int option_console;
00028 extern int option_initcrypto;
00029 extern int option_nocolor;
00030 extern int fully_booted;
00031 extern int option_cache_record_files;
00032 extern char defaultlanguage[];
00033 extern time_t ast_startuptime;
00034 extern time_t ast_lastreloadtime;
00035 extern int ast_mainpid;
00036 extern char record_cache_dir[AST_CACHE_DIR_LEN];
00037
00038 #define VERBOSE_PREFIX_1 " "
00039 #define VERBOSE_PREFIX_2 " == "
00040 #define VERBOSE_PREFIX_3 " -- "
00041 #define VERBOSE_PREFIX_4 " > "
00042
00043 #if defined(__cplusplus) || defined(c_plusplus)
00044 }
00045 #endif
00046
00047
00048
00049 #endif
1.2.15