summaryrefslogtreecommitdiffstats
path: root/sys/sys/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/pipe.h')
-rw-r--r--sys/sys/pipe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h
index 20b1092..36e3021 100644
--- a/sys/sys/pipe.h
+++ b/sys/sys/pipe.h
@@ -57,6 +57,7 @@
* See sys_pipe.c for info on what these limits mean.
*/
extern long maxpipekva;
+extern struct fileops pipeops;
/*
* Pipe buffer information.
@@ -94,6 +95,7 @@ struct pipemapping {
#define PIPE_LWANT 0x200 /* Process wants exclusive access to pointers/data. */
#define PIPE_DIRECTW 0x400 /* Pipe direct write active. */
#define PIPE_DIRECTOK 0x800 /* Direct mode ok. */
+#define PIPE_NAMED 0x1000 /* Is a named pipe. */
/*
* Per-pipe data structure.
@@ -138,5 +140,7 @@ struct pipepair {
#define PIPE_UNLOCK(pipe) mtx_unlock(PIPE_MTX(pipe))
#define PIPE_LOCK_ASSERT(pipe, type) mtx_assert(PIPE_MTX(pipe), (type))
+void pipe_dtor(struct pipe *dpipe);
+int pipe_named_ctor(struct pipe **ppipe, struct thread *td);
#endif /* !_SYS_PIPE_H_ */
OpenPOWER on IntegriCloud