diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-13 12:37:17 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-13 12:37:17 +0000 |
commit | b95c53765cd3bdd85a60072f3f32d4ce4ad950bc (patch) | |
tree | 7ab56b05fa8448dec5edfdd22258bc735c6a922b /include/modules.h | |
parent | aaa81d2dfb32ac81455d1b4fdbba343bd685f554 (diff) |
BUILD : 1.7.14 (1048) BUGS : 510 NOTES : Fixed a lot of redundant function declarations
git-svn-id: svn://svn.anope.org/anope/trunk@1048 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@772 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/modules.h b/include/modules.h index 91910ea40..49d7a8dbd 100644 --- a/include/modules.h +++ b/include/modules.h @@ -299,11 +299,11 @@ MDE int moduleAddOperHelp(Command * c, int (*func) (User * u)); MDE int moduleAddAdminHelp(Command * c, int (*func) (User * u)); MDE int moduleAddRootHelp(Command * c, int (*func) (User * u)); MDE void moduleSetType(MODType type); -MDE Module *mod_current_module; -MDE char *mod_current_module_name; -MDE char *mod_current_buffer; -MDE int mod_current_op; -MDE User *mod_current_user; +extern MDE Module *mod_current_module; +extern MDE char *mod_current_module_name; +extern MDE char *mod_current_buffer; +extern MDE int mod_current_op; +extern MDE User *mod_current_user; MDE int moduleGetConfigDirective(Directive *h); /*************************************************************************/ @@ -329,7 +329,6 @@ MDE int moduleAddMessage(Message *m, int pos); int delMessage(MessageHash *msgTable[], Message *m, char *mod_name); /* Del a Message from a msg table */ MDE int moduleDelMessage(char *name); int destroyMessage(Message *m); /* destroy a Message*/ -Message *findMessage(MessageHash *msgTable[], const char *name); /*************************************************************************/ @@ -360,13 +359,11 @@ MDE void moduleDeleteLanguage(int langNumber); MDE int moduleAddCallback(char *name,time_t when,int (*func)(int argc, char *argv[]),int argc, char **argv); MDE void moduleDelCallback(char *name); -MDE void moduleCallBackRun(void); MDE char *moduleGetData(ModuleData **md, char *key); /* Get the value for this key from this struct */ MDE int moduleAddData(ModuleData **md, char *key, char *value); /* Set the value for this key for this struct */ MDE void moduleDelData(ModuleData **md, char *key); /* Delete this key/value pair */ MDE void moduleDelAllData(ModuleData **md); /* Delete all key/value pairs for this module for this struct */ -MDE 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 */ MDE boolean moduleMinVersion(int major,int minor,int patch,int build); /* Checks if the current version of anope is before or after a given verison */ |