mirror of
https://github.com/anope/anope.git
synced 2026-07-03 00:43:12 +02:00
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
This commit is contained in:
parent
aaa81d2dfb
commit
b95c53765c
@@ -13,4 +13,3 @@
|
||||
*/
|
||||
|
||||
E int encrypt(const char *src, int len, char *dest, int size);
|
||||
E int check_password(const char *plaintext, const char *password);
|
||||
|
||||
+3
-8
@@ -33,6 +33,7 @@
|
||||
E char *uplink;
|
||||
|
||||
/* IRC Variables */
|
||||
|
||||
E IRCDVar *ircd;
|
||||
E IRCDCAPAB *ircdcap;
|
||||
E char *flood_mode_char_set;
|
||||
@@ -82,10 +83,6 @@ E void bot_raw_mode(User * requester, ChannelInfo * ci, char *mode, char *nick);
|
||||
/**** channels.c ****/
|
||||
|
||||
E Channel *chanlist[1024];
|
||||
E CBMode cbmodes[128];
|
||||
E CUMode cumodes[128];
|
||||
E CMMode cmmodes[128];
|
||||
E char csmodes[128];
|
||||
|
||||
E void add_ban(Channel * chan, char *mask);
|
||||
E void chan_adduser2(User * user, Channel * c);
|
||||
@@ -1019,8 +1016,8 @@ E void finish_sync(Server *serv, int sync_links);
|
||||
E Exception *exceptions;
|
||||
E int16 nexceptions;
|
||||
|
||||
Session *sessionlist[1024];
|
||||
int32 nsessions;
|
||||
E Session *sessionlist[1024];
|
||||
E int32 nsessions;
|
||||
|
||||
E void get_session_stats(long *nrec, long *memuse);
|
||||
E void get_exception_stats(long *nrec, long *memuse);
|
||||
@@ -1295,12 +1292,10 @@ I int anope_event_netctrl(char *source, int ac, char **av);
|
||||
I int anope_event_notice(char *source, int ac, char **av);
|
||||
I int anope_event_snotice(char *source, int ac, char **av);
|
||||
I int anope_event_sqline(char *source, int ac, char **av);
|
||||
I int anope_event_error(char *source, int ac, char **av);
|
||||
I int anope_event_smo(char *source, int ac, char **av);
|
||||
I int anope_event_myid(char *source, int ac, char **av);
|
||||
I int anope_event_vctrl(char *source, int ac, char **av);
|
||||
I int anope_event_tctrl(char *source, int ac, char **av);
|
||||
I int anope_event_netinfo(char *source, int ac, char **av);
|
||||
I int anope_event_snetinfo(char *source, int ac, char **av);
|
||||
I int anope_event_umode2(char *source, int ac, char **av);
|
||||
I int anope_event_globops(char *source, int ac, char **av);
|
||||
|
||||
+5
-8
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user