1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 20:12:48 -05:00

Revamp net_pending_errors using toplevel callbacks.

Again, I've removed the special-purpose ad-hockery from the assorted
front end message loops that dealt with deferred handling of socket
errors, and instead uxnet.c and winnet.c arrange that for themselves
by calling the new general top-level callback mechanism.

[originally from svn r10023]
This commit is contained in:
Simon Tatham
2013-08-17 16:06:27 +00:00
parent a44366585f
commit d35a41f6ba
8 changed files with 44 additions and 126 deletions

View File

@ -173,13 +173,6 @@ int init_ucs(struct unicode_data *ucsdata, char *line_codepage,
*/
void *sk_getxdmdata(void *sock, int *lenp);
/*
* Function provided by front ends, and called by uxnet.c to indicate
* that net_pending_errors() would like to be called back when the
* front end has a spare moment and isn't deep in any other recursion.
*/
void frontend_net_error_pending(void);
/*
* General helpful Unix stuff: more helpful version of the FD_SET
* macro, which also handles maxfd.