wined3d: Don't setup FBO and draw buffers in wined3d_context_gl_apply_blit_state().
[wine.git] / programs / winetest / winetest.h
blob60b661fd3b15ba04449c8441d5f7aaae131c5ddc
1 /*
2 * winetest definitions
4 * Copyright 2003 Dimitrie O. Paun
5 * Copyright 2003 Ferenc Wagner
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #ifndef __WINETESTS_H
23 #define __WINETESTS_H
25 #include <stdio.h>
26 #include <stdlib.h>
27 #include <stdarg.h>
29 void fatal (const char* msg);
30 void warning (const char* msg);
31 void WINAPIV xprintf (const char *fmt, ...);
32 char *vstrmake (size_t *lenp, va_list ap);
33 char * WINAPIV strmake (size_t *lenp, ...);
34 int goodtagchar (char c);
35 const char *findbadtagchar (const char *tag);
37 int send_file (const char *url, const char *name);
39 extern HANDLE logfile;
41 /* GUI definitions */
43 #include <windows.h>
45 #ifndef __WINE_ALLOC_SIZE
46 #define __WINE_ALLOC_SIZE(x)
47 #endif
48 void *xalloc (size_t len) __WINE_ALLOC_SIZE(1);
49 void *xrealloc (void *op, size_t len) __WINE_ALLOC_SIZE(2);
50 char *xstrdup( const char *str );
52 enum report_type {
53 R_STATUS = 0,
54 R_PROGRESS,
55 R_STEP,
56 R_DELTA,
57 R_TAG,
58 R_DIR,
59 R_OUT,
60 R_WARNING,
61 R_ERROR,
62 R_FATAL,
63 R_ASK,
64 R_TEXTMODE,
65 R_QUIET
68 #define MAXTAGLEN 30
69 extern char *tag;
70 extern char *email;
71 extern BOOL aborting;
72 int guiAskTag (void);
73 int guiAskEmail (void);
74 int WINAPIV report (enum report_type t, ...);
76 #endif /* __WINETESTS_H */