summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/channels.h b/channels.h
index a97dd9007..2674f096e 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.h,v 1.83 2005/12/30 15:56:37 reyk Exp $ */ 1/* $OpenBSD: channels.h,v 1.88 2006/08/03 03:34:42 deraadt Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -38,8 +38,6 @@
38#ifndef CHANNEL_H 38#ifndef CHANNEL_H
39#define CHANNEL_H 39#define CHANNEL_H
40 40
41#include "buffer.h"
42
43/* Definitions for channel types. */ 41/* Definitions for channel types. */
44#define SSH_CHANNEL_X11_LISTENER 1 /* Listening for inet X11 conn. */ 42#define SSH_CHANNEL_X11_LISTENER 1 /* Listening for inet X11 conn. */
45#define SSH_CHANNEL_PORT_LISTENER 2 /* Listening on a port. */ 43#define SSH_CHANNEL_PORT_LISTENER 2 /* Listening on a port. */
@@ -207,11 +205,13 @@ int channel_find_open(void);
207void channel_set_af(int af); 205void channel_set_af(int af);
208void channel_permit_all_opens(void); 206void channel_permit_all_opens(void);
209void channel_add_permitted_opens(char *, int); 207void channel_add_permitted_opens(char *, int);
208int channel_add_adm_permitted_opens(char *, int);
210void channel_clear_permitted_opens(void); 209void channel_clear_permitted_opens(void);
211void channel_input_port_forward_request(int, int); 210void channel_clear_adm_permitted_opens(void);
211int channel_input_port_forward_request(int, int);
212int channel_connect_to(const char *, u_short); 212int channel_connect_to(const char *, u_short);
213int channel_connect_by_listen_address(u_short); 213int channel_connect_by_listen_address(u_short);
214void channel_request_remote_forwarding(const char *, u_short, 214int channel_request_remote_forwarding(const char *, u_short,
215 const char *, u_short); 215 const char *, u_short);
216int channel_setup_local_fwd_listener(const char *, u_short, 216int channel_setup_local_fwd_listener(const char *, u_short,
217 const char *, u_short, int); 217 const char *, u_short, int);