[go: up one dir, main page]

File: bot.h

package info (click to toggle)
irssi-text 0.8.4-3.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,048 kB
  • ctags: 5,670
  • sloc: ansic: 51,220; sh: 8,913; perl: 1,076; makefile: 1,017
file content (26 lines) | stat: -rw-r--r-- 332 bytes parent folder | download
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