push 98f792e3155bc985dadb8ff382b74ad0a1d351b5
[wine/hacks.git] / tools / widl / widl.h
blob4496a81b8c5394b26a198d02cdaed1ffd1a21d90
1 /*
2 * IDL Compiler
4 * Copyright 2002 Ove Kaaven
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WIDL_WIDL_H
22 #define __WIDL_WIDL_H
24 #include "widltypes.h"
26 #include <time.h>
28 extern int debuglevel;
29 #define DEBUGLEVEL_NONE 0x0000
30 #define DEBUGLEVEL_CHAT 0x0001
31 #define DEBUGLEVEL_DUMP 0x0002
32 #define DEBUGLEVEL_TRACE 0x0004
33 #define DEBUGLEVEL_PPMSG 0x0008
34 #define DEBUGLEVEL_PPLEX 0x0010
35 #define DEBUGLEVEL_PPTRACE 0x0020
37 extern int win32;
38 extern int pedantic;
39 extern int do_everything;
40 extern int do_header;
41 extern int do_typelib;
42 extern int do_proxies;
43 extern int do_client;
44 extern int do_server;
45 extern int do_idfile;
46 extern int do_dlldata;
47 extern int old_names;
49 extern char *input_name;
50 extern char *header_name;
51 extern char *typelib_name;
52 extern char *dlldata_name;
53 extern char *proxy_name;
54 extern char *proxy_token;
55 extern char *client_name;
56 extern char *client_token;
57 extern char *server_name;
58 extern char *server_token;
59 extern const char *prefix_client;
60 extern const char *prefix_server;
61 extern time_t now;
63 extern int line_number;
64 extern int char_number;
66 extern FILE* header;
67 extern FILE* idfile;
69 extern void write_proxies(ifref_list_t *ifaces);
70 extern void write_client(ifref_list_t *ifaces);
71 extern void write_server(ifref_list_t *ifaces);
72 extern void write_dlldata(ifref_list_t *ifaces);
74 #endif