added .gitignore
[NeonServV5.git] / WHOHandler.h
index e1b08a90cae169a5e4d5efcfdf0688ed24be4d13..aa04f9c6d8588d5e15b822523ebdfefd0240948c 100644 (file)
@@ -6,11 +6,12 @@
 struct ClientSocket;
 struct ChanNode;
 
-#define USERLIST_CALLBACK(NAME) int 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