summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-08-16 16:15:51 +0000
committerMiles Bader <miles@gnu.org>1995-08-16 16:15:51 +0000
commit7f8571d0ab23a9ba53813217a585d756163d4746 (patch)
tree1daed41c7edd783ae14eb8a83a0fbe4672723d27 /pflocal
parenta89ab733033f691f9b70b0d2f97bc98df8045052 (diff)
(struct sock): Store the pipe class in a separate field, as READ_PIPE is no
longer always defined.
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pflocal/sock.h b/pflocal/sock.h
index bef15d89..16fdbe4a 100644
--- a/pflocal/sock.h
+++ b/pflocal/sock.h
@@ -44,6 +44,9 @@ struct sock
int refs;
struct mutex lock;
+ /* What kind of socket this is. */
+ struct pipe_class *pipe_class;
+
/* Reads from this socket come from READ_PIPE, writes go to WRITE_PIPE.
A sock always has a read pipe, and a write pipe when it's connected to
another socket. */