#include #include "plugin_client_header.h" static void eventfunc(const struct plugin_event *event){ printf("type = %d\n",event->type); } plugin_event_func_t* plugin_init_func(void){ return eventfunc; }