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

Generated on Wed Mar 16 20:08:34 2005 for Asterisk by  doxygen 1.4.0