]> pd.if.org Git - ctap/blob - ctap.h
fix uninitialized pointer
[ctap] / ctap.h
1 #ifndef TAP_H_
2 #define TAP_H_ 1
3
4 #include <stdarg.h>
5
6 void begin_todo(void);
7 void end_todo(void);
8 void plan(int tests);
9 void plan_lazy(void);
10 void skip_all(const char *why, ...);
11 void okv(int pass, const char *fmt, va_list args);
12 void ok(int pass, char *fmt, ...);
13 void ok_block(unsigned long count, int pass, const char *fmt, ...);
14 void skip(const char *why, ...);
15 void skip_block(unsigned long count, const char *why, ...);
16 void bail(const char *fmt, ...);
17 void sysbail(const char *fmt, ...);
18 void sysdiag(const char *fmt, ...);
19 void diag(const char *fmt, ...);
20 void is_hex(unsigned long wanted, unsigned long seen, const char *fmt, ...);
21 void is_int(long wanted, long seen, const char *fmt, ...);
22 void is_double(double wanted, double seen, double eps, const char *fmt, ...);
23 void is_string(const char *wanted, const char *seen, const char *fmt, ...);
24 void is_compare(void *have, void *want, int (*cmp)(void *,void *),
25                 const char *fmt, ...
26                 ); 
27
28 #endif