mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Invent structure tags for the storage.h abstractions.
Most of these were 'void *' because they weren't even reliably a structure type underneath - the per-OS storage systems would directly cast read/write/enum settings handles to and from random things like FILE *, Unix DIR *, or Windows HKEY. So I've wrapped them in tiny structs for the sake of having a sensible structure tag visible elsewhere in the code.
This commit is contained in:
4
putty.h
4
putty.h
@ -1074,9 +1074,9 @@ const struct Backend_vtable *backend_vt_from_name(const char *name);
|
||||
const struct Backend_vtable *backend_vt_from_proto(int proto);
|
||||
char *get_remote_username(Conf *conf); /* dynamically allocated */
|
||||
char *save_settings(const char *section, Conf *conf);
|
||||
void save_open_settings(void *sesskey, Conf *conf);
|
||||
void save_open_settings(settings_w *sesskey, Conf *conf);
|
||||
void load_settings(const char *section, Conf *conf);
|
||||
void load_open_settings(void *sesskey, Conf *conf);
|
||||
void load_open_settings(settings_r *sesskey, Conf *conf);
|
||||
void get_sesslist(struct sesslist *, int allocate);
|
||||
void do_defaults(const char *, Conf *);
|
||||
void registry_cleanup(void);
|
||||
|
Reference in New Issue
Block a user