Fix Blowfish-with-SSH2 combination, and enable user cipher
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 8c69d90..4b9c30f 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -110,6 +110,7 @@ typedef struct {
     void (*size) (void);
     void (*special) (Telnet_Special code);
     SOCKET (*socket) (void);
+    int (*sendok) (void);
 } Backend;
 
 GLOBAL Backend *back;
@@ -136,8 +137,10 @@ typedef struct {
     /* SSH options */
     char remote_cmd[512];
     int nopty;
+    int agentfwd;
     enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher;
     char keyfile[FILENAME_MAX];
+    int sshprot;                       /* use v1 or v2 when both available */
     int try_tis_auth;
     /* Telnet options */
     char termtype[32];
@@ -353,6 +356,12 @@ void crypto_wrapup();
 #endif
 
 /*
+ * Exports from pageantc.c
+ */
+void agent_query(void *in, int inlen, void **out, int *outlen);
+int agent_exists(void);
+
+/*
  * A debug system.
  */
 #ifdef DEBUG