#ifndef _INCLUDE_EVENT_H_ #define _INCLUDE_EVENT_H_ #ifdef __cplusplus extern "C" { #endif typedef void (*event_callback)(const char*, void*, void*); void sys_event(const char *event_name, void *args); int sys_event_register(const char *event_name, event_callback callback, void* user_data); int sys_event_unregister(const char *event_name, event_callback callback); void* sys_event_thread(void*); #ifdef __cplusplus } #endif #endif