/* plugin.h */ struct plugin { char *pl_name; int (*pl_init)(void); void (*pl_shutdown)(void); int pl_active; /* function table? */ };