X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FIRCParser.h;h=07d904fc6117b55104013e034da320e8d8ad0adb;hb=689da1db7e2517c187ce76c6c553e20d630a7f36;hp=ac2b376612a6dd0b14027381c0cc19a12f73f72f;hpb=0f1dc61921eef1db8e404a5a82372e2d1cd55daa;p=NeonServV5.git diff --git a/src/IRCParser.h b/src/IRCParser.h index ac2b376..07d904f 100644 --- a/src/IRCParser.h +++ b/src/IRCParser.h @@ -1,3 +1,19 @@ +/* IRCParser.h - NeonServ v5.4 + * Copyright (C) 2011-2012 Philipp Kreil (pk910) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #ifndef _IRCParser_h #define _IRCParser_h @@ -15,12 +31,17 @@ struct irc_cmd { struct irc_cmd *next; }; +#ifndef DND_FUNCTIONS +extern int statistics_privmsg; +extern int statistics_network_users; +extern int statistics_network_channels; + 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, ...); -char* merge_argv(char **argv, int start, int end); -char* merge_argv_char(char **argv, int start, int end, char seperator); - -#endif \ No newline at end of file +/* MODULAR ACCESSIBLE */ void reply(struct ClientSocket *client, struct UserNode *user, const char *text, ...); +/* MODULAR ACCESSIBLE */ char* merge_argv(char **argv, int start, int end); +/* MODULAR ACCESSIBLE */ char* merge_argv_char(char **argv, int start, int end, char seperator); +#endif +#endif