Refactor the negotiate() and connected functions
[nbd.git] / nbd-debug.h
blobf2b1af57fc7cb562d8b320ed4d56a55aeaa5bbc5
1 #ifndef NBD_DEBUG_H
2 #define NBD_DEBUG_H
3 #include "config.h"
4 /* Debugging macros */
5 #ifdef DODBG
6 #define DEBUG(...) printf(__VA_ARGS__)
7 #else
8 #define DEBUG(...)
9 #endif
10 #ifndef PACKAGE_VERSION
11 #define PACKAGE_VERSION ""
12 #endif
14 #endif