X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2Fmodule.h;h=50207b5a8e0d29d5553f5f7a8c9eff86939f7dd8;hb=78e040af3fcc36ab684611c0f98b4381ff420878;hp=b780ac16a495499d43c009373e586c0226052443;hpb=4929b3cfa489f3fc5868bf768479f30fff18a272;p=NeonServV5.git diff --git a/src/modules/module.h b/src/modules/module.h index b780ac1..50207b5 100644 --- a/src/modules/module.h +++ b/src/modules/module.h @@ -1,4 +1,4 @@ -/* module.h - NeonServ v5.4 +/* module.h - NeonServ v5.5 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -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]) @@ -220,6 +220,10 @@ extern int module_id; /* 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; \