diff options
author | Miles Bader <miles@gnu.org> | 1995-07-01 16:50:21 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-07-01 16:50:21 +0000 |
commit | 77725b3bb51e941bbca34b852abf3edea42e2d15 (patch) | |
tree | 4c90fbe696ef34d34efe2c138354e6aee7fbfade | |
parent | 4a79cf302096979290d67822c364e5407bf2d48e (diff) |
Initial revision
-rw-r--r-- | pflocal/pflocal.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pflocal/pflocal.c b/pflocal/pflocal.c new file mode 100644 index 00000000..a1813ece --- /dev/null +++ b/pflocal/pflocal.c @@ -0,0 +1,24 @@ + +struct pipe_user +{ + struct port_info pi; + struct pipe_end *pe; +}; + +struct pipe_end +{ + int refcount; + enum { PIPE_NONE, PIPE_READ, PIPE_WRITE } type; + struct pipe_end *peer; + struct pipe *pipe; +}; + +struct pipe +{ + char *start, *end; + size_t chars_alloced; + struct stat *st; + struct condition pending_reads; + struct condition pending_selects; + char data[0]; +}; |