summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/channels.h b/channels.h
index fa38a4e71..36e5363aa 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.h,v 1.125 2017/05/26 19:35:50 markus Exp $ */ 1/* $OpenBSD: channels.h,v 1.126 2017/05/30 14:23:52 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -61,6 +61,7 @@
61 61
62#define CHANNEL_CANCEL_PORT_STATIC -1 62#define CHANNEL_CANCEL_PORT_STATIC -1
63 63
64struct ssh;
64struct Channel; 65struct Channel;
65typedef struct Channel Channel; 66typedef struct Channel Channel;
66 67
@@ -232,18 +233,19 @@ void channel_send_window_changes(void);
232/* mux proxy support */ 233/* mux proxy support */
233 234
234int channel_proxy_downstream(Channel *mc); 235int channel_proxy_downstream(Channel *mc);
235int channel_proxy_upstream(Channel *, int, u_int32_t, void *); 236int channel_proxy_upstream(Channel *, int, u_int32_t, struct ssh *);
236 237
237/* protocol handler */ 238/* protocol handler */
238 239
239int channel_input_data(int, u_int32_t, void *); 240int channel_input_data(int, u_int32_t, struct ssh *);
240int channel_input_extended_data(int, u_int32_t, void *); 241int channel_input_extended_data(int, u_int32_t, struct ssh *);
241int channel_input_ieof(int, u_int32_t, void *); 242int channel_input_ieof(int, u_int32_t, struct ssh *);
242int channel_input_oclose(int, u_int32_t, void *); 243int channel_input_oclose(int, u_int32_t, struct ssh *);
243int channel_input_open_confirmation(int, u_int32_t, void *); 244int channel_input_open_confirmation(int, u_int32_t, struct ssh *);
244int channel_input_open_failure(int, u_int32_t, void *); 245int channel_input_open_failure(int, u_int32_t, struct ssh *);
245int channel_input_window_adjust(int, u_int32_t, void *); 246int channel_input_port_open(int, u_int32_t, struct ssh *);
246int channel_input_status_confirm(int, u_int32_t, void *); 247int channel_input_window_adjust(int, u_int32_t, struct ssh *);
248int channel_input_status_confirm(int, u_int32_t, struct ssh *);
247 249
248/* file descriptor handling (read/write) */ 250/* file descriptor handling (read/write) */
249 251