diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-06 18:31:29 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-06 18:31:29 +0000 |
commit | a74f3f93f433594e6ac5a3fef0ea859ebfc43a14 (patch) | |
tree | 6514298a4a99d53248d9d2acc4065b9cc8c866d2 /include | |
parent | 4b1baec1ef6a8d299c43030c55f9262578258e13 (diff) |
add support for per-module version numbers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5862 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/module.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h index f1cc115f1..c674d16ae 100755 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -66,6 +66,8 @@ char *key(void); /*! Return the below mentioned key, unmodified */ */ int reload(void); /*! reload configs */ +const char *version(void); + #define ASTERISK_GPL_KEY \ "This paragraph is Copyright (C) 2000, Linux Support Services, Inc. \ In order for your module to load, it must return this key via a function \ @@ -112,9 +114,10 @@ void ast_update_use_count(void); /*! * \param modentry a callback to an updater function * For each of the modules loaded, modentry will be executed with the resource, description, - * and usecount values of each particular module. + * version, and usecount values of each particular module. */ -int ast_update_module_list(int (*modentry)(char *module, char *description, int usecnt, char *like), char *like); +int ast_update_module_list(int (*modentry)(const char *module, const char *description, int usecnt, const char *version, const char *like), + const char *like); /*! Ask this procedure to be run with modules have been updated */ /*! |