tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

bench.h (381B)


      1 struct benchops {
      2 void *(*init)(struct timeout *, size_t, int);
      3 void (*add)(void *, struct timeout *, timeout_t);
      4 void (*del)(void *, struct timeout *);
      5 struct timeout *(*get)(void *);
      6 void (*update)(void *, timeout_t);
      7 void (*check)(void *);
      8 int (*empty)(void *);
      9 struct timeout *(*next)(void *, struct timeouts_it *);
     10 void (*destroy)(void *);
     11 }; /* struct benchops() */