summaryrefslogtreecommitdiff
path: root/src/kernel/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/pipe.h')
-rw-r--r--src/kernel/pipe.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/pipe.h b/src/kernel/pipe.h
new file mode 100644
index 0000000..facaaaa
--- /dev/null
+++ b/src/kernel/pipe.h
@@ -0,0 +1,7 @@
+#pragma once
+#include <kernel/proc.h>
+
+void pipe_joinqueue(struct handle *h, bool wants_write,
+ struct process *proc, void __user *pbuf, size_t pbuflen);
+
+void pipe_trytransfer(struct handle *h);