[Asterisk-cvs] asterisk/include astconf.h, NONE, 1.1 asterisk.h, NONE, 1.1

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu Apr 21 01:12:03 CDT 2005


Update of /usr/cvsroot/asterisk/include
In directory mongoose.digium.com:/tmp/cvs-serv6707/include

Added Files:
	astconf.h asterisk.h 
Log Message:
use double-quotes instead of angle-brackets for non-system include files (bug #4058)


--- NEW FILE: astconf.h ---
/*
 * Asterisk -- A telephony toolkit for Linux.
 *
 * General Definitions for Asterisk top level program
 * 
 * Copyright (C) 1999, Mark Spencer
 *
 * Mark Spencer <markster at linux-support.net>
 *
 * This program is free software, distributed under the terms of
 * the GNU General Public License
 */

#ifndef _ASTCONF_H
#define _ASTCONF_H

#define AST_CONFIG_MAX_PATH 255

extern char ast_config_AST_CONFIG_DIR[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_CONFIG_FILE[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_MODULE_DIR[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_SPOOL_DIR[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_VAR_DIR[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_LOG_DIR[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_AGI_DIR[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_DB[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_KEY_DIR[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_PID[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_SOCKET[AST_CONFIG_MAX_PATH];
extern char ast_config_AST_RUN_DIR[AST_CONFIG_MAX_PATH];

#endif

--- NEW FILE: asterisk.h ---
/*
 * Asterisk -- A telephony toolkit for Linux.
 *
 * General Definitions for Asterisk top level program
 * 
 * Copyright (C) 1999, Mark Spencer
 *
 * Mark Spencer <markster at 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 DEFAULT_LANGUAGE "en"

#define AST_CONFIG_MAX_PATH 255
#define AST_CONFIG_DIR 	ASTETCDIR
#define AST_RUN_DIR	ASTVARRUNDIR
#define AST_SOCKET	ASTVARRUNDIR "/asterisk.ctl"
#define AST_PID		ASTVARRUNDIR "/asterisk.pid"
#define AST_MODULE_DIR 	ASTMODDIR
#define AST_SPOOL_DIR  	ASTSPOOLDIR
#define AST_VAR_DIR    	ASTVARLIBDIR
#define AST_LOG_DIR	ASTLOGDIR
#define AST_AGI_DIR	ASTAGIDIR
#define AST_KEY_DIR	ASTVARLIBDIR "/keys"
#define AST_DB		ASTVARLIBDIR "/astdb"
#define AST_TMP_DIR	ASTSPOOLDIR "/tmp"

#define AST_CONFIG_FILE ASTCONFPATH

#define AST_SOUNDS AST_VAR_DIR "/sounds"
#define AST_IMAGES AST_VAR_DIR "/images"

/* 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);
extern void close_logger(void);
/* Provided by frame.c */
extern int init_framer(void);
/* Provided by logger.c */
extern int reload_logger(int);
/* Provided by term.c */
extern int term_init(void);
/* Provided by db.c */
extern int astdb_init(void);
/* Provided by channel.c */
extern void ast_channels_init(void);
/* Provided by dnsmgr.c */
extern int dnsmgr_init(void);
extern void dnsmgr_reload(void);

#endif




More information about the svn-commits mailing list