aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-04 13:44:50 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-04 13:44:50 +0000
commit189e5866cf2e48ecd334cb1f3eb70dc61b8d5492 (patch)
tree465fe363ed93dd73d6782e6e5eb524ddf5b168d7 /include
parentfba247c96f9faa4325cd5246b4e61b7a39b95591 (diff)
- Add manager command CoreSettings
- Add missing option to options.h - Add missing variables to asterisk.h - Move manager version to manager.h include file git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63030 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk.h2
-rw-r--r--include/asterisk/manager.h1
-rw-r--r--include/asterisk/options.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 6ec3c8452..bdd59402e 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -63,6 +63,8 @@ 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_RUN_GROUP[PATH_MAX];
+extern char ast_config_AST_RUN_USER[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];
diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h
index fd1ed4ac5..8d1e8579f 100644
--- a/include/asterisk/manager.h
+++ b/include/asterisk/manager.h
@@ -45,6 +45,7 @@
You can find a reference of standard headers in doc/manager.txt
*/
+#define AMI_VERSION "1.0"
#define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */
#define EVENT_FLAG_SYSTEM (1 << 0) /* System events such as module load/unload */
diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index f94cf6e0e..7a08796a5 100644
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -110,6 +110,7 @@ enum ast_option_flags {
extern struct ast_flags ast_options;
extern int option_verbose;
+extern int option_maxfiles; /*!< Max number of open file handles (files, sockets) */
extern int option_debug; /*!< Debugging */
extern int option_maxcalls; /*!< Maximum number of simultaneous channels */
extern double option_maxload;