Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:47:54 2009

## Asterisk developer's documentation

# options.h

Go to the documentation of this file.

    00001 /*
    00002  * Asterisk -- An open source telephony toolkit.
    00003  *
    00004  * Copyright (C) 1999 - 2005, Digium, Inc.
    00005  *
    00006  * Mark Spencer <markster@digium.com>
    00007  *
    00008  * See http://www.asterisk.org for more information about
    00009  * the Asterisk project. Please do not directly contact
    00010  * any of the maintainers of this project for assistance;
    00011  * the project provides a web site, mailing lists and IRC
    00012  * channels for your use.
    00013  *
    00014  * This program is free software, distributed under the terms of
    00015  * the GNU General Public License Version 2. See the LICENSE file
    00016  * at the top of the source tree.
    00017  */
    00018
    00019 /*! \file
    00020  * \brief Options provided by main asterisk program
    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 /* _ASTERISK_OPTIONS_H */