Another year is about to end... So we have to update these damn copyright information :P
[NeonServV5.git] / src / IRCEvents.h
index 0842f70cb453c2ead47f2c4cc32fbf0975185335..ceccd642e29b5375010d1f711d7c4e4c988d6544 100644 (file)
@@ -1,5 +1,5 @@
-/* IRCEvents.h - NeonServ v5.0
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* IRCEvents.h - NeonServ v5.3
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -107,6 +107,19 @@ int bind_bot_ready(bot_ready_func_t *func);
 void unbind_bot_ready(bot_ready_func_t *func);
 int event_bot_ready(struct ClientSocket *client);
 
+typedef int registered_func_t(struct UserNode *old_user, struct UserNode *new_user);
+int bind_registered(registered_func_t *func);
+void unbind_registered(registered_func_t *func);
+int event_registered(struct UserNode *old_user, struct UserNode *new_user);
 
+typedef int freeuser_func_t(struct UserNode *user);
+int bind_freeuser(freeuser_func_t *func);
+void unbind_freeuser(freeuser_func_t *func);
+int event_freeuser(struct UserNode *user);
+
+typedef int freechan_func_t(struct ChanNode *chan);
+int bind_freechan(freechan_func_t *func);
+void unbind_freechan(freechan_func_t *func);
+int event_freechan(struct ChanNode *chan);
 
 #endif
\ No newline at end of file