diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-26 18:39:06 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-26 18:39:06 +0000 |
commit | f0d1cef621b6279261a351a1c06caccd6fe9e85a (patch) | |
tree | e3b98ea87c1f245716b009b4b7173c660297f04e /include | |
parent | 48c13bd6a34d681877f05c8bb7ed1ec47360f56e (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: http://svn.digium.com/svn/asterisk/trunk@111012 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/config.h | 2 | ||||
-rw-r--r-- | include/asterisk/udptl.h | 2 |
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) } |