]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - storage.h
While we're doing a hostkey reorg, store port numbers as well
[PuTTY.git] / storage.h
index 4abdac10028fa493bf617aeb848d655bd8991d7b..43f22d3e5d4e94accf776739610049c048a7cf98 100644 (file)
--- a/storage.h
+++ b/storage.h
@@ -67,13 +67,13 @@ void enum_settings_finish(void *handle);
  * be 0 (entry matches database), 1 (entry is absent in database),
  * or 2 (entry exists in database and is different).
  */
-int verify_host_key(char *hostname, char *keytype, char *key);
+int verify_host_key(char *hostname, int port, char *keytype, char *key);
 
 /*
  * Write a host key into the database, overwriting any previous
  * entry that might have been there.
  */
-void store_host_key(char *hostname, char *keytype, char *key);
+void store_host_key(char *hostname, int port, char *keytype, char *key);
 
 /* ----------------------------------------------------------------------
  * Functions to access PuTTY's random number seed file.