00001 /* $Id: trigger.h 616 2005-08-19 20:11:01Z bruce $ */ 00002 #ifndef BGLIBS__UNIX__TRIGGER__H__ 00003 #define BGLIBS__UNIX__TRIGGER__H__ 00004 00005 #include <sysdeps.h> 00006 00032 extern int trigger_set(iopoll_fd* io, const char* path); 00033 00036 #define trigger_pulled(IO) ((IO)->revents) 00037 00038 extern void trigger_pull(const char* path); 00039 00042 #endif