summaryrefslogtreecommitdiff
path: root/io_uring/register.h
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/register.h')
-rw-r--r--io_uring/register.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/io_uring/register.h b/io_uring/register.h
new file mode 100644
index 000000000000..a5f39d5ef9e0
--- /dev/null
+++ b/io_uring/register.h
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef IORING_REGISTER_H
+#define IORING_REGISTER_H
+
+int io_eventfd_unregister(struct io_ring_ctx *ctx);
+int io_unregister_personality(struct io_ring_ctx *ctx, unsigned id);
+struct file *io_uring_register_get_file(unsigned int fd, bool registered);
+
+#endif