diff options
author | Damien Miller <djm@mindrot.org> | 2001-12-21 14:58:35 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-12-21 14:58:35 +1100 |
commit | e737856350287104a12f5a97c81fad1f7bcd7096 (patch) | |
tree | 7d65ebfd3156be17043fa01341feba379f8d10d2 /channels.h | |
parent | 5a6b4fe22583394886092aad5787b5fa8355276e (diff) |
- markus@cvs.openbsd.org 2001/12/20 16:37:29
[channels.c channels.h session.c]
setup x11 listen socket for just one connect if the client requests so.
(v2 only, but the openssh client does not support this feature).
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels.h b/channels.h index 840268fcf..e994aaeb6 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.53 2001/11/29 21:10:51 stevesk Exp $"); */ | 35 | /* RCSID("$OpenBSD: channels.h,v 1.54 2001/12/20 16:37:29 markus Exp $"); */ |
36 | 36 | ||
37 | #ifndef CHANNEL_H | 37 | #ifndef CHANNEL_H |
38 | #define CHANNEL_H | 38 | #define CHANNEL_H |
@@ -96,6 +96,7 @@ struct Channel { | |||
96 | int local_consumed; | 96 | int local_consumed; |
97 | int local_maxpacket; | 97 | int local_maxpacket; |
98 | int extended_usage; | 98 | int extended_usage; |
99 | int single_connection; | ||
99 | 100 | ||
100 | char *ctype; /* type */ | 101 | char *ctype; /* type */ |
101 | 102 | ||
@@ -197,9 +198,8 @@ channel_request_forwarding(const char *, u_short, const char *, u_short, int, | |||
197 | /* x11 forwarding */ | 198 | /* x11 forwarding */ |
198 | 199 | ||
199 | int x11_connect_display(void); | 200 | int x11_connect_display(void); |
200 | int x11_create_display_inet(int, int); | 201 | int x11_create_display_inet(int, int, int); |
201 | void x11_input_open(int, int, void *); | 202 | void x11_input_open(int, int, void *); |
202 | void x11_request_forwarding(void); | ||
203 | void x11_request_forwarding_with_spoofing(int, const char *, const char *); | 203 | void x11_request_forwarding_with_spoofing(int, const char *, const char *); |
204 | void deny_input_open(int, int, void *); | 204 | void deny_input_open(int, int, void *); |
205 | 205 | ||