summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2006-10-01 16:35:13 +0000
committerMatt Johnston <matt@ucc.asn.au>2006-10-01 16:35:13 +0000
commit7e04c5e277665105cc9fe85bacb8f8e211722f02 (patch)
tree18fa29bb5123bad66c32875942c44a10bd41b5c9 /channel.h
parent33a182674a8c8735c17e627984bf49562aeb1370 (diff)
just shuffle some variables names about, a brief comment
about the "bad writefd" problem --HG-- branch : channel-fix extra : convert_revision : f0b407c3d3e047ed83174e6f4ebd85a19352df5b
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/channel.h b/channel.h
index 7030a0f..fc3cb90 100644
--- a/channel.h
+++ b/channel.h
@@ -73,10 +73,9 @@ struct Channel {
circbuffer *extrabuf; /* extended-data for the program - used like writebuf
but for stderr */
- int sentclosed, recvclosed;
-
- /* this is set when we receive/send a channel eof packet */
- int recveof, senteof;
+ /* whether close/eof messages have been exchanged */
+ int sent_close, recv_close;
+ int recv_eof, sent_eof;
int initconn; /* used for TCP forwarding, whether the channel has been
fully initialised */
@@ -94,7 +93,7 @@ struct ChanType {
int sepfds; /* Whether this channel has seperate pipes for in/out or not */
char *name;
int (*inithandler)(struct Channel*);
- int (*checkclose)(struct Channel*);
+ int (*check_close)(struct Channel*);
void (*reqhandler)(struct Channel*);
void (*closehandler)(struct Channel*);