projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some usleep milliseconds to give IOHandler the chance to disconnect the sockets...
[NeonServV5.git]
/
src
/
modules.c
diff --git
a/src/modules.c
b/src/modules.c
index eda8f46f479762e434ea537db06a7ef3602356b5..7310c88465152f21f1dc0351869489867d1346e4 100644
(file)
--- a/
src/modules.c
+++ b/
src/modules.c
@@
-1,4
+1,4
@@
-/* modules.c - NeonServ v5.
5
+/* modules.c - NeonServ v5.
6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-19,7
+19,10
@@
#include <dlfcn.h>
#endif
#include <dlfcn.h>
#endif
-/* 000-011 */ #include "main.h"
+/* 000-001 */ #include "main.h"
+/* 002-004 */ #include "tools.h"
+/* 005-006 */ /* deprecated */
+/* 007-011 */ /* main.h */
/* 012 */ #include "BanNode.h"
/* 013-019 */ #include "bots.h"
/* 020-025 */ #include "ChanNode.h"
/* 012 */ #include "BanNode.h"
/* 013-019 */ #include "bots.h"
/* 020-025 */ #include "ChanNode.h"
@@
-40,7
+43,7
@@
/* 126-136 */ #include "ModeNode.h"
/* 137-142 */ #include "mysqlConn.h"
/* 143-149 */ #include "timeq.h"
/* 126-136 */ #include "ModeNode.h"
/* 137-142 */ #include "mysqlConn.h"
/* 143-149 */ #include "timeq.h"
-/* 150-169 */
#include "tools.h"
+/* 150-169 */
/* tools.h */
/* 170-180 */ #include "UserNode.h"
/* 181-183 */ #include "WHOHandler.h"
/* 184-188 */ #include "version.h"
/* 170-180 */ #include "UserNode.h"
/* 181-183 */ #include "WHOHandler.h"
/* 184-188 */ #include "version.h"
@@
-48,17
+51,19
@@
/* 190 */ /* UserNode.h */
/* 191-193 */ #include "ModuleFunctions.h"
/* 194 */ /* bots.h */
/* 190 */ /* UserNode.h */
/* 191-193 */ #include "ModuleFunctions.h"
/* 194 */ /* bots.h */
+/* 195-196 */ /* version.h */
+/* 197-198 */ /* IRCEvents.h */
#define Function void *
void *global_functions[] = {
/* 000 */ (Function) getStartTime,
/* 001 */ (Function) getRunningThreads,
#define Function void *
void *global_functions[] = {
/* 000 */ (Function) getStartTime,
/* 001 */ (Function) getRunningThreads,
-/* 002 */ (Function)
exit_daemon
,
+/* 002 */ (Function)
getCurrentSecondsOfDay
,
/* 003 */ (Function) stricmp,
/* 004 */ (Function) stricmplen,
/* 003 */ (Function) stricmp,
/* 004 */ (Function) stricmplen,
-/* 005 */ (Function)
restart_process,
-/* 006 */ (Function)
cleanup,
+/* 005 */ (Function)
NULL, /* deprecated */
+/* 006 */ (Function)
NULL, /* deprecated */
/* 007 */ (Function) restart_bot,
/* 008 */ (Function) stop_bot,
/* 009 */ (Function) reload_config,
/* 007 */ (Function) restart_bot,
/* 008 */ (Function) stop_bot,
/* 009 */ (Function) reload_config,
@@
-113,8
+118,8
@@
void *global_functions[] = {
/* 054 */ (Function) unbind_nick,
/* 055 */ (Function) bind_part,
/* 056 */ (Function) unbind_part,
/* 054 */ (Function) unbind_nick,
/* 055 */ (Function) bind_part,
/* 056 */ (Function) unbind_part,
-/* 057 */ (Function)
NULL, /* deprecated */
-/* 058 */ (Function)
NULL, /* deprecated */
+/* 057 */ (Function)
bind_reload,
+/* 058 */ (Function)
unbind_reload,
/* 059 */ (Function) bind_kick,
/* 060 */ (Function) unbind_kick,
/* 061 */ (Function) bind_topic,
/* 059 */ (Function) bind_kick,
/* 060 */ (Function) unbind_kick,
/* 061 */ (Function) bind_topic,
@@
-257,7
+262,11
@@
void *global_functions[] = {
/* 191 */ (Function) module_global_cmd_register_neonbackup,
/* 192 */ (Function) module_global_cmd_unregister_neonbackup,
/* 193 */ (Function) module_neonbackup_recover_chan,
/* 191 */ (Function) module_global_cmd_register_neonbackup,
/* 192 */ (Function) module_global_cmd_unregister_neonbackup,
/* 193 */ (Function) module_neonbackup_recover_chan,
-/* 194 */ (Function) requestInvite
+/* 194 */ (Function) requestInvite,
+/* 195 */ (Function) is_stable_revision,
+/* 196 */ (Function) get_dev_revision,
+/* 197 */ (Function) bind_freeclient,
+/* 198 */ (Function) unbind_freeclient
};
static int module_id_counter = 1;
};
static int module_id_counter = 1;