summaryrefslogtreecommitdiff
path: root/src/irc/bot/bot.h
blob: a518d4bdcc0c368df4ac279ebeaf4070a19a4a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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