#ifndef PLUGINS_H #define PLUGINS_H #include "commands.h" #define PLUGIN_SUPPORT_VERSION 1 typedef struct { void (*startup)(); void (*shutdown)(); void (*timed)(); void (*login)(); void (*logout)(); void (*create)(); void (*destroy)(); } PLUGIN_F; typedef struct plugin_struct { CS *command; PLUGIN_F funcs; struct plugin_struct *next; } PLUGIN; #endif /* PLUGINS_H */