X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FIRCEvents.h;h=7a7ac3efece5f70f8bcdf1edb9599feda2be69c8;hp=e3190378265a656bd7f2f78bda94f5eff31be1ad;hb=HEAD;hpb=f28a6cf114ec097583236a82aab0dbf52c4852c4 diff --git a/src/IRCEvents.h b/src/IRCEvents.h index e319037..7a7ac3e 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 ClientSocket *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 ClientSocket *chan); +#endif + #endif