1 /* Do not modify this file -- it is automatically generated! */
3 #include "debugtools.h"
5 #define DEBUG_CLASS_COUNT __DBCL_COUNT
7 static const char * const debug_cl_name
[] = { "fixme", "err", "warn", "trace" };
9 char dbch_accel
[] = "\003accel";
10 char dbch_advapi
[] = "\003advapi";
11 char dbch_animate
[] = "\003animate";
12 char dbch_aspi
[] = "\003aspi";
13 char dbch_atom
[] = "\003atom";
14 char dbch_avifile
[] = "\003avifile";
15 char dbch_bitblt
[] = "\003bitblt";
16 char dbch_bitmap
[] = "\003bitmap";
17 char dbch_caret
[] = "\003caret";
18 char dbch_cdrom
[] = "\003cdrom";
19 char dbch_class
[] = "\003class";
20 char dbch_clipboard
[] = "\003clipboard";
21 char dbch_clipping
[] = "\003clipping";
22 char dbch_combo
[] = "\003combo";
23 char dbch_comboex
[] = "\003comboex";
24 char dbch_comm
[] = "\003comm";
25 char dbch_commctrl
[] = "\003commctrl";
26 char dbch_commdlg
[] = "\003commdlg";
27 char dbch_console
[] = "\003console";
28 char dbch_crtdll
[] = "\003crtdll";
29 char dbch_cursor
[] = "\003cursor";
30 char dbch_datetime
[] = "\003datetime";
31 char dbch_dc
[] = "\003dc";
32 char dbch_ddeml
[] = "\003ddeml";
33 char dbch_ddraw
[] = "\003ddraw";
34 char dbch_debug
[] = "\003debug";
35 char dbch_debugstr
[] = "\003debugstr";
36 char dbch_delayhlp
[] = "\003delayhlp";
37 char dbch_dialog
[] = "\003dialog";
38 char dbch_dinput
[] = "\003dinput";
39 char dbch_dll
[] = "\003dll";
40 char dbch_dosfs
[] = "\003dosfs";
41 char dbch_dosmem
[] = "\003dosmem";
42 char dbch_dplay
[] = "\003dplay";
43 char dbch_driver
[] = "\003driver";
44 char dbch_dsound
[] = "\003dsound";
45 char dbch_edit
[] = "\003edit";
46 char dbch_elfdll
[] = "\003elfdll";
47 char dbch_enhmetafile
[] = "\003enhmetafile";
48 char dbch_event
[] = "\003event";
49 char dbch_exec
[] = "\003exec";
50 char dbch_file
[] = "\003file";
51 char dbch_fixup
[] = "\003fixup";
52 char dbch_font
[] = "\003font";
53 char dbch_gdi
[] = "\003gdi";
54 char dbch_global
[] = "\003global";
55 char dbch_graphics
[] = "\003graphics";
56 char dbch_header
[] = "\003header";
57 char dbch_heap
[] = "\003heap";
58 char dbch_hook
[] = "\003hook";
59 char dbch_hotkey
[] = "\003hotkey";
60 char dbch_icmp
[] = "\003icmp";
61 char dbch_icon
[] = "\003icon";
62 char dbch_imagehlp
[] = "\003imagehlp";
63 char dbch_imagelist
[] = "\003imagelist";
64 char dbch_imm
[] = "\003imm";
65 char dbch_int
[] = "\003int";
66 char dbch_int10
[] = "\003int10";
67 char dbch_int16
[] = "\003int16";
68 char dbch_int17
[] = "\003int17";
69 char dbch_int19
[] = "\003int19";
70 char dbch_int21
[] = "\003int21";
71 char dbch_int31
[] = "\003int31";
72 char dbch_io
[] = "\003io";
73 char dbch_ipaddress
[] = "\003ipaddress";
74 char dbch_key
[] = "\003key";
75 char dbch_keyboard
[] = "\003keyboard";
76 char dbch_ldt
[] = "\003ldt";
77 char dbch_listbox
[] = "\003listbox";
78 char dbch_listview
[] = "\003listview";
79 char dbch_local
[] = "\003local";
80 char dbch_mci
[] = "\003mci";
81 char dbch_mcianim
[] = "\003mcianim";
82 char dbch_mciavi
[] = "\003mciavi";
83 char dbch_mcicda
[] = "\003mcicda";
84 char dbch_mcimidi
[] = "\003mcimidi";
85 char dbch_mciwave
[] = "\003mciwave";
86 char dbch_mdi
[] = "\003mdi";
87 char dbch_menu
[] = "\003menu";
88 char dbch_message
[] = "\003message";
89 char dbch_metafile
[] = "\003metafile";
90 char dbch_midi
[] = "\003midi";
91 char dbch_mmaux
[] = "\003mmaux";
92 char dbch_mmio
[] = "\003mmio";
93 char dbch_mmsys
[] = "\003mmsys";
94 char dbch_mmtime
[] = "\003mmtime";
95 char dbch_module
[] = "\003module";
96 char dbch_monthcal
[] = "\003monthcal";
97 char dbch_mpr
[] = "\003mpr";
98 char dbch_msacm
[] = "\003msacm";
99 char dbch_msg
[] = "\003msg";
100 char dbch_msvideo
[] = "\003msvideo";
101 char dbch_nativefont
[] = "\003nativefont";
102 char dbch_nonclient
[] = "\003nonclient";
103 char dbch_ntdll
[] = "\003ntdll";
104 char dbch_odbc
[] = "\003odbc";
105 char dbch_ole
[] = "\003ole";
106 char dbch_pager
[] = "\003pager";
107 char dbch_palette
[] = "\003palette";
108 char dbch_pidl
[] = "\003pidl";
109 char dbch_print
[] = "\003print";
110 char dbch_process
[] = "\003process";
111 char dbch_profile
[] = "\003profile";
112 char dbch_progress
[] = "\003progress";
113 char dbch_prop
[] = "\003prop";
114 char dbch_propsheet
[] = "\003propsheet";
115 char dbch_psapi
[] = "\003psapi";
116 char dbch_psdrv
[] = "\003psdrv";
117 char dbch_ras
[] = "\003ras";
118 char dbch_rebar
[] = "\003rebar";
119 char dbch_reg
[] = "\003reg";
120 char dbch_region
[] = "\003region";
121 char dbch_relay
[] = "\003relay";
122 char dbch_resource
[] = "\003resource";
123 char dbch_scroll
[] = "\003scroll";
124 char dbch_security
[] = "\003security";
125 char dbch_segment
[] = "\003segment";
126 char dbch_seh
[] = "\003seh";
127 char dbch_selector
[] = "\003selector";
128 char dbch_sendmsg
[] = "\003sendmsg";
129 char dbch_server
[] = "\003server";
130 char dbch_setupx
[] = "\003setupx";
131 char dbch_shell
[] = "\003shell";
132 char dbch_snoop
[] = "\003snoop";
133 char dbch_sound
[] = "\003sound";
134 char dbch_static
[] = "\003static";
135 char dbch_statusbar
[] = "\003statusbar";
136 char dbch_storage
[] = "\003storage";
137 char dbch_stress
[] = "\003stress";
138 char dbch_string
[] = "\003string";
139 char dbch_syscolor
[] = "\003syscolor";
140 char dbch_system
[] = "\003system";
141 char dbch_tab
[] = "\003tab";
142 char dbch_tape
[] = "\003tape";
143 char dbch_tapi
[] = "\003tapi";
144 char dbch_task
[] = "\003task";
145 char dbch_text
[] = "\003text";
146 char dbch_thread
[] = "\003thread";
147 char dbch_thunk
[] = "\003thunk";
148 char dbch_timer
[] = "\003timer";
149 char dbch_toolbar
[] = "\003toolbar";
150 char dbch_toolhelp
[] = "\003toolhelp";
151 char dbch_tooltips
[] = "\003tooltips";
152 char dbch_trackbar
[] = "\003trackbar";
153 char dbch_treeview
[] = "\003treeview";
154 char dbch_ttydrv
[] = "\003ttydrv";
155 char dbch_tweak
[] = "\003tweak";
156 char dbch_typelib
[] = "\003typelib";
157 char dbch_updown
[] = "\003updown";
158 char dbch_ver
[] = "\003ver";
159 char dbch_virtual
[] = "\003virtual";
160 char dbch_vxd
[] = "\003vxd";
161 char dbch_wave
[] = "\003wave";
162 char dbch_win
[] = "\003win";
163 char dbch_win16drv
[] = "\003win16drv";
164 char dbch_win32
[] = "\003win32";
165 char dbch_wing
[] = "\003wing";
166 char dbch_winsock
[] = "\003winsock";
167 char dbch_winspool
[] = "\003winspool";
168 char dbch_wnet
[] = "\003wnet";
169 char dbch_x11
[] = "\003x11";
170 char dbch_x11drv
[] = "\003x11drv";
172 #define DEBUG_CHANNEL_COUNT 162
174 static char * const debug_channels
[DEBUG_CHANNEL_COUNT
] = {
339 int dbg_header_err( const char *dbg_channel
, const char *func
)
341 return dbg_printf( "err:%s:%s ", dbg_channel
+ 1, func
);
344 int dbg_header_fixme( const char *dbg_channel
, const char *func
)
346 return dbg_printf( "fixme:%s:%s ", dbg_channel
+ 1, func
);
349 int dbg_header_warn( const char *dbg_channel
, const char *func
)
351 return dbg_printf( "warn:%s:%s ", dbg_channel
+ 1, func
);
354 int dbg_header_trace( const char *dbg_channel
, const char *func
)
356 return dbg_printf( "trace:%s:%s ", dbg_channel
+ 1, func
);