summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-06-06 18:31:29 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-06-06 18:31:29 +0000
commit43cf15e339a7dae7d601a6175d69550a13e61952 (patch)
tree6514298a4a99d53248d9d2acc4065b9cc8c866d2 /include
parentab206439d80fb9cac1eae8c37a54334f5caef6ac (diff)
add support for per-module version numbers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/module.h7
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 */
/*!