bglibs: trigger.h Source File

bglibs

trigger.h
1 #ifndef BGLIBS__UNIX__TRIGGER__H__
2 #define BGLIBS__UNIX__TRIGGER__H__
3
4 #include "sysdeps.h"
5
31 extern int trigger_set(iopoll_fd* io, const char* path);
32
35 #define trigger_pulled(IO) ((IO)->revents)
36
37 extern void trigger_pull(const char* path);
38
41 #endif
trigger_set
int trigger_set(iopoll_fd *io, const char *path)
Definition: trigger_set.c:13
trigger_pull
void trigger_pull(const char *path)
Definition: trigger_pull.c:7