summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/modules.h b/include/modules.h
index d240ab79b..500d5e025 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -220,12 +220,14 @@ int moduleAddCallback(char *name,time_t when,int (*func)(int argc, char *argv[])
void moduleDelCallback(char *name);
void moduleCallBackRun(void);
-char *moduleGetData(ModuleData *md[], char *key); /* Get the value for this key from this struct */
-int moduleAddData(ModuleData *md[], char *key, char *value); /* Set the value for this key for this struct */
-void moduleDelData(ModuleData *md[], char *key); /* Delete this key/value pair */
-void moduleDelAllData(ModuleData *md[]); /* Delete all key/value pairs for this module for this struct */
-void moduleCleanStruct(ModuleData * moduleData[]); /* Clean a moduleData hash */
+char *moduleGetData(ModuleData **md, char *key); /* Get the value for this key from this struct */
+int moduleAddData(ModuleData **md, char *key, char *value); /* Set the value for this key for this struct */
+void moduleDelData(ModuleData **md, char *key); /* Delete this key/value pair */
+void moduleDelAllData(ModuleData **md); /* Delete all key/value pairs for this module for this struct */
+void moduleCleanStruct(ModuleData **moduleData); /* Clean a moduleData hash */
void moduleDelAllDataMod(Module *m); /* remove all module data from all structs for this module */
+int moduleDataDebug(ModuleData **md); /* Allow for debug output of a moduleData struct */
+boolean moduleMinVersion(int major,int minor,int patch,int build); /* Checks if the current version of anope is before or after a given verison */
/*************************************************************************/