aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.h
blob: 8595827b2f1f223ec082291aa983e40bf5dc27fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Asterisk -- A telephony toolkit for Linux.
 *
 * General Definitions for Asterisk top level program
 * 
 * Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC
 *
 * Mark Spencer <markster@linux-support.net>
 *
 * This program is free software, distributed under the terms of
 * the GNU General Public License
 */

#ifndef _ASTERISK_H
#define _ASTERISK_H

#define AST_CONFIG_DIR "/etc/asterisk"
#define AST_MODULE_DIR "/usr/lib/asterisk/modules"
#define AST_SPOOL_DIR  "/var/spool/asterisk"
#define AST_VAR_DIR    "/var/lib/asterisk"
#define AST_LOG_DIR	   "/var/log/asterisk"

#define AST_CONFIG_FILE "asterisk.conf"

#define AST_SOUNDS AST_VAR_DIR "/sounds"

/* Provided by module.c */
extern int load_modules(void);
/* Provided by pbx.c */
extern int load_pbx(void);
/* Provided by logger.c */
extern int init_logger(void);

#endif