X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fbot_NeonHelp.h;h=2cbf6947e6fead5b2fe748785aa2242f38cb3ec0;hb=48a8b8db9062c0544574f9373fd0e37fda0832ba;hp=e56fdc8dea354ce397ee5dfa0f9b27011b1b0e05;hpb=29181b1682d291ff9cf535b6d43a9660df93a73d;p=NeonServV5.git diff --git a/src/bot_NeonHelp.h b/src/bot_NeonHelp.h index e56fdc8..2cbf694 100644 --- a/src/bot_NeonHelp.h +++ b/src/bot_NeonHelp.h @@ -1,5 +1,5 @@ -/* bot_NeonHelp.h - NeonServ v5.2 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* bot_NeonHelp.h - NeonServ v5.3 + * 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 @@ -19,6 +19,25 @@ #include "main.h" +/* definition for ClientSocket struct */ +#define botclass_helpnode botclassvalue1 +#define SOCKET_HAVE_HELPNODE SOCKET_HAVE_BOTCLASSVALUE1 + +#define LOGBUFFERLINES 20 + +struct UserNode; +struct ChanNode; + +struct NeonHelpNode { + struct UserNode *user; + int suppid; + char status:6; + char announce:2; + struct NeonHelpNode *next; + struct ChanNode *logchan; + char **log; +}; + void init_NeonHelp(); void loop_NeonHelp(); void free_NeonHelp();