]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - storage.h
Support SSH2_MSG_GLOBAL_REQUEST (just return failure)
[PuTTY.git] / storage.h
index 43f22d3e5d4e94accf776739610049c048a7cf98..1b7162799f4214f17dfa3b55231c774d4d62c1b5 100644 (file)
--- a/storage.h
+++ b/storage.h
  * then close it using close_settings_w(). At the end of this call
  * sequence the settings should have been written to the PuTTY
  * persistent storage area.
+ *
+ * A given key will be written at most once while saving a session.
+ * Keys may be up to 255 characters long.  String values have no length
+ * limit.
  */
 void *open_settings_w(char *sessionname);
 void write_setting_s(void *handle, char *key, char *value);
@@ -79,7 +83,7 @@ void store_host_key(char *hostname, int port, char *keytype, char *key);
  * Functions to access PuTTY's random number seed file.
  */
 
-typedef void (*noise_consumer_t)(void *data, int len);
+typedef void (*noise_consumer_t) (void *data, int len);
 
 /*
  * Read PuTTY's random seed file and pass its contents to a noise