1 /* 2 Copyright (c) 2003, Thomas Kurschel 3 4 5 Part of DDC driver 6 7 Internal header 8 */ 9 10 // no dprintf in user space, but if you know the trick ;) 11 void _kdprintf_(const char *format, ...); 12 //bool set_dprintf_enabled(bool); /* returns old enable flag */ 13 14 #define dprintf _kdprintf_ 15 16 // don't use variables here as this is a static library 17 // and thus the variables will collide with the main program 18 #define debug_level_flow 2 19 #define debug_level_info 4 20 #define debug_level_error 4 21 #define DEBUG_MSG_PREFIX "DDC " 22 23 #include "debug_ext.h" 24