1999-10-27 00:56:38 +00:00
|
|
|
/*
|
|
|
|
* Asterisk -- A telephony toolkit for Linux.
|
|
|
|
*
|
|
|
|
* Options provided by main asterisk program
|
|
|
|
*
|
1999-12-11 20:09:45 +00:00
|
|
|
* Copyright (C) 1999, Mark Spencer
|
1999-10-27 00:56:38 +00:00
|
|
|
*
|
|
|
|
* Mark Spencer <markster@linux-support.net>
|
|
|
|
*
|
|
|
|
* This program is free software, distributed under the terms of
|
|
|
|
* the GNU General Public License
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASTERISK_OPTIONS_H
|
|
|
|
#define _ASTERISK_OPTIONS_H
|
|
|
|
|
|
|
|
#if defined(__cplusplus) || defined(c_plusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2004-09-07 01:49:08 +00:00
|
|
|
#define AST_CACHE_DIR_LEN 512
|
2005-03-05 04:04:55 +00:00
|
|
|
#define AST_FILENAME_MAX 80
|
2004-09-07 01:49:08 +00:00
|
|
|
|
1999-10-27 00:56:38 +00:00
|
|
|
extern int option_verbose;
|
|
|
|
extern int option_debug;
|
|
|
|
extern int option_nofork;
|
|
|
|
extern int option_quiet;
|
1999-12-22 23:07:49 +00:00
|
|
|
extern int option_console;
|
2001-12-25 21:12:07 +00:00
|
|
|
extern int option_initcrypto;
|
2002-05-12 15:08:37 +00:00
|
|
|
extern int option_nocolor;
|
1999-12-22 23:07:49 +00:00
|
|
|
extern int fully_booted;
|
2005-02-02 03:38:24 +00:00
|
|
|
extern int option_exec_includes;
|
2004-09-07 01:49:08 +00:00
|
|
|
extern int option_cache_record_files;
|
2005-03-11 07:24:10 +00:00
|
|
|
extern int option_timestamp;
|
2005-04-04 03:28:38 +00:00
|
|
|
extern int option_transcode_slin;
|
2005-05-18 01:49:13 +00:00
|
|
|
extern int option_maxcalls;
|
2000-01-09 19:58:18 +00:00
|
|
|
extern char defaultlanguage[];
|
2003-05-02 15:37:34 +00:00
|
|
|
extern time_t ast_startuptime;
|
|
|
|
extern time_t ast_lastreloadtime;
|
2004-03-20 21:13:12 +00:00
|
|
|
extern int ast_mainpid;
|
2004-09-07 01:49:08 +00:00
|
|
|
extern char record_cache_dir[AST_CACHE_DIR_LEN];
|
2005-03-05 04:04:55 +00:00
|
|
|
extern char debug_filename[AST_FILENAME_MAX];
|
1999-10-27 00:56:38 +00:00
|
|
|
|
|
|
|
#define VERBOSE_PREFIX_1 " "
|
|
|
|
#define VERBOSE_PREFIX_2 " == "
|
|
|
|
#define VERBOSE_PREFIX_3 " -- "
|
2001-12-25 21:12:07 +00:00
|
|
|
#define VERBOSE_PREFIX_4 " > "
|
1999-10-27 00:56:38 +00:00
|
|
|
|
|
|
|
#if defined(__cplusplus) || defined(c_plusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|