Mercurial > dropbear
comparison channel.h @ 1508:47f36d8565cf
more linting (#55)
* dropbear_exit: remove priority parameter
confusion with dropbear_log()
* const parameter
author | François Perrad <francois.perrad@gadz.org> |
---|---|
date | Sat, 17 Feb 2018 04:27:37 +0100 |
parents | 58a74cb829b8 |
children | 79eef94ccea9 |
comparison
equal
deleted
inserted
replaced
1505:55120acb9994 | 1508:47f36d8565cf |
---|---|
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 */ |