vat2: add plugin-path parameter
[vpp.git] / src / vat2 / vat2.h
1 #ifndef included_vat2_h
2 #define included_vat2_h
3
4 #include <stdbool.h>
5
6 extern bool vat2_debug;
7
8 #define DBG(fmt, args...)                                                     \
9   do                                                                          \
10     {                                                                         \
11       if (vat2_debug)                                                         \
12         fprintf (stderr, fmt, ##args);                                        \
13     }                                                                         \
14   while (0)
15 #define ERR(fmt, args...) fprintf(stderr, "VAT2: %s:%d:%s(): " fmt, \
16                                   __FILE__, __LINE__, __func__, ##args)
17
18 #endif