Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

asterisk.h

Go to the documentation of this file.
00001 /* 00002 * Asterisk -- A telephony toolkit for Linux. 00003 * 00004 * General Definitions for Asterisk top level 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_H 00015 #define _ASTERISK_H 00016 00017 #define DEFAULT_LANGUAGE "en" 00018 00019 #define AST_CONFIG_MAX_PATH 255 00020 #define AST_CONFIG_DIR ASTETCDIR 00021 #define AST_RUN_DIR ASTVARRUNDIR 00022 #define AST_SOCKET ASTVARRUNDIR "/asterisk.ctl" 00023 #define AST_PID ASTVARRUNDIR "/asterisk.pid" 00024 #define AST_MODULE_DIR ASTMODDIR 00025 #define AST_SPOOL_DIR ASTSPOOLDIR 00026 #define AST_VAR_DIR ASTVARLIBDIR 00027 #define AST_LOG_DIR ASTLOGDIR 00028 #define AST_AGI_DIR ASTAGIDIR 00029 #define AST_KEY_DIR ASTVARLIBDIR "/keys" 00030 #define AST_DB ASTVARLIBDIR "/astdb" 00031 00032 #define AST_CONFIG_FILE ASTCONFPATH 00033 00034 #define AST_SOUNDS AST_VAR_DIR "/sounds" 00035 #define AST_IMAGES AST_VAR_DIR "/images" 00036 00037 /* Provided by module.c */ 00038 extern int load_modules(void); 00039 /* Provided by pbx.c */ 00040 extern int load_pbx(void); 00041 /* Provided by logger.c */ 00042 extern int init_logger(void); 00043 /* Provided by frame.c */ 00044 extern int init_framer(void); 00045 /* Provided by logger.c */ 00046 extern int reload_logger(int); 00047 /* Provided by term.c */ 00048 extern int term_init(void); 00049 /* Provided by db.c */ 00050 extern int astdb_init(void); 00051 00052 #endif

Generated on Sat Jun 12 16:40:57 2004 for Asterisk by doxygen 1.3.7