diff options
Diffstat (limited to 'bindings/rs-timeout/timeout/bench/bench.h')
| -rw-r--r-- | bindings/rs-timeout/timeout/bench/bench.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bindings/rs-timeout/timeout/bench/bench.h b/bindings/rs-timeout/timeout/bench/bench.h new file mode 100644 index 0000000..bc1f7cf --- /dev/null +++ b/bindings/rs-timeout/timeout/bench/bench.h @@ -0,0 +1,11 @@ +struct benchops { + void *(*init)(struct timeout *, size_t, int); + void (*add)(void *, struct timeout *, timeout_t); + void (*del)(void *, struct timeout *); + struct timeout *(*get)(void *); + void (*update)(void *, timeout_t); + void (*check)(void *); + int (*empty)(void *); + struct timeout *(*next)(void *, struct timeouts_it *); + void (*destroy)(void *); +}; /* struct benchops() */ |
