Mercurial > dropbear
comparison channel.h @ 722:4a274f47eabd
Add ~. and ~^Z handling to exit/suspend dbclient
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 23 Mar 2013 23:16:06 +0800 |
parents | 564e7f87ecc3 |
children | 4ad38e223ccd |
comparison
equal
deleted
inserted
replaced
721:62fb0b5ff683 | 722:4a274f47eabd |
---|---|
81 for this channel (and are awaiting a confirmation | 81 for this channel (and are awaiting a confirmation |
82 or failure). */ | 82 or failure). */ |
83 | 83 |
84 int flushing; | 84 int flushing; |
85 | 85 |
86 /* Used by client chansession to handle ~ escaping, NULL ignored otherwise */ | |
87 void (*read_mangler)(struct Channel*, unsigned char* bytes, int *len); | |
88 | |
86 const struct ChanType* type; | 89 const struct ChanType* type; |
87 | |
88 }; | 90 }; |
89 | 91 |
90 struct ChanType { | 92 struct ChanType { |
91 | 93 |
92 int sepfds; /* Whether this channel has seperate pipes for in/out or not */ | 94 int sepfds; /* Whether this channel has seperate pipes for in/out or not */ |