mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-04 03:20:33 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
68 lines
1.8 KiB
C
68 lines
1.8 KiB
C
/*
|
|
* Asterisk -- An open source telephony toolkit.
|
|
*
|
|
* Copyright (C) 1999 - 2005, Digium, Inc.
|
|
*
|
|
* Mark Spencer <markster@digium.com>
|
|
*
|
|
* 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.
|
|
*
|
|
* This program is free software, distributed under the terms of
|
|
* the GNU General Public License Version 2. See the LICENSE file
|
|
* at the top of the source tree.
|
|
*/
|
|
|
|
/*! \file
|
|
* \brief Options provided by main asterisk program
|
|
*/
|
|
|
|
#ifndef _ASTERISK_OPTIONS_H
|
|
#define _ASTERISK_OPTIONS_H
|
|
|
|
#if defined(__cplusplus) || defined(c_plusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define AST_CACHE_DIR_LEN 512
|
|
#define AST_FILENAME_MAX 80
|
|
|
|
extern int option_verbose;
|
|
extern int option_debug;
|
|
extern int option_nofork;
|
|
extern int option_quiet;
|
|
extern int option_console;
|
|
extern int option_initcrypto;
|
|
extern int option_nocolor;
|
|
extern int fully_booted;
|
|
extern int option_exec_includes;
|
|
extern int option_cache_record_files;
|
|
extern int option_timestamp;
|
|
extern int option_transcode_slin;
|
|
extern int option_transmit_silence_during_record;
|
|
extern int option_maxcalls;
|
|
extern int option_highpriority;
|
|
extern double option_maxload;
|
|
extern int option_dontwarn;
|
|
extern int option_priority_jumping;
|
|
extern char defaultlanguage[];
|
|
extern time_t ast_startuptime;
|
|
extern time_t ast_lastreloadtime;
|
|
extern int ast_mainpid;
|
|
extern char record_cache_dir[AST_CACHE_DIR_LEN];
|
|
extern char debug_filename[AST_FILENAME_MAX];
|
|
|
|
#define VERBOSE_PREFIX_1 " "
|
|
#define VERBOSE_PREFIX_2 " == "
|
|
#define VERBOSE_PREFIX_3 " -- "
|
|
#define VERBOSE_PREFIX_4 " > "
|
|
|
|
#if defined(__cplusplus) || defined(c_plusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif /* _ASTERISK_OPTIONS_H */
|