fixed missing includes and declarations
authorpk910 <philipp@zoelle1.de>
Fri, 12 Aug 2011 14:49:41 +0000 (16:49 +0200)
committerpk910 <philipp@zoelle1.de>
Fri, 12 Aug 2011 14:49:41 +0000 (16:49 +0200)
ClientSocket.c
UserNode.h
WHOHandler.c
main.c

index 5a186c6fe542f26645b74a3e1f9ae8e82a3c695f..c5e3877139b73993d61f8e66c20d32cf8b897394 100644 (file)
@@ -1,6 +1,7 @@
 
 #include "ClientSocket.h"
 #include "IRCParser.h"
+#include "UserNode.h"
 
 struct socket_list {
     struct ClientSocket *data;
index eaddf59547843c90ede42f41ca507cd2b9a4ef86..49ae8e16edbc331012e5bbdfd7f0380bf5d9e668 100644 (file)
@@ -34,5 +34,6 @@ struct UserNode* addUserMask(const char *mask);
 struct UserNode* createTempUser(const char *mask);
 int renameUser(struct UserNode* user, const char *new_nick);
 void delUser(struct UserNode* user, int freeUser);
+void clearTempUsers();
 
 #endif
index c87ef409bdd5038f0ec329f8c0b47b409e0a6da3..09f49546ca1354d5d26e51da409907f8abcacd60 100644 (file)
@@ -2,6 +2,8 @@
 #include "WHOHandler.h"
 #include "ChanNode.h"
 #include "UserNode.h"
+#include "ChanUser.h"
+#include "ClientSocket.h"
 
 #define WHOQUEUETYPE_ISONQUEUE 0x01
 #define WHOQUEUETYPE_USERLIST  0x02
diff --git a/main.c b/main.c
index 536fb4c4d463d9eaa7c5e3a24349d5742d676e2b..79cd5d9d476906d026a61707d9aeada922d9fc63 100644 (file)
--- a/main.c
+++ b/main.c
@@ -2,7 +2,9 @@
 #include "main.h"
 #include "ClientSocket.h"
 #include "UserNode.h"
+#include "ChanNode.h"
 #include "IRCEvents.h"
+#include "IRCParser.h"
 
 void just_test_it() {
     struct UserNode *user;