~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to clientloop.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-09-30 23:09:58 UTC
  • mfrom: (1.13.3 upstream) (29 hardy)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20080930230958-o6vsgn8c4mm959s0
Tags: 1:5.1p1-3
* Remove unnecessary ssh-vulnkey output in non-verbose mode when no
  compromised or unknown keys were found (closes: #496495).
* Configure with --disable-strip; dh_strip will deal with stripping
  binaries and will honour DEB_BUILD_OPTIONS (thanks, Bernhard R. Link;
  closes: #498681).
* Fix handling of zero-length server banners (thanks, Tomas Mraz; closes:
  #497026).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $OpenBSD: clientloop.h,v 1.16 2006/03/25 22:22:42 djm Exp $ */
 
1
/* $OpenBSD: clientloop.h,v 1.22 2008/06/12 15:19:17 djm Exp $ */
2
2
 
3
3
/*
4
4
 * Author: Tatu Ylonen <ylo@cs.hut.fi>
43
43
            char **, char **);
44
44
void     client_global_request_reply_fwd(int, u_int32_t, void *);
45
45
void     client_session2_setup(int, int, int, const char *, struct termios *,
46
 
            int, Buffer *, char **, dispatch_fn *);
 
46
            int, Buffer *, char **);
 
47
int      client_request_tun_fwd(int, int, int);
 
48
 
 
49
/* Escape filter for protocol 2 sessions */
 
50
void    *client_new_escape_filter_ctx(int);
 
51
void     client_filter_cleanup(int, void *);
 
52
int      client_simple_escape_filter(Channel *, char *, int);
 
53
 
 
54
/* Global request confirmation callbacks */
 
55
typedef void global_confirm_cb(int, u_int32_t seq, void *);
 
56
void     client_register_global_confirm(global_confirm_cb *, void *);
47
57
 
48
58
/* Multiplexing protocol version */
49
 
#define SSHMUX_VER                      1
 
59
#define SSHMUX_VER                      2
50
60
 
51
61
/* Multiplexing control protocol flags */
52
62
#define SSHMUX_COMMAND_OPEN             1       /* Open new connection */
57
67
#define SSHMUX_FLAG_SUBSYS              (1<<1)  /* Subsystem request on open */
58
68
#define SSHMUX_FLAG_X11_FWD             (1<<2)  /* Request X11 forwarding */
59
69
#define SSHMUX_FLAG_AGENT_FWD           (1<<3)  /* Request agent forwarding */
 
70
 
 
71
void    muxserver_listen(void);
 
72
int     muxserver_accept_control(void);
 
73
void    muxclient(const char *);