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 #define AST_DATA_DIR ASTDATADIR 00032 00033 #define AST_CONFIG_FILE ASTCONFPATH 00034 00035 #define AST_SOUNDS ASTDATADIR "/sounds" 00036 #define AST_IMAGES ASTDATADIR "/images" 00037 00038 /* Provided by module.c */ 00039 extern int load_modules(void); 00040 /* Provided by pbx.c */ 00041 extern int load_pbx(void); 00042 /* Provided by logger.c */ 00043 extern int init_logger(void); 00044 extern void close_logger(void); 00045 /* Provided by frame.c */ 00046 extern int init_framer(void); 00047 /* Provided by logger.c */ 00048 extern int reload_logger(int); 00049 /* Provided by term.c */ 00050 extern int term_init(void); 00051 /* Provided by db.c */ 00052 extern int astdb_init(void); 00053 00054 #endif

Generated on Tue Aug 17 16:13:52 2004 for Asterisk by doxygen 1.3.8