added .gitignore
[NeonServV5.git] / WHOHandler.h
index 0c46dbd138b5d928ed23607d9d35b18b5a7a04cf..aa04f9c6d8588d5e15b822523ebdfefd0240948c 100644 (file)
@@ -6,11 +6,12 @@
 struct ClientSocket;
 struct ChanNode;
 
-#define USERLIST_CALLBACK(NAME) void NAME(UNUSED_ARG(struct ClientSocket *client), UNUSED_ARG(struct ChanNode *chan))
+#define USERLIST_CALLBACK(NAME) void NAME(UNUSED_ARG(struct ClientSocket *client), UNUSED_ARG(struct ChanNode *chan), UNUSED_ARG(void *data))
 typedef USERLIST_CALLBACK(userlist_callback_t);
 
 void recv_whohandler_354(struct ClientSocket *client, char **argv, unsigned int argc);
 void recv_whohandler_315(struct ClientSocket *client, char **argv, unsigned int argc);
-void get_userlist(struct ChanNode *chan, userlist_callback_t callback);
+void get_userlist(struct ChanNode *chan, userlist_callback_t callback, void *data);
+void free_whoqueue();
 
 #endif
\ No newline at end of file