clientloop.h (137015) | clientloop.h (146998) |
---|---|
1/* $OpenBSD: clientloop.h,v 1.11 2004/07/11 17:48:47 deraadt Exp $ */ | 1/* $OpenBSD: clientloop.h,v 1.12 2004/11/07 00:01:46 djm Exp $ */ |
2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * 8 * As far as I am concerned, the code I have written for this software 9 * can be used freely for any purpose. Any derived versions of this --- 25 unchanged lines hidden (view full) --- 35 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 */ 37 38/* Client side main loop for the interactive session. */ 39int client_loop(int, int, int); 40void client_global_request_reply_fwd(int, u_int32_t, void *); 41void client_session2_setup(int, int, int, const char *, struct termios *, 42 int, Buffer *, char **, dispatch_fn *); | 2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * 8 * As far as I am concerned, the code I have written for this software 9 * can be used freely for any purpose. Any derived versions of this --- 25 unchanged lines hidden (view full) --- 35 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 */ 37 38/* Client side main loop for the interactive session. */ 39int client_loop(int, int, int); 40void client_global_request_reply_fwd(int, u_int32_t, void *); 41void client_session2_setup(int, int, int, const char *, struct termios *, 42 int, Buffer *, char **, dispatch_fn *); |
43 44/* Multiplexing control protocol flags */ 45#define SSHMUX_COMMAND_OPEN 1 /* Open new connection */ 46#define SSHMUX_COMMAND_ALIVE_CHECK 2 /* Check master is alive */ 47#define SSHMUX_COMMAND_TERMINATE 3 /* Ask master to exit */ 48 49#define SSHMUX_FLAG_TTY (1) /* Request tty on open */ 50#define SSHMUX_FLAG_SUBSYS (1<<1) /* Subsystem request on open */ |
|