mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 18:17:32 -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:
@ -190,12 +190,6 @@ const char *sk_addr_error(SockAddr addr);
|
||||
*/
|
||||
#define sk_set_frozen(s, is_frozen) (((*s)->set_frozen) (s, is_frozen))
|
||||
|
||||
/*
|
||||
* Call this after an operation that might have tried to send on a
|
||||
* socket, to clean up any pending network errors.
|
||||
*/
|
||||
void net_pending_errors(void);
|
||||
|
||||
/*
|
||||
* Simple wrapper on getservbyname(), needed by ssh.c. Returns the
|
||||
* port number, in host byte order (suitable for printf and so on).
|
||||
|
Reference in New Issue
Block a user