modified code to use IOHandler functions instead of own ones
[NeonServV5.git] / src / modules / NeonHelp.mod / bot_NeonHelp.h
index eaf47ff5405cdc8966791711ea84852185eccbd3..bc231ec2eb333b9f7870ec95af7ea5f32936df0a 100644 (file)
@@ -1,4 +1,4 @@
-/* bot_NeonHelp.h - NeonServ v5.3
+/* bot_NeonHelp.h - NeonServ v5.5
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 #ifndef _bot_NeonHelp_h
 #define _bot_NeonHelp_h
 
-#include "main.h"
+#include "../../main.h"
 
 /* definition for ClientSocket struct */
 #define botclass_helpnode botclassvalue1 
@@ -27,6 +27,7 @@
 
 struct UserNode;
 struct ChanNode;
+struct ClientSocket;
 
 struct NeonHelpNode {
     struct UserNode *user;
@@ -39,7 +40,9 @@ struct NeonHelpNode {
 };
 
 void init_NeonHelp(int type);
-void loop_NeonHelp();
 void free_NeonHelp(int type);
 
+void neonhelp_destroy_support_request(struct ClientSocket *client, struct NeonHelpNode *helpnode, int do_reply);
+void neonhelp_invite_active_requests(struct ClientSocket *client, struct ChanNode *support, struct ChanNode *public, struct UserNode *ignore_user);
+
 #endif
\ No newline at end of file