~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved means of IPC between agent and PuTTY
[sgt/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);
void (*size) (void);
void (*special) (Telnet_Special code);
SOCKET (*socket) (void);
+ int (*sendok) (void);
} Backend;
GLOBAL Backend *back;
} Backend;
GLOBAL Backend *back;
@@
-136,8
+137,10
@@
typedef struct {
/* SSH options */
char remote_cmd[512];
int nopty;
/* SSH options */
char remote_cmd[512];
int nopty;
+ int agentfwd;
enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher;
char keyfile[FILENAME_MAX];
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];
int try_tis_auth;
/* Telnet options */
char termtype[32];
@@
-353,6
+356,12
@@
void crypto_wrapup();
#endif
/*
#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
* A debug system.
*/
#ifdef DEBUG