projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added cmd_bots (lists all bots)
[NeonServV5.git]
/
src
/
bots.h
diff --git
a/src/bots.h
b/src/bots.h
index c0dcd299bcde5587b016d2ef597ac84df9ed4b54..0fead874c7c78dfaaa0504983c9d57f79025a306 100644
(file)
--- a/
src/bots.h
+++ b/
src/bots.h
@@
-1,4
+1,4
@@
-/* bots.h - NeonServ v5.
1
+/* bots.h - NeonServ v5.
2
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-20,6
+20,7
@@
#include "main.h"
#include "timeq.h"
#include "main.h"
#include "timeq.h"
+struct UserNode;
struct ChanNode;
struct ClientSocket;
struct ChanNode;
struct ClientSocket;
@@
-29,5
+30,9
@@
void free_bots();
struct ClientSocket *getChannelBot(struct ChanNode *chan, int botid);
TIMEQ_CALLBACK(channel_ban_timeout);
struct ClientSocket *getChannelBot(struct ChanNode *chan, int botid);
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
#endif
\ No newline at end of file