1999-10-27 00:56:38 +00:00
|
|
|
/*
|
2005-08-30 18:32:10 +00:00
|
|
|
* Asterisk -- An open source telephony toolkit.
|
1999-10-27 00:56:38 +00:00
|
|
|
*
|
2005-08-30 18:32:10 +00:00
|
|
|
* Copyright (C) 1999 - 2005, Digium, Inc.
|
|
|
|
*
|
|
|
|
* Mark Spencer <markster@digium.com>
|
1999-10-27 00:56:38 +00:00
|
|
|
*
|
2005-08-30 18:32:10 +00:00
|
|
|
* See http://www.asterisk.org for more information about
|
|
|
|
* the Asterisk project. Please do not directly contact
|
|
|
|
* any of the maintainers of this project for assistance;
|
|
|
|
* the project provides a web site, mailing lists and IRC
|
|
|
|
* channels for your use.
|
1999-10-27 00:56:38 +00:00
|
|
|
*
|
|
|
|
* This program is free software, distributed under the terms of
|
2005-08-30 18:32:10 +00:00
|
|
|
* the GNU General Public License Version 2. See the LICENSE file
|
|
|
|
* at the top of the source tree.
|
|
|
|
*/
|
|
|
|
|
2005-10-24 20:12:06 +00:00
|
|
|
/*! \file
|
|
|
|
* \brief Options provided by main asterisk program
|
1999-10-27 00:56:38 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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;
|
2005-05-19 01:57:19 +00:00
|
|
|
extern int option_dontwarn;
|
2005-07-26 16:29:56 +00:00
|
|
|
extern int option_priority_jumping;
|
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
|
|
|
|
|
2005-08-30 18:32:10 +00:00
|
|
|
#endif /* _ASTERISK_OPTIONS_H */
|