X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FIRCEvents.h;h=f78ed91462d882d185b812f63a7273d82ba57ee9;hb=ef9530c3f82e7c116bb141b6f710ba2d54687ec4;hp=e3190378265a656bd7f2f78bda94f5eff31be1ad;hpb=d80ff9e6b878be4f29854f4fe99f59efeb5e6e10;p=NeonServV5.git diff --git a/src/IRCEvents.h b/src/IRCEvents.h index e319037..f78ed91 100644 --- a/src/IRCEvents.h +++ b/src/IRCEvents.h @@ -1,4 +1,4 @@ -/* IRCEvents.h - NeonServ v5.5 +/* IRCEvents.h - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -156,4 +156,18 @@ typedef int freechan_func_t(struct ChanNode *chan); int event_freechan(struct ChanNode *chan); #endif +typedef int reload_func_t(int initialization); +#ifndef DND_FUNCTIONS +/* MODULAR ACCESSIBLE */ int bind_reload(reload_func_t *func, int module_id); +/* MODULAR ACCESSIBLE */ void unbind_reload(reload_func_t *func); +int event_reload(int initialization); +#endif + +typedef void freeclient_func_t(struct ClientNode *client); +#ifndef DND_FUNCTIONS +/* MODULAR ACCESSIBLE */ int bind_freeclient(freeclient_func_t *func, int module_id); +/* MODULAR ACCESSIBLE */ void unbind_freeclient(freeclient_func_t *func); +int event_freeclient(struct ClientNode *chan); +#endif + #endif