Create settings.c and move the load/save session code out of
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 2f510ff..48e9d2e 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -268,19 +268,25 @@ void random_destroy_seed(void);
  */
 int do_config (void);
 int do_reconfig (HWND);
-void do_defaults (char *);
+void do_defaults (char *, Config *);
 void logevent (char *);
 void showeventlog (HWND);
 void showabout (HWND);
 void verify_ssh_host_key(char *host, int port, char *keytype,
                          char *keystr, char *fingerprint);
-void get_sesslist(int allocate);
 void registry_cleanup(void);
 
 GLOBAL int nsessions;
 GLOBAL char **sessions;
 
 /*
+ * Exports from settings.c.
+ */
+void save_settings (char *section, int do_host, Config *cfg);
+void load_settings (char *section, int do_host, Config *cfg);
+void get_sesslist(int allocate);
+
+/*
  * Exports from terminal.c.
  */