X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fbots.h;h=578f509b97e11ae29b6ea94aada6d030387a1237;hb=bb5692b9cbff069abbf9573c81e86c3cd2061ceb;hp=c0dcd299bcde5587b016d2ef597ac84df9ed4b54;hpb=cbe6ef12f3808f863e2143def86c696b46716b1e;p=NeonServV5.git diff --git a/src/bots.h b/src/bots.h index c0dcd29..578f509 100644 --- a/src/bots.h +++ b/src/bots.h @@ -1,5 +1,5 @@ -/* bots.h - NeonServ v5.1 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* bots.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 @@ -20,6 +20,7 @@ #include "main.h" #include "timeq.h" +struct UserNode; struct ChanNode; struct ClientSocket; @@ -28,6 +29,11 @@ void loop_bots(); void free_bots(); struct ClientSocket *getChannelBot(struct ChanNode *chan, int botid); +void requestOp(struct UserNode *user, struct ChanNode *chan); TIMEQ_CALLBACK(channel_ban_timeout); +void general_event_privctcp(struct UserNode *user, struct UserNode *target, char *command, char *text); +void set_bot_alias(int botid, char *alias); +const char *resolve_botid(int botid); +int resolve_botalias(const char *alias); #endif \ No newline at end of file