diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2018-04-02 08:31:08 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2018-04-02 08:31:08 -0500 |
commit | 0718964e32bc212985b5301375d0b162f61b13fc (patch) | |
tree | 9053efbdbb7a3e995c1d174447c538bbd31a9354 /include | |
parent | da5c1a66c7d200fe4039740a1ce29c3852f5562f (diff) | |
parent | a6d58c518a2d1b92eba925ea75b7896461f30643 (diff) |
Merge "core: Create main/options.c."
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/_private.h | 5 | ||||
-rw-r--r-- | include/asterisk/paths.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/_private.h b/include/asterisk/_private.h index 431f96108..d19c58967 100644 --- a/include/asterisk/_private.h +++ b/include/asterisk/_private.h @@ -15,6 +15,11 @@ #ifndef _ASTERISK__PRIVATE_H #define _ASTERISK__PRIVATE_H +/* Load settings from asterisk.conf, provided by options.c */ +void load_asterisk_conf(void); +void set_asterisk_conf_path(const char *path); +void set_socket_path(const char *path); + int load_modules(unsigned int); /*!< Provided by loader.c */ int modules_shutdown(void); /*!< Provided by loader.c */ int load_pbx(void); /*!< Provided by pbx.c */ diff --git a/include/asterisk/paths.h b/include/asterisk/paths.h index 3e3b8eae0..de28c7575 100644 --- a/include/asterisk/paths.h +++ b/include/asterisk/paths.h @@ -37,5 +37,9 @@ extern const char *ast_config_AST_RUN_GROUP; extern const char *ast_config_AST_RUN_USER; extern const char *ast_config_AST_SYSTEM_NAME; extern const char *ast_config_AST_SBIN_DIR; +extern const char *ast_config_AST_CTL_PERMISSIONS; +extern const char *ast_config_AST_CTL_OWNER; +extern const char *ast_config_AST_CTL_GROUP; +extern const char *ast_config_AST_CTL; #endif /* _ASTERISK_PATHS_H */ |