summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.h b/channel.h
index 08723e2..8736fbe 100644
--- a/channel.h
+++ b/channel.h
@@ -84,7 +84,7 @@ struct Channel {
int flushing;
/* Used by client chansession to handle ~ escaping, NULL ignored otherwise */
- void (*read_mangler)(struct Channel*, unsigned char* bytes, int *len);
+ void (*read_mangler)(const struct Channel*, const unsigned char* bytes, int *len);
const struct ChanType* type;
@@ -98,7 +98,7 @@ struct ChanType {
int (*inithandler)(struct Channel*);
int (*check_close)(struct Channel*);
void (*reqhandler)(struct Channel*);
- void (*closehandler)(struct Channel*);
+ void (*closehandler)(const struct Channel*);
};
/* Callback for connect_remote */