[asterisk-commits] kpfleming: trunk r40853 - in /trunk/include: asterisk.h asterisk/paths.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Aug 22 14:45:16 MST 2006


Author: kpfleming
Date: Tue Aug 22 16:45:15 2006
New Revision: 40853

URL: http://svn.digium.com/view/asterisk?rev=40853&view=rev
Log:
add a new include file for out-of-tree modules that need to know where things are located

Added:
    trunk/include/asterisk/paths.h   (with props)
Modified:
    trunk/include/asterisk.h

Modified: trunk/include/asterisk.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk.h?rev=40853&r1=40852&r2=40853&view=diff
==============================================================================
--- trunk/include/asterisk.h (original)
+++ trunk/include/asterisk.h Tue Aug 22 16:45:15 2006
@@ -22,7 +22,7 @@
 
 #include "asterisk/compat.h"
 
-#include <limits.h>
+#include "asterisk/paths.h"
 
 #define DEFAULT_LANGUAGE "en"
 

Added: trunk/include/asterisk/paths.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/paths.h?rev=40853&view=auto
==============================================================================
--- trunk/include/asterisk/paths.h (added)
+++ trunk/include/asterisk/paths.h Tue Aug 22 16:45:15 2006
@@ -1,0 +1,43 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
+ * Paths to configurable Asterisk directories
+ * 
+ * Copyright (C) 1999-2006, Digium, Inc.
+ *
+ * Mark Spencer <markster at digium.com>
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License
+ */
+
+/*! \file
+ * \brief Asterisk main include file. File version handling, generic pbx functions.
+ */
+
+#ifndef _ASTERISK_PATHS_H
+#define _ASTERISK_PATHS_H
+
+#include <limits.h>
+
+extern char ast_config_AST_CONFIG_DIR[PATH_MAX];
+extern char ast_config_AST_CONFIG_FILE[PATH_MAX];
+extern char ast_config_AST_MODULE_DIR[PATH_MAX];
+extern char ast_config_AST_SPOOL_DIR[PATH_MAX];
+extern char ast_config_AST_MONITOR_DIR[PATH_MAX];
+extern char ast_config_AST_VAR_DIR[PATH_MAX];
+extern char ast_config_AST_DATA_DIR[PATH_MAX];
+extern char ast_config_AST_LOG_DIR[PATH_MAX];
+extern char ast_config_AST_AGI_DIR[PATH_MAX];
+extern char ast_config_AST_DB[PATH_MAX];
+extern char ast_config_AST_KEY_DIR[PATH_MAX];
+extern char ast_config_AST_PID[PATH_MAX];
+extern char ast_config_AST_SOCKET[PATH_MAX];
+extern char ast_config_AST_RUN_DIR[PATH_MAX];
+extern char ast_config_AST_CTL_PERMISSIONS[PATH_MAX];
+extern char ast_config_AST_CTL_OWNER[PATH_MAX];
+extern char ast_config_AST_CTL_GROUP[PATH_MAX];
+extern char ast_config_AST_CTL[PATH_MAX];
+extern char ast_config_AST_SYSTEM_NAME[20];
+
+#endif /* _ASTERISK_PATHS_H */

Propchange: trunk/include/asterisk/paths.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/include/asterisk/paths.h
------------------------------------------------------------------------------
    svn:keywords = Author Id Date Revision

Propchange: trunk/include/asterisk/paths.h
------------------------------------------------------------------------------
    svn:mime-type = text/plain



More information about the asterisk-commits mailing list