blob: d477b7279b3a3084b69e5b8dcce0cf66f3146b4e [file] [log] [blame]
Ole Troandf87f802020-11-18 19:17:48 +01001#ifndef included_vat2_h
2#define included_vat2_h
3
4#include <stdbool.h>
5
6extern bool debug;
7
8#define DBG(fmt, args...) do {if (debug) fprintf(stderr, fmt, ## args); } while(0)
9#define ERR(fmt, args...) fprintf(stderr, "VAT2: %s:%d:%s(): " fmt, \
10 __FILE__, __LINE__, __func__, ##args)
11
12#endif