1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-09 15:23:50 -05:00

Put an optional IdempotentCallback in bufchains.

The callback has the same semantics as for packet queues: it triggers
automatically when data is added to a bufchain, not when it's removed.
This commit is contained in:
Simon Tatham
2018-09-22 08:13:41 +01:00
parent 623c7b720c
commit 06b721ca03
6 changed files with 14 additions and 2 deletions

View File

@ -33,6 +33,7 @@ int random_byte(void)
}
void logevent(Frontend *frontend, const char *msg) { assert(0); }
void queue_idempotent_callback(IdempotentCallback *ic) { assert(0); }
#define fromxdigit(c) ( (c)>'9' ? ((c)&0xDF) - 'A' + 10 : (c) - '0' )