summaryrefslogtreecommitdiff
path: root/include/asterisk/_private.h
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2018-03-21 23:00:56 -0400
committerCorey Farrell <git@cfware.com>2018-03-22 00:33:12 -0400
commita6d58c518a2d1b92eba925ea75b7896461f30643 (patch)
tree0361e50e89dd400469b855c6f620f23f410917a6 /include/asterisk/_private.h
parentfa892d8dfd789af2e93f33ebf6686104dd84ad4a (diff)
core: Create main/options.c.
This creates a separate source to 'own' symbols related to options.h and paths.h. This significantly reduces the number of exports created by main/asterisk.o. This change is required to eventually be able to link unmodified Asterisk sources to utilities and/or stand-alone tests. ASTERISK~26245 Change-Id: I5cf184f4757f9363b80c9e678bdc35c477122380
Diffstat (limited to 'include/asterisk/_private.h')
-rw-r--r--include/asterisk/_private.h5
1 files changed, 5 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 */