From e737856350287104a12f5a97c81fad1f7bcd7096 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 21 Dec 2001 14:58:35 +1100 Subject: - 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). --- channels.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'channels.h') diff --git a/channels.h b/channels.h index 840268fcf..e994aaeb6 100644 --- a/channels.h +++ b/channels.h @@ -32,7 +32,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* RCSID("$OpenBSD: channels.h,v 1.53 2001/11/29 21:10:51 stevesk Exp $"); */ +/* RCSID("$OpenBSD: channels.h,v 1.54 2001/12/20 16:37:29 markus Exp $"); */ #ifndef CHANNEL_H #define CHANNEL_H @@ -96,6 +96,7 @@ struct Channel { int local_consumed; int local_maxpacket; int extended_usage; + int single_connection; char *ctype; /* type */ @@ -197,9 +198,8 @@ channel_request_forwarding(const char *, u_short, const char *, u_short, int, /* x11 forwarding */ int x11_connect_display(void); -int x11_create_display_inet(int, int); +int x11_create_display_inet(int, int, int); void x11_input_open(int, int, void *); -void x11_request_forwarding(void); void x11_request_forwarding_with_spoofing(int, const char *, const char *); void deny_input_open(int, int, void *); -- cgit v1.2.3