src/libsystemd/sd-event/event-future.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include "sd-forward.h" |
| 5 | |
| 6 | int future_new_io(sd_event *e, int fd, uint32_t events, sd_future **ret); |
| 7 | int future_new_time(sd_event *e, clockid_t clock, uint64_t usec, uint64_t accuracy, int result, sd_future **ret); |
| 8 | int future_new_time_relative(sd_event *e, clockid_t clock, uint64_t usec, uint64_t accuracy, int result, sd_future **ret); |
| 9 | |
| 10 | int event_run_suspend(sd_event *e, uint64_t timeout); |