File: notiming.c

package info (click to toggle)
putty 0.74-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,020 kB
  • sloc: ansic: 114,140; python: 4,372; perl: 3,511; sh: 1,563; makefile: 167
file content (21 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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"

unsigned long schedule_timer(int ticks, timer_fn_t fn, void *ctx)
{
    return 0;
}

void expire_timer_context(void *ctx)
{
}