summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/channels.h b/channels.h
index c0d60199c..a74f59261 100644
--- a/channels.h
+++ b/channels.h
@@ -32,7 +32,7 @@
32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 */ 34 */
35/* RCSID("$OpenBSD: channels.h,v 1.19 2000/09/07 21:13:37 markus Exp $"); */ 35/* RCSID("$OpenBSD: channels.h,v 1.20 2000/09/21 11:25:33 markus Exp $"); */
36 36
37#ifndef CHANNELS_H 37#ifndef CHANNELS_H
38#define CHANNELS_H 38#define CHANNELS_H
@@ -131,18 +131,18 @@ int
131channel_new(char *ctype, int type, int rfd, int wfd, int efd, 131channel_new(char *ctype, int type, int rfd, int wfd, int efd,
132 int window, int maxpack, int extended_usage, char *remote_name); 132 int window, int maxpack, int extended_usage, char *remote_name);
133 133
134void channel_input_channel_request(int type, int plen); 134void channel_input_channel_request(int type, int plen, void *ctxt);
135void channel_input_close(int type, int plen); 135void channel_input_close(int type, int plen, void *ctxt);
136void channel_input_close_confirmation(int type, int plen); 136void channel_input_close_confirmation(int type, int plen, void *ctxt);
137void channel_input_data(int type, int plen); 137void channel_input_data(int type, int plen, void *ctxt);
138void channel_input_extended_data(int type, int plen); 138void channel_input_extended_data(int type, int plen, void *ctxt);
139void channel_input_ieof(int type, int plen); 139void channel_input_ieof(int type, int plen, void *ctxt);
140void channel_input_oclose(int type, int plen); 140void channel_input_oclose(int type, int plen, void *ctxt);
141void channel_input_open_confirmation(int type, int plen); 141void channel_input_open_confirmation(int type, int plen, void *ctxt);
142void channel_input_open_failure(int type, int plen); 142void channel_input_open_failure(int type, int plen, void *ctxt);
143void channel_input_port_open(int type, int plen); 143void channel_input_port_open(int type, int plen, void *ctxt);
144void channel_input_window_adjust(int type, int plen); 144void channel_input_window_adjust(int type, int plen, void *ctxt);
145void channel_input_open(int type, int plen); 145void channel_input_open(int type, int plen, void *ctxt);
146 146
147/* Sets specific protocol options. */ 147/* Sets specific protocol options. */
148void channel_set_options(int hostname_in_open); 148void channel_set_options(int hostname_in_open);
@@ -246,7 +246,7 @@ char *x11_create_display_inet(int screen, int x11_display_offset);
246 * the remote channel number. We should do whatever we want, and respond 246 * the remote channel number. We should do whatever we want, and respond
247 * with either SSH_MSG_OPEN_CONFIRMATION or SSH_MSG_OPEN_FAILURE. 247 * with either SSH_MSG_OPEN_CONFIRMATION or SSH_MSG_OPEN_FAILURE.
248 */ 248 */
249void x11_input_open(int type, int plen); 249void x11_input_open(int type, int plen, void *ctxt);
250 250
251/* 251/*
252 * Requests forwarding of X11 connections. This should be called on the 252 * Requests forwarding of X11 connections. This should be called on the
@@ -279,7 +279,7 @@ char *auth_get_socket_name(void);
279int auth_input_request_forwarding(struct passwd * pw); 279int auth_input_request_forwarding(struct passwd * pw);
280 280
281/* This is called to process an SSH_SMSG_AGENT_OPEN message. */ 281/* This is called to process an SSH_SMSG_AGENT_OPEN message. */
282void auth_input_open_request(int type, int plen); 282void auth_input_open_request(int type, int plen, void *ctxt);
283 283
284/* XXX */ 284/* XXX */
285int channel_connect_to(const char *host, u_short host_port); 285int channel_connect_to(const char *host, u_short host_port);