diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-16 22:59:30 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-16 22:59:30 +0000 |
commit | 97956e0b080f165b8c3f83a8f9c0d921926b0613 (patch) | |
tree | 84c2923fd344e5bf0c06914b1cde63e6eefded0c /include/asterisk/module.h | |
parent | d8b31ce4ced6db8c93171133f5d97bc1a39bbed3 (diff) |
Optimize module loading (bug #3356)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4814 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/module.h')
-rwxr-xr-x | include/asterisk/module.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h index 41cb6f39a..f1cc115f1 100755 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -89,7 +89,7 @@ this paragraph under other terms as well." * it will do the rest. * It returns 0 on success, -1 on error */ -int ast_load_resource(char *resource_name); +int ast_load_resource(const char *resource_name); /*! Unloads a module */ /*! @@ -99,7 +99,7 @@ int ast_load_resource(char *resource_name); * it will not unload a module with a usecount > 0. However, if it is set, * it will unload the module regardless of consequences (NOT_RECOMMENDED) */ -int ast_unload_resource(char *resource_name, int force); +int ast_unload_resource(const char *resource_name, int force); /*! Notify when usecount has been changed */ /*! |