diff channel.h @ 773:a9f2a6ae4eb5

merge
author Matt Johnston <matt@ucc.asn.au>
date Sun, 14 Apr 2013 22:49:19 +0800
parents 4a274f47eabd
children 4ad38e223ccd
line wrap: on
line diff
--- a/channel.h	Sun Apr 14 22:49:10 2013 +0800
+++ b/channel.h	Sun Apr 14 22:49:19 2013 +0800
@@ -83,8 +83,10 @@
 
 	int flushing;
 
+	/* 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 {