diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-06-17 11:32:37 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-17 11:34:22 -0600 |
commit | a8d4237e364b2a9973dabff35a6c0133572a3357 (patch) | |
tree | ab96eef14c9e2faf3369ce37950439c986578b32 /src/liburing.h | |
parent | 9d9e3b87214ab7e70e7174299890c30ea3b24e28 (diff) |
Add support for eventfd registration
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/liburing.h')
-rw-r--r-- | src/liburing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liburing.h b/src/liburing.h index ca854b6..d3fcd15 100644 --- a/src/liburing.h +++ b/src/liburing.h @@ -84,6 +84,8 @@ extern int io_uring_unregister_buffers(struct io_uring *ring); extern int io_uring_register_files(struct io_uring *ring, const int *files, unsigned nr_files); extern int io_uring_unregister_files(struct io_uring *ring); +extern int io_uring_register_eventfd(struct io_uring *ring, int fd); +extern int io_uring_unregister_eventfd(struct io_uring *ring); #define io_uring_for_each_cqe(ring, head, cqe) \ for (head = *(ring)->cq.khead; \ |