rewrote IRC cache parser to be (hopefully) more stable
[NeonServV5.git] / src / modules / module.h
index 73e141d546a94fbe04cbfe1557003614c721292e..7cc075ff0aca2fa47c243adf62034e4c7e801a7b 100644 (file)
@@ -84,8 +84,8 @@ extern int module_id;
 /* 054 */ #define unbind_nick ((void (*)(nick_func_t *))global[54])
 /* 055 */ #define bind_part ((int (*)(part_func_t *, int))global[55])
 /* 056 */ #define unbind_part ((void (*)(part_func_t *))global[56])
-/* 057 */ #define bind_quit ((int (*)(quit_func_t *, int))global[57])
-/* 058 */ #define unbind_quit ((void (*)(quit_func_t *))global[58])
+/* 057 */ /* deprecated */
+/* 058 */ /* deprecated */
 /* 059 */ #define bind_kick ((int (*)(kick_func_t *, int))global[59])
 /* 060 */ #define unbind_kick ((void (*)(kick_func_t *))global[60])
 /* 061 */ #define bind_topic ((int (*)(topic_func_t *, int))global[61])
@@ -152,7 +152,7 @@ extern int module_id;
 /* 120 */ #define find_botwise_cmd_binding ((struct cmd_binding * (*)(int, int, char *))global[120])
 /* 121 */ #define bind_botwise_unbound_required_functions ((void (*)(int, int))global[121])
 /* 122 */ #define find_cmd_function ((struct cmd_function * (*)(int , char *))global[122])
-/* 123 */ #define getTextBot ((struct ClientSocket * (*)(void))global[123])
+/* 123 */ /* deprecated */
 /* 124 */ #define register_command_alias ((void (*)(int, char *))global[124])
 /* 125 */ #define getAllBinds ((struct cmd_binding * (*)(struct cmd_binding *))global[125])
 /* 126 */ #define createModeNode ((struct ModeNode * (*)(struct ChanNode *))global[126])
@@ -218,6 +218,12 @@ extern int module_id;
 /* 186 */ #define get_revision ((const char * (*)(void))global[186])
 /* 187 */ #define get_codelines ((const char * (*)(void))global[187])
 /* 188 */ #define get_patchlevel ((const int (*)(void))global[188])
+/* 189 */ #define get_module_name ((char * (*)(int))global[189])
+/* 190 */ #define isUserModeSet ((int (*)(struct UserNode *, char))global[190])
+/* 191 */ #define module_global_cmd_register_neonbackup ((void (*)(char *))global[191])
+/* 192 */ #define module_global_cmd_unregister_neonbackup ((void (*)(char *))global[192])
+/* 193 */ #define module_neonbackup_recover_chan ((void (*)(struct ChanNode *))global[193])
+/* 194 */ #define requestInvite ((void (*)(struct UserNode *, struct ChanNode *))global[194])
 
 #define MODULE_HEADER(initfunc,startfunc,loopfunc,stopfunc) \
     void **global = NULL; \