xprintf d727b10
|
Debug routines. More...
Functions | |
void | debug_setChannel (struct xprintf_channel *channel) |
Sets (changes) the channel for debugging. | |
struct xprintf_channel * | debug_getChannel (void) |
Returns the current debugging channel. |
Debug routines.
For convenience, debugchannel.h also causes an include of debug.h, xstrerror.h and errnocode.h.
If flagged to disable debug calls, this module provides dummy static
inline
bodies for the debug functions so that compile-time checks are still done but no code is generated.
struct xprintf_channel* debug_getChannel | ( | void | ) | [read] |
Returns the current debugging channel.
null
will skip debug output void debug_setChannel | ( | struct xprintf_channel * | channel | ) |
Sets (changes) the channel for debugging.
channel | pointer to new debug channel, null will skip debug output |