improved WHOHandler multi thread stability
[NeonServV5.git] / src / WHOHandler.h
index 68ad205646b940f0bcc6063c58211129e0c7abc6..cf5340624a608c37e25a0955070e284a821dc185 100644 (file)
@@ -30,6 +30,9 @@ typedef USERLIST_CALLBACK(userlist_callback_t);
 typedef USERAUTH_CALLBACK(userauth_callback_t);
 
 void clear_whoqueue(struct ClientSocket *client);
+#if HAVE_THREADS
+void whohandler_end_of_recv(struct ClientSocket *client);
+#endif
 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 *data);