summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-14 22:49:19 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-14 22:49:19 +0800
commit3bdfae61a23e597acd97db189feea74fb27e028a (patch)
tree4784b179e19f4db7b40dca3cdd7ab2741476c608 /channel.h
parent4404126501ba18184a8e04f815c21e7a9184414a (diff)
parentadeb372a66643000aee8445f8b2f9854fdfb4402 (diff)
merge
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/channel.h b/channel.h
index 950d4b3..7146697 100644
--- a/channel.h
+++ b/channel.h
@@ -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 {