2015-03-27 08:44:40 -07:00
|
|
|
#ifndef MODULE_H
|
|
|
|
#define MODULE_H
|
|
|
|
|
|
|
|
#include "irc.h"
|
2024-02-13 02:56:23 -08:00
|
|
|
#include "events.h"
|
2015-03-27 08:44:40 -07:00
|
|
|
|
2024-02-12 23:22:10 -08:00
|
|
|
struct module {
|
|
|
|
char *name;
|
2024-02-13 02:56:23 -08:00
|
|
|
char file[256];
|
|
|
|
struct ev_handler *handlers;
|
2024-02-12 23:22:10 -08:00
|
|
|
};
|
2015-03-27 08:44:40 -07:00
|
|
|
|
2024-02-12 23:22:10 -08:00
|
|
|
MY_API void load_module(struct irc_conn *bot, char *where, char *stype, char *file);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|