diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-03-23 23:16:06 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-03-23 23:16:06 +0800 |
commit | 5996c3824c52425c2d4f3d7cb69f0c9fa81a33b8 (patch) | |
tree | e3b73be4387ad1f8b8e23b6b4d0d6a81081a36c6 /channel.h | |
parent | c172fb3b326ec796a1e81656548653f188a8d62c (diff) |
Add ~. and ~^Z handling to exit/suspend dbclient
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -83,8 +83,10 @@ struct Channel { int flushing; - const struct ChanType* type; + /* Used by client chansession to handle ~ escaping, NULL ignored otherwise */ + void (*read_mangler)(struct Channel*, unsigned char* bytes, int *len); + const struct ChanType* type; }; struct ChanType { |