Added Pageant, a first-attempt PuTTY authentication agent
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index f89aeac..6143643 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -139,6 +139,7 @@ typedef struct {
     int nopty;
     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];
@@ -354,6 +355,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