ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

debug.h File Reference
#include <stdarg.h>
#include <windef.h>
#include <guiddef.h>

Go to the source code of this file.

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 charwine_dbgstr_an (const char *s, int n)
const charwine_dbgstr_wn (const WCHAR *s, int n)
const charwine_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 charwine_dbgstr_w (const WCHAR *s)
static __inline const charwine_dbgstr_guid (const GUID *id)
static __inline const charwine_dbgstr_point (const POINT *pt)
static __inline const charwine_dbgstr_size (const SIZE *size)
static __inline const charwine_dbgstr_rect (const RECT *rect)
static __inline const charwine_dbgstr_longlong (ULONGLONG ll)
static __inline const chardebugstr_an (const char *s, int n)
static __inline const chardebugstr_wn (const WCHAR *s, int n)
static __inline const chardebugstr_guid (const struct _GUID *id)
static __inline const chardebugstr_a (const char *s)
static __inline const chardebugstr_w (const WCHAR *s)

Generated on Sat May 26 2012 04:42:34 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.