
Add plugin-path parameter to aid external plugin development. Multiple directories are supported as a colon separated list. Type: improvement Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ida35dedceccd0019ea68e56f7a3672c530258447
19 lines
731 B
C
19 lines
731 B
C
#ifndef included_vat2_h
|
|
#define included_vat2_h
|
|
|
|
#include <stdbool.h>
|
|
|
|
extern bool vat2_debug;
|
|
|
|
#define DBG(fmt, args...) \
|
|
do \
|
|
{ \
|
|
if (vat2_debug) \
|
|
fprintf (stderr, fmt, ##args); \
|
|
} \
|
|
while (0)
|
|
#define ERR(fmt, args...) fprintf(stderr, "VAT2: %s:%d:%s(): " fmt, \
|
|
__FILE__, __LINE__, __func__, ##args)
|
|
|
|
#endif
|