1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -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

@ -60,8 +60,9 @@ void nonfatal(const char *fmt, ...)
sfree(stuff);
}
/* Stub needed to link against misc.c */
/* Stubs needed to link against misc.c */
void logevent(Frontend *frontend, const char *msg) { assert(0); }
void queue_idempotent_callback(IdempotentCallback *ic) { assert(0); }
/* ----------------------------------------------------------------------
* Progress report code. This is really horrible :-)

View File

@ -113,8 +113,9 @@ static void unmungestr(char *in, char *out, int outlen)
return;
}
/* Stub needed to link against misc.c */
/* Stubs needed to link against misc.c */
void logevent(Frontend *frontend, const char *msg) { assert(0); }
void queue_idempotent_callback(IdempotentCallback *ic) { assert(0); }
static int has_security;