Add some basic framework code preparatory to adding key export.
[u/mdw/putty] / ssh.h
diff --git a/ssh.h b/ssh.h
index 0cbdd47..76954a4 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -311,6 +311,9 @@ int import_target_type(int type);
 int import_encrypted(char *filename, int type, char **comment);
 int import_ssh1(char *filename, int type, struct RSAKey *key,char *passphrase);
 struct ssh2_userkey *import_ssh2(char *filename, int type, char *passphrase);
+int export_ssh1(char *filename, int type, struct RSAKey *key,char *passphrase);
+int export_ssh2(char *filename, int type,
+                struct ssh2_userkey *key, char *passphrase);
 
 void des3_decrypt_pubkey(unsigned char *key, unsigned char *blk, int len);
 void des3_encrypt_pubkey(unsigned char *key, unsigned char *blk, int len);