#include "WHOHandler.h"
#include "ChanNode.h"
#include "UserNode.h"
+#include "ChanUser.h"
+#include "ClientSocket.h"
#define WHOQUEUETYPE_ISONQUEUE 0x01
#define WHOQUEUETYPE_USERLIST 0x02
}
free(entry);
}
+
+void free_whoqueue() {
+ struct WHOQueueEntry *entry, *next;
+ for(entry = first_entry; entry; entry = next) {
+ next = entry->next;
+ free(entry);
+ }
+ first_entry = NULL;
+ last_entry = NULL;
+}