Searched defs:sd_event_source (Results 1 - 2 of 2) sorted by relevance
/systemd/src/systemd/ |
H A D | sd-event.h | 43 typedef struct sd_event_source sd_event_source; typedef in typeref:struct:sd_event_source 68 typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata); 69 typedef int (*sd_event_io_handler_t)(sd_event_source *s, int fd, uint32_t revents, void *userdata); 70 typedef int (*sd_event_time_handler_t)(sd_event_source *s, uint64_t usec, void *userdata); 71 typedef int (*sd_event_signal_handler_t)(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata); 72 typedef int (*sd_event_child_handler_t)(sd_event_source *s, const siginfo_t *si, void *userdata); 80 int sd_event_add_io(sd_event *e, sd_event_source **s, int fd, uint32_t events, sd_event_io_handler_t callback, void *userdata); 81 int sd_event_add_time(sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata); 82 int sd_event_add_signal(sd_event *e, sd_event_source ** [all...] |
/systemd/src/libsystemd/sd-event/ |
H A D | sd-event.c | 92 struct sd_event_source { struct 115 LIST_FIELDS(sd_event_source, sources); 183 sd_event_source *current; 206 sd_event_source **signal_sources; /* indexed by signal number */ 237 LIST_HEAD(sd_event_source, sources); 243 static void source_disconnect(sd_event_source *s); 246 const sd_event_source *x = a, *y = b; 273 const sd_event_source *x = a, *y = b; 302 const sd_event_source *x = a, *y = b; 328 static usec_t time_event_source_latest(const sd_event_source * [all...] |
Completed in 19 milliseconds