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_DATA_DIR ASTDATADIR
00028 #define AST_LOG_DIR  ASTLOGDIR
00029 #define AST_AGI_DIR  ASTAGIDIR
00030 #define AST_KEY_DIR  ASTVARLIBDIR "/keys"
00031 #define AST_DB    ASTVARLIBDIR "/astdb"
00032 #define AST_TMP_DIR  ASTSPOOLDIR "/tmp"
00033 
00034 #define AST_CONFIG_FILE ASTCONFPATH
00035 
00036 #define AST_SOUNDS AST_DATA_DIR "/sounds"
00037 #define AST_IMAGES AST_DATA_DIR "/images"
00038 
00039 /* Provided by module.c */
00040 extern int load_modules(void);
00041 /* Provided by pbx.c */
00042 extern int load_pbx(void);
00043 /* Provided by logger.c */
00044 extern int init_logger(void);
00045 extern void close_logger(void);
00046 /* Provided by frame.c */
00047 extern int init_framer(void);
00048 /* Provided by logger.c */
00049 extern int reload_logger(int);
00050 /* Provided by term.c */
00051 extern int term_init(void);
00052 /* Provided by db.c */
00053 extern int astdb_init(void);
00054 
00055 #endif

Generated on Thu Oct 28 11:32:52 2004 for Asterisk by doxygen1.2.15