X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fbots.h;h=7061a2cf9be420d430a6e1d00d0807bda70670ff;hb=78e040af3fcc36ab684611c0f98b4381ff420878;hp=35f09dbfa5966d539527481c1220f228810a0de5;hpb=24dba98b5136867bd06d4d5397e11456ccc9aed2;p=NeonServV5.git diff --git a/src/bots.h b/src/bots.h index 35f09db..7061a2c 100644 --- a/src/bots.h +++ b/src/bots.h @@ -1,5 +1,5 @@ -/* bots.h - NeonServ v5.2 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* bots.h - NeonServ v5.5 + * 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 @@ -24,16 +24,16 @@ struct UserNode; struct ChanNode; struct ClientSocket; +#ifndef DND_FUNCTIONS void init_bots(); -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); +/* MODULAR ACCESSIBLE */ struct ClientSocket *getChannelBot(struct ChanNode *chan, int botid); +/* MODULAR ACCESSIBLE */ void requestOp(struct UserNode *user, struct ChanNode *chan); +/* MODULAR ACCESSIBLE */ void requestInvite(struct UserNode *user, struct ChanNode *chan); +/* MODULAR ACCESSIBLE */ TIMEQ_CALLBACK(channel_ban_timeout); +/* MODULAR ACCESSIBLE */ void general_event_privctcp(struct UserNode *user, struct UserNode *target, char *command, char *text); +/* MODULAR ACCESSIBLE */ void set_bot_alias(int botid, char *alias); +/* MODULAR ACCESSIBLE */ const char *resolve_botid(int botid); +/* MODULAR ACCESSIBLE */ int resolve_botalias(const char *alias); +#endif #endif \ No newline at end of file