ReactOS 0.4.16-dev-319-g6cf4263
winetest.h
Go to the documentation of this file.
1/*
2 * winetest definitions
3 *
4 * Copyright 2003 Dimitrie O. Paun
5 * Copyright 2003 Ferenc Wagner
6 *
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.
11 *
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.
16 *
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
20 */
21
22#ifndef __WINETESTS_H
23#define __WINETESTS_H
24
25#include <stdio.h>
26#include <stdlib.h>
27#include <stdarg.h>
28
29void fatal (const char* msg);
30void warning (const char* msg);
31void *xmalloc (size_t len);
32void *xrealloc (void *op, size_t len);
33char *xstrdup( const char *str );
34void xprintf (const char *fmt, ...);
35char *vstrmake (size_t *lenp, va_list ap);
36char *strmake (size_t *lenp, ...);
37int goodtagchar (char c);
38const char *findbadtagchar (const char *tag);
39
40int send_file (const char *name);
41
42/* GUI definitions */
43
44#include <windows.h>
45
60};
61
62#define MAXTAGLEN 20
63extern char *tag;
64int guiAskTag (void);
65int report (enum report_type t, ...);
66
67#endif /* __WINETESTS_H */
char * va_list
Definition: acmsvcex.h:78
#define msg(x)
Definition: auth_time.c:54
UINT op
Definition: effect.c:236
GLdouble GLdouble t
Definition: gl.h:2047
const GLubyte * c
Definition: glext.h:8905
GLenum GLsizei len
Definition: glext.h:6722
const WCHAR * str
#define warning(s)
Definition: debug.h:83
Definition: dsound.c:943
Definition: name.c:39
Definition: ecma_167.h:138
void int int ULONGLONG int va_list * ap
Definition: winesup.h:36
int goodtagchar(char c)
Definition: util.c:115
void * xrealloc(void *op, size_t len)
Definition: uimain.c:736
int send_file(const char *name)
Definition: send.c:105
char * vstrmake(size_t *lenp, va_list ap)
Definition: util.c:74
char * xstrdup(const char *str)
Definition: uimain.c:768
void xprintf(const char *fmt,...)
Definition: shimdbg.c:16
void * xmalloc(size_t len)
Definition: util.c:27
char * strmake(size_t *lenp,...)
Definition: util.c:82
int guiAskTag(void)
Definition: gui.c:353
int report(enum report_type t,...)
Definition: gui.c:454
char * tag
Definition: main.c:59
const char * findbadtagchar(const char *tag)
Definition: util.c:124
report_type
Definition: winetest.h:46
@ R_ERROR
Definition: winetest.h:55
@ R_TEXTMODE
Definition: winetest.h:58
@ R_QUIET
Definition: winetest.h:59
@ R_DELTA
Definition: winetest.h:50
@ R_PROGRESS
Definition: winetest.h:48
@ R_ASK
Definition: winetest.h:57
@ R_STEP
Definition: winetest.h:49
@ R_WARNING
Definition: winetest.h:54
@ R_STATUS
Definition: winetest.h:47
@ R_OUT
Definition: winetest.h:53
@ R_DIR
Definition: winetest.h:52
@ R_FATAL
Definition: winetest.h:56
@ R_TAG
Definition: winetest.h:51
void fatal(const char *msg)