added .gitignore
[NeonServV5.git] / IRCParser.h
index 5908aff594e70615603aa996f11cb2b90c77a19d..ef3600a778f248caf7ee4bf0f5ca5f3bf5f2a3bc 100644 (file)
@@ -4,8 +4,6 @@
 #include "main.h"
 #include "ClientSocket.h"
 
-#define MAXNUMPARAMS 200 /* maximum number of parameters in one line */
-
 #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);
 
@@ -16,6 +14,8 @@ struct irc_cmd {
 };
 
 int parse_lines(struct ClientSocket *client, char *lines, int len);
-void parser_init();
+void bot_disconnect(struct ClientSocket *client);
+void init_parser();
+void free_parser();
 
 #endif
\ No newline at end of file