1 /* 2 * Copyright 2003, Thomas Kurschel. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef DDC_INT_H 6 #define DDC_INT_H 7 8 9 /*! 10 Part of DDC driver 11 Internal header 12 */ 13 14 15 void _sPrintf(const char *format, ...); 16 // no dprintf in user space, but if you know the trick ;) 17 18 //bool set_dprintf_enabled(bool); /* returns old enable flag */ 19 20 #define dprintf _sPrintf 21 22 // don't use variables here as this is a static library 23 // and thus the variables will collide with the main program 24 #define debug_level_flow 2 25 #define debug_level_info 4 26 #define debug_level_error 4 27 #define DEBUG_MSG_PREFIX "DDC " 28 29 #include "debug_ext.h" 30 31 #endif // DDC_INT_H 32