Added missing goto in switch statement.
[wine.git] / include / debugdefs.h
blob86b8b6ae1660d57afd4b3c58ef48b0fda22accc6
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] = {
175 dbch_accel,
176 dbch_advapi,
177 dbch_animate,
178 dbch_aspi,
179 dbch_atom,
180 dbch_avifile,
181 dbch_bitblt,
182 dbch_bitmap,
183 dbch_caret,
184 dbch_cdrom,
185 dbch_class,
186 dbch_clipboard,
187 dbch_clipping,
188 dbch_combo,
189 dbch_comboex,
190 dbch_comm,
191 dbch_commctrl,
192 dbch_commdlg,
193 dbch_console,
194 dbch_crtdll,
195 dbch_cursor,
196 dbch_datetime,
197 dbch_dc,
198 dbch_ddeml,
199 dbch_ddraw,
200 dbch_debug,
201 dbch_debugstr,
202 dbch_delayhlp,
203 dbch_dialog,
204 dbch_dinput,
205 dbch_dll,
206 dbch_dosfs,
207 dbch_dosmem,
208 dbch_dplay,
209 dbch_driver,
210 dbch_dsound,
211 dbch_edit,
212 dbch_elfdll,
213 dbch_enhmetafile,
214 dbch_event,
215 dbch_exec,
216 dbch_file,
217 dbch_fixup,
218 dbch_font,
219 dbch_gdi,
220 dbch_global,
221 dbch_graphics,
222 dbch_header,
223 dbch_heap,
224 dbch_hook,
225 dbch_hotkey,
226 dbch_icmp,
227 dbch_icon,
228 dbch_imagehlp,
229 dbch_imagelist,
230 dbch_imm,
231 dbch_int,
232 dbch_int10,
233 dbch_int16,
234 dbch_int17,
235 dbch_int19,
236 dbch_int21,
237 dbch_int31,
238 dbch_io,
239 dbch_ipaddress,
240 dbch_key,
241 dbch_keyboard,
242 dbch_ldt,
243 dbch_listbox,
244 dbch_listview,
245 dbch_local,
246 dbch_mci,
247 dbch_mcianim,
248 dbch_mciavi,
249 dbch_mcicda,
250 dbch_mcimidi,
251 dbch_mciwave,
252 dbch_mdi,
253 dbch_menu,
254 dbch_message,
255 dbch_metafile,
256 dbch_midi,
257 dbch_mmaux,
258 dbch_mmio,
259 dbch_mmsys,
260 dbch_mmtime,
261 dbch_module,
262 dbch_monthcal,
263 dbch_mpr,
264 dbch_msacm,
265 dbch_msg,
266 dbch_msvideo,
267 dbch_nativefont,
268 dbch_nonclient,
269 dbch_ntdll,
270 dbch_odbc,
271 dbch_ole,
272 dbch_pager,
273 dbch_palette,
274 dbch_pidl,
275 dbch_print,
276 dbch_process,
277 dbch_profile,
278 dbch_progress,
279 dbch_prop,
280 dbch_propsheet,
281 dbch_psapi,
282 dbch_psdrv,
283 dbch_ras,
284 dbch_rebar,
285 dbch_reg,
286 dbch_region,
287 dbch_relay,
288 dbch_resource,
289 dbch_scroll,
290 dbch_security,
291 dbch_segment,
292 dbch_seh,
293 dbch_selector,
294 dbch_sendmsg,
295 dbch_server,
296 dbch_setupx,
297 dbch_shell,
298 dbch_snoop,
299 dbch_sound,
300 dbch_static,
301 dbch_statusbar,
302 dbch_storage,
303 dbch_stress,
304 dbch_string,
305 dbch_syscolor,
306 dbch_system,
307 dbch_tab,
308 dbch_tape,
309 dbch_tapi,
310 dbch_task,
311 dbch_text,
312 dbch_thread,
313 dbch_thunk,
314 dbch_timer,
315 dbch_toolbar,
316 dbch_toolhelp,
317 dbch_tooltips,
318 dbch_trackbar,
319 dbch_treeview,
320 dbch_ttydrv,
321 dbch_tweak,
322 dbch_typelib,
323 dbch_updown,
324 dbch_ver,
325 dbch_virtual,
326 dbch_vxd,
327 dbch_wave,
328 dbch_win,
329 dbch_win16drv,
330 dbch_win32,
331 dbch_wing,
332 dbch_winsock,
333 dbch_winspool,
334 dbch_wnet,
335 dbch_x11,
336 dbch_x11drv
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 );