00001 #ifndef BGLIBS__UNIX__TRIGGER__H__ 00002 #define BGLIBS__UNIX__TRIGGER__H__ 00003 00004 #include <sysdeps.h> 00005 00031 extern int trigger_set(iopoll_fd* io, const char* path); 00032 00035 #define trigger_pulled(IO) ((IO)->revents) 00036 00037 extern void trigger_pull(const char* path); 00038 00041 #endif