const char *get_vardir(void);
+#define DEBUG_DEFINE_DEBUGF(f) \
+ static void vdebugf(const char *fmt, va_list al) { \
+ if (DEBUGP(f)) \
+ vfprintf(debug,fmt,al); \
+ } \
+ static void debugf(const char *fmt, ...) { \
+ va_list al; va_start(al,fmt); vdebugf(fmt,al); va_end(al); \
+ }
+
#endif /*OCR_H*/