Mercurial > dropbear
comparison channel.h @ 1510:eb4c7052f51d coverity
merge coverity up to date
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 11:29:17 +0800 |
parents | 47f36d8565cf |
children | 79eef94ccea9 |
comparison
equal
deleted
inserted
replaced
1509:3520d7c25363 | 1510:eb4c7052f51d |
---|---|
92 }; | 92 }; |
93 | 93 |
94 struct ChanType { | 94 struct ChanType { |
95 | 95 |
96 int sepfds; /* Whether this channel has separate pipes for in/out or not */ | 96 int sepfds; /* Whether this channel has separate pipes for in/out or not */ |
97 char *name; | 97 const char *name; |
98 int (*inithandler)(struct Channel*); | 98 int (*inithandler)(struct Channel*); |
99 int (*check_close)(struct Channel*); | 99 int (*check_close)(const struct Channel*); |
100 void (*reqhandler)(struct Channel*); | 100 void (*reqhandler)(struct Channel*); |
101 void (*closehandler)(const struct Channel*); | 101 void (*closehandler)(const struct Channel*); |
102 }; | 102 }; |
103 | 103 |
104 /* Callback for connect_remote */ | 104 /* Callback for connect_remote */ |