b9d6474c38215ceeb962100428937f59bd433de1
[reactos.git] / reactos / tools / widl / widl.h
1 /*
2 * IDL Compiler
3 *
4 * Copyright 2002 Ove Kaaven
5 *
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.
10 *
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.
15 *
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef __WIDL_WIDL_H
22 #define __WIDL_WIDL_H
23
24 #include "widltypes.h"
25
26 #include <time.h>
27
28 #define WIDL_FULLVERSION "0.1"
29
30 extern int debuglevel;
31 #define DEBUGLEVEL_NONE 0x0000
32 #define DEBUGLEVEL_CHAT 0x0001
33 #define DEBUGLEVEL_DUMP 0x0002
34 #define DEBUGLEVEL_TRACE 0x0004
35 #define DEBUGLEVEL_PPMSG 0x0008
36 #define DEBUGLEVEL_PPLEX 0x0010
37 #define DEBUGLEVEL_PPTRACE 0x0020
38
39 extern int win32;
40 extern int pedantic;
41 extern int do_header;
42 extern int do_typelib;
43 extern int do_proxies;
44 extern int do_client;
45 extern int do_server;
46
47 extern char *input_name;
48 extern char *header_name;
49 extern char *typelib_name;
50 extern char *proxy_name;
51 extern char *proxy_token;
52 extern char *client_name;
53 extern char *client_token;
54 extern char *server_name;
55 extern char *server_token;
56 extern time_t now;
57
58 extern int line_number;
59 extern int char_number;
60
61 extern FILE* header;
62
63 #endif