X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c9def1b8e8960113ab4fd91d0b69d5b422cf339f..4017be6d5375063f59b63474490ac072e7f09b1a:/putty.h diff --git a/putty.h b/putty.h index 3b2257a0..fbd5e64b 100644 --- a/putty.h +++ b/putty.h @@ -109,6 +109,7 @@ typedef struct { void (*send) (char *buf, int len); void (*size) (void); void (*special) (Telnet_Special code); + SOCKET (*socket) (void); } Backend; GLOBAL Backend *back; @@ -135,6 +136,7 @@ typedef struct { /* SSH options */ int nopty; enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher; + char keyfile[FILENAME_MAX]; int try_tis_auth; /* Telnet options */ char termtype[32]; @@ -195,6 +197,14 @@ typedef struct { #define DEFAULT_PORT 22 #endif +/* + * Some global flags denoting the type of application. + */ +#define FLAG_VERBOSE 0x0001 +#define FLAG_WINDOWED 0x0002 +#define FLAG_CONNECTION 0x0004 +GLOBAL int flags; + GLOBAL Config cfg; GLOBAL int default_protocol; GLOBAL int default_port;