1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/notiming.c
Simon Tatham 0a4b6612fb A few small changes to make the PuTTY source base more usable as a
basis for other terminal-involving applications: a stub
implementation of the printing interface, an additional function in
notiming.c, and also I've renamed the front-end function beep() to
do_beep() so as not to clash with beep() in lib[n]curses.

[originally from svn r6479]
2005-12-09 20:04:19 +00:00

22 lines
584 B
C

/*
* notiming.c: stub version of timing API.
*
* Used in any tool which needs a subsystem linked against the
* timing API but doesn't want to actually provide timing. For
* example, key generation tools need the random number generator,
* but they don't want the hassle of calling noise_regular() at
* regular intervals - and they don't _need_ it either, since they
* have their own rigorous and different means of noise collection.
*/
#include "putty.h"
long schedule_timer(int ticks, timer_fn_t fn, void *ctx)
{
return 0;
}
void expire_timer_context(void *ctx)
{
}