mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
76605ad0ae
Changed configure.in's functionality so that you could tell what modules you want to build in main irssi binary and it will create automatically the .c files that need to call the module_init()/deinit() functions. Fixed several minor things.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
27 lines
332 B
C
27 lines
332 B
C
#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
|