2 * Asterisk -- A telephony toolkit for Linux.
4 * General Definitions for Asterisk top level program
6 * Copyright (C) 1999, Mark Spencer
8 * Mark Spencer <markster@linux-support.net>
10 * This program is free software, distributed under the terms of
11 * the GNU General Public License
17 #define DEFAULT_LANGUAGE "en"
19 #define AST_CONFIG_MAX_PATH 255
20 #define AST_CONFIG_DIR ASTETCDIR
21 #define AST_RUN_DIR ASTVARRUNDIR
22 #define AST_SOCKET ASTVARRUNDIR "/asterisk.ctl"
23 #define AST_PID ASTVARRUNDIR "/asterisk.pid"
24 #define AST_MODULE_DIR ASTMODDIR
25 #define AST_SPOOL_DIR ASTSPOOLDIR
26 #define AST_VAR_DIR ASTVARLIBDIR
27 #define AST_LOG_DIR ASTLOGDIR
28 #define AST_AGI_DIR ASTAGIDIR
29 #define AST_KEY_DIR ASTVARLIBDIR "/keys"
30 #define AST_DB ASTVARLIBDIR "/astdb"
32 #define AST_CONFIG_FILE ASTCONFPATH
34 #define AST_SOUNDS AST_VAR_DIR "/sounds"
35 #define AST_IMAGES AST_VAR_DIR "/images"
37 /* Provided by module.c */
38 extern int load_modules(void);
39 /* Provided by pbx.c */
40 extern int load_pbx(void);
41 /* Provided by logger.c */
42 extern int init_logger(void);
43 /* Provided by frame.c */
44 extern int init_framer(void);
45 /* Provided by logger.c */
46 extern int reload_logger(void);
47 /* Provided by term.c */
48 extern int term_init(void);
49 /* Provided by db.c */
50 extern int astdb_init(void);