1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Expose the structure tag 'dlgparam'.

This continues my ongoing crusade against dangerous 'void *'
parameters.
This commit is contained in:
Simon Tatham
2018-09-13 12:58:44 +01:00
parent fc375c0b6a
commit 3aae1f9d76
10 changed files with 150 additions and 207 deletions

10
putty.h
View File

@ -1421,16 +1421,16 @@ void cmdline_error(const char *, ...);
*/
struct controlbox;
union control;
void conf_radiobutton_handler(union control *ctrl, void *dlg,
void conf_radiobutton_handler(union control *ctrl, dlgparam *dlg,
void *data, int event);
#define CHECKBOX_INVERT (1<<30)
void conf_checkbox_handler(union control *ctrl, void *dlg,
void conf_checkbox_handler(union control *ctrl, dlgparam *dlg,
void *data, int event);
void conf_editbox_handler(union control *ctrl, void *dlg,
void conf_editbox_handler(union control *ctrl, dlgparam *dlg,
void *data, int event);
void conf_filesel_handler(union control *ctrl, void *dlg,
void conf_filesel_handler(union control *ctrl, dlgparam *dlg,
void *data, int event);
void conf_fontsel_handler(union control *ctrl, void *dlg,
void conf_fontsel_handler(union control *ctrl, dlgparam *dlg,
void *data, int event);
void setup_config_box(struct controlbox *b, int midsession,
int protocol, int protcfginfo);