1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 19:42:48 -05:00

Create settings.c and move the load/save session code out of

windlg.c into it. Allows plink and pscp to no longer link with
windlg.c, meaning they lose some of the sillier stub functions and
also can provide a console-based form of verify_ssh_host_key().

[originally from svn r683]
This commit is contained in:
Simon Tatham
2000-10-06 13:21:36 +00:00
parent 43abfd1783
commit b584238186
7 changed files with 498 additions and 353 deletions

10
putty.h
View File

@ -268,18 +268,24 @@ 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.
*/