summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-10-20 16:53:12 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-10-20 16:53:12 +0000
commitb131f74533ea87d635b62874c35240b8390825e9 (patch)
tree9649f88a0bc200327de6c7390e7e24dab752f8ad /channel.h
parenta2d343b1089b0419bb3f297d5df584483c8c896a (diff)
* rename infd/outfd to writefd/readfd, to avoid confusion
--HG-- extra : convert_revision : e3e7dc2cf75ad60c83a5b4307c210fee2fe90434
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/channel.h b/channel.h
index 872bb25..7030a0f 100644
--- a/channel.h
+++ b/channel.h
@@ -65,9 +65,9 @@ struct Channel {
unsigned int recvdonelen;
unsigned int recvmaxpacket, transmaxpacket;
void* typedata; /* a pointer to type specific data */
- int infd; /* data to send over the wire */
- int outfd; /* data for consumption, what was in writebuf */
- int errfd; /* used like infd or errfd, depending if it's client or server.
+ int writefd; /* read from wire, written to insecure side */
+ int readfd; /* read from insecure size, written to wire */
+ int errfd; /* used like writefd or readfd, depending if it's client or server.
Doesn't exactly belong here, but is cleaner here */
circbuffer *writebuf; /* data from the wire, for local consumption */
circbuffer *extrabuf; /* extended-data for the program - used like writebuf