summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-03-26 18:39:06 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-03-26 18:39:06 +0000
commitef4eff9a9bcce416c25c089c4f86fd0b78d79028 (patch)
treee3b98ea87c1f245716b009b4b7173c660297f04e /include
parentcaf7b47b69d29e669aca53634bbcfbf74d23de1d (diff)
Add the "config reload <conffile>" command, which allows you to tell Asterisk
to reload any file that references a given configuration file. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/config.h2
-rw-r--r--include/asterisk/udptl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index 793bb89ff..da88e21a8 100644
--- a/include/asterisk/config.h
+++ b/include/asterisk/config.h
@@ -97,7 +97,7 @@ struct ast_config_engine {
*/
struct ast_config *ast_config_load2(const char *filename, const char *who_asked, struct ast_flags flags);
-#define ast_config_load(filename, flags) ast_config_load2(filename, __FILE__, flags)
+#define ast_config_load(filename, flags) ast_config_load2(filename, AST_MODULE, flags)
/*! \brief Destroys a config
* \param config pointer to config data structure
diff --git a/include/asterisk/udptl.h b/include/asterisk/udptl.h
index 74fcf357d..0d9e8d803 100644
--- a/include/asterisk/udptl.h
+++ b/include/asterisk/udptl.h
@@ -118,7 +118,7 @@ void ast_udptl_stop(struct ast_udptl *udptl);
void ast_udptl_init(void);
-void ast_udptl_reload(void);
+int ast_udptl_reload(void);
#if defined(__cplusplus) || defined(c_plusplus)
}