diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-05-15 00:44:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-15 00:44:29 +0200 |
commit | 9a78148e40402b44f361f4fbf63bb97a21aeac0b (patch) | |
tree | 080a8b4ac4a49c693a101eb1b7eadb5d472faa8a | |
parent | c582a3b3e8d263defbda98ecff793431a4cffa93 (diff) |
sd-event: reorder header slightly
-rw-r--r-- | src/systemd/sd-event.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/systemd/sd-event.h b/src/systemd/sd-event.h index 75ee3411db..5d9b3be6c7 100644 --- a/src/systemd/sd-event.h +++ b/src/systemd/sd-event.h @@ -99,14 +99,16 @@ int sd_event_get_watchdog(sd_event *e); sd_event_source* sd_event_source_ref(sd_event_source *s); sd_event_source* sd_event_source_unref(sd_event_source *s); +sd_event *sd_event_source_get_event(sd_event_source *s); +void* sd_event_source_get_userdata(sd_event_source *s); +void* sd_event_source_set_userdata(sd_event_source *s, void *userdata); + int sd_event_source_set_prepare(sd_event_source *s, sd_event_handler_t callback); int sd_event_source_get_pending(sd_event_source *s); int sd_event_source_get_priority(sd_event_source *s, int64_t *priority); int sd_event_source_set_priority(sd_event_source *s, int64_t priority); int sd_event_source_get_enabled(sd_event_source *s, int *enabled); int sd_event_source_set_enabled(sd_event_source *s, int enabled); -void* sd_event_source_get_userdata(sd_event_source *s); -void* sd_event_source_set_userdata(sd_event_source *s, void *userdata); int sd_event_source_get_io_fd(sd_event_source *s); int sd_event_source_set_io_fd(sd_event_source *s, int fd); int sd_event_source_get_io_events(sd_event_source *s, uint32_t* events); @@ -119,7 +121,6 @@ int sd_event_source_set_time_accuracy(sd_event_source *s, uint64_t usec); int sd_event_source_get_time_clock(sd_event_source *s, clockid_t *clock); int sd_event_source_get_signal(sd_event_source *s); int sd_event_source_get_child_pid(sd_event_source *s, pid_t *pid); -sd_event *sd_event_source_get_event(sd_event_source *s); _SD_END_DECLARATIONS; |