added get_userauth to WHOHandler.c and continues modcmd
[NeonServV5.git] / IRCParser.h
index ef3600a778f248caf7ee4bf0f5ca5f3bf5f2a3bc..fb41e555cd2bdc1946130e3ed4745c9800e5d498 100644 (file)
@@ -2,7 +2,9 @@
 #define _IRCParser_h
 
 #include "main.h"
-#include "ClientSocket.h"
+
+struct ClientSocket;
+struct UserNode;
 
 #define IRC_CMD(NAME) int NAME(struct ClientSocket *client, UNUSED_ARG(const char *from), UNUSED_ARG(char **argv), UNUSED_ARG(unsigned int argc))
 typedef IRC_CMD(irc_cmd_t);
@@ -17,5 +19,6 @@ int parse_lines(struct ClientSocket *client, char *lines, int len);
 void bot_disconnect(struct ClientSocket *client);
 void init_parser();
 void free_parser();
+void reply(struct ClientSocket *client, struct UserNode *user, const char *text, ...) PRINTF_LIKE(3, 4);
 
 #endif
\ No newline at end of file