mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 12:32:47 -05:00
Pass the Ssh structure to portfwd.c with a tag.
Again, safer than using a 'void *'.
This commit is contained in:
1
defs.h
1
defs.h
@ -47,6 +47,7 @@ typedef struct Plug_vtable Plug_vtable;
|
||||
typedef struct Ldisc_tag Ldisc;
|
||||
typedef struct LogContext_tag LogContext;
|
||||
|
||||
typedef struct ssh_tag *Ssh;
|
||||
/* Note indirection: for historical reasons (it used to be closer to
|
||||
* the OS socket type), the type that most code uses for a socket is
|
||||
* 'Socket', not 'Socket *'. So an implementation of Socket or Plug
|
||||
|
Reference in New Issue
Block a user