Data Structures |
| struct | __wine_debug_channel |
| struct | __wine_debug_functions |
Defines |
| #define | UNIMPLEMENTED WINE_FIXME("%s is UNIMPLEMENTED!\n", __FUNCTION__) |
| #define | __WINE_GET_DEBUGGING_TRACE(dbch) ((dbch)->flags & (1 << __WINE_DBCL_TRACE)) |
| #define | __WINE_GET_DEBUGGING_WARN(dbch) ((dbch)->flags & (1 << __WINE_DBCL_WARN)) |
| #define | __WINE_GET_DEBUGGING_FIXME(dbch) ((dbch)->flags & (1 << __WINE_DBCL_FIXME)) |
| #define | __WINE_GET_DEBUGGING_ERR(dbch) ((dbch)->flags & (1 << __WINE_DBCL_ERR)) |
| #define | __WINE_GET_DEBUGGING(dbcl, dbch) __WINE_GET_DEBUGGING##dbcl(dbch) |
| #define | __WINE_IS_DEBUG_ON(dbcl, dbch) (__WINE_GET_DEBUGGING##dbcl(dbch) && (__wine_dbg_get_channel_flags(dbch) & (1 << __WINE_DBCL##dbcl))) |
| #define | __WINE_DPRINTF(dbcl, dbch) |
| #define | __WINE_PRINTF_ATTR(fmt, args) |
| #define | WINE_TRACE __WINE_DPRINTF(_TRACE,__wine_dbch___default) |
| #define | WINE_TRACE_(ch) __WINE_DPRINTF(_TRACE,&__wine_dbch_##ch) |
| #define | WINE_TRACE_ON(ch) __WINE_IS_DEBUG_ON(_TRACE,&__wine_dbch_##ch) |
| #define | WINE_WARN __WINE_DPRINTF(_WARN,__wine_dbch___default) |
| #define | WINE_WARN_(ch) __WINE_DPRINTF(_WARN,&__wine_dbch_##ch) |
| #define | WINE_WARN_ON(ch) __WINE_IS_DEBUG_ON(_WARN,&__wine_dbch_##ch) |
| #define | WINE_FIXME __WINE_DPRINTF(_FIXME,__wine_dbch___default) |
| #define | WINE_FIXME_(ch) __WINE_DPRINTF(_FIXME,&__wine_dbch_##ch) |
| #define | WINE_FIXME_ON(ch) __WINE_IS_DEBUG_ON(_FIXME,&__wine_dbch_##ch) |
| #define | WINE_ERR __WINE_DPRINTF(_ERR,__wine_dbch___default) |
| #define | WINE_ERR_(ch) __WINE_DPRINTF(_ERR,&__wine_dbch_##ch) |
| #define | WINE_ERR_ON(ch) __WINE_IS_DEBUG_ON(_ERR,&__wine_dbch_##ch) |
| #define | WINE_DECLARE_DEBUG_CHANNEL(ch) static struct __wine_debug_channel __wine_dbch_##ch = { ~0, #ch } |
| #define | WINE_DEFAULT_DEBUG_CHANNEL(ch) |
| #define | WINE_DPRINTF wine_dbg_printf |
| #define | WINE_MESSAGE wine_dbg_printf |
| #define | TRACE WINE_TRACE |
| #define | TRACE_(ch) WINE_TRACE_(ch) |
| #define | TRACE_ON(ch) WINE_TRACE_ON(ch) |
| #define | WARN WINE_WARN |
| #define | WARN_(ch) WINE_WARN_(ch) |
| #define | WARN_ON(ch) WINE_WARN_ON(ch) |
| #define | FIXME WINE_FIXME |
| #define | FIXME_(ch) WINE_FIXME_(ch) |
| #define | FIXME_ON(ch) WINE_FIXME_ON(ch) |
| #define | ERR WINE_ERR |
| #define | ERR_(ch) WINE_ERR_(ch) |
| #define | ERR_ON(ch) WINE_ERR_ON(ch) |
| #define | DPRINTF WINE_DPRINTF |
| #define | MESSAGE WINE_MESSAGE |
Enumerations |
| enum | __wine_debug_class {
__WINE_DBCL_FIXME = 0,
__WINE_DBCL_ERR = 1,
__WINE_DBCL_WARN = 2,
__WINE_DBCL_TRACE = 3,
__WINE_DBCL_INIT = 0x7
} |
Functions |
| unsigned char | __wine_dbg_get_channel_flags (struct __wine_debug_channel *channel) |
| int | __wine_dbg_set_channel_flags (struct __wine_debug_channel *channel, unsigned char set, unsigned char clear) |
| void | __wine_dbg_set_functions (const struct __wine_debug_functions *new_funcs, struct __wine_debug_functions *old_funcs, size_t size) |
| const char * | wine_dbgstr_an (const char *s, int n) |
| const char * | wine_dbgstr_wn (const WCHAR *s, int n) |
| const char * | wine_dbg_sprintf (const char *format,...) __WINE_PRINTF_ATTR(1 |
| const char int | wine_dbg_printf (const char *format,...) __WINE_PRINTF_ATTR(1 |
| const char int int | wine_dbg_log (enum __wine_debug_class cls, struct __wine_debug_channel *ch, const char *file, const char *func, const int line, const char *format,...) __WINE_PRINTF_ATTR(6 |
const char int int static
__inline const char * | wine_dbgstr_a (const char *s) |
| static __inline const char * | wine_dbgstr_w (const WCHAR *s) |
| static __inline const char * | wine_dbgstr_guid (const GUID *id) |
| static __inline const char * | wine_dbgstr_point (const POINT *pt) |
| static __inline const char * | wine_dbgstr_size (const SIZE *size) |
| static __inline const char * | wine_dbgstr_rect (const RECT *rect) |
| static __inline const char * | wine_dbgstr_longlong (ULONGLONG ll) |
| static __inline const char * | debugstr_an (const char *s, int n) |
| static __inline const char * | debugstr_wn (const WCHAR *s, int n) |
| static __inline const char * | debugstr_guid (const struct _GUID *id) |
| static __inline const char * | debugstr_a (const char *s) |
| static __inline const char * | debugstr_w (const WCHAR *s) |