Merge branch 'development'
[NeonServV5.git] / src / IRCEvents.h
index e3190378265a656bd7f2f78bda94f5eff31be1ad..7a7ac3efece5f70f8bcdf1edb9599feda2be69c8 100644 (file)
@@ -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