add indentation to protocol.txt for readability
[beanstalkd.git] / ct / internal.h
blob18dcf5cf8f3f6c409bf3393f2beb8f6d709a967b
1 /* include <stdint.h> */
3 #define TmpDirPat "/tmp/ct.XXXXXX"
5 typedef int64_t int64;
6 typedef struct Test Test;
7 typedef struct Benchmark Benchmark;
9 struct Test {
10 void (*f)(void);
11 const char *name;
12 int status;
13 int fd;
14 int pid;
15 char dir[sizeof TmpDirPat];
18 struct Benchmark {
19 void (*f)(int);
20 const char *name;
21 int status;
22 int64 dur;
23 int64 bytes;
24 char dir[sizeof TmpDirPat];
27 extern Test ctmaintest[];
28 extern Benchmark ctmainbench[];