summaryrefslogtreecommitdiff
path: root/src/irc/bot/bot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/bot/bot.h')
-rw-r--r--src/irc/bot/bot.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/irc/bot/bot.h b/src/irc/bot/bot.h
new file mode 100644
index 00000000..a518d4bd
--- /dev/null
+++ b/src/irc/bot/bot.h
@@ -0,0 +1,26 @@
+#ifndef __BOT_H
+#define __BOT_H
+
+typedef struct
+{
+ PLUGIN_REC *plugin;
+ gboolean loaded;
+
+ GHashTable *users;
+ GSList *botnets;
+
+ gchar *nick;
+ gint rank;
+
+ time_t last_write;
+}
+PLUGIN_DATA;
+
+void plugin_bot_events(PLUGIN_REC *plugin);
+
+#include "botnet.h"
+#include "users.h"
+
+#define MODULE_NAME "bot"
+
+#endif