2 * Main definitions and externals
4 * Copyright 1998 Bertho A. Stultiens (BS)
11 #ifndef __WRC_WRCTYPES_H
15 #include <time.h> /* For time_t */
17 #define WRC_MAJOR_VERSION 1
18 #define WRC_MINOR_VERSION 1
19 #define WRC_MICRO_VERSION 7
20 #define WRC_RELEASEDATE "(24-Jul-2000)"
22 #define WRC_STRINGIZE(a) #a
23 #define WRC_EXP_STRINGIZE(a) WRC_STRINGIZE(a)
24 #define WRC_VERSIONIZE(a,b,c) WRC_STRINGIZE(a) "." WRC_STRINGIZE(b) "." WRC_STRINGIZE(c)
25 #define WRC_VERSION WRC_VERSIONIZE(WRC_MAJOR_VERSION, WRC_MINOR_VERSION, WRC_MICRO_VERSION)
26 #define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
29 #define MAX(a,b) ((a) > (b) ? (a) : (b))
33 extern int debuglevel
;
34 #define DEBUGLEVEL_NONE 0x0000
35 #define DEBUGLEVEL_CHAT 0x0001
36 #define DEBUGLEVEL_DUMP 0x0002
37 #define DEBUGLEVEL_TRACE 0x0004
38 #define DEBUGLEVEL_PPMSG 0x0008
39 #define DEBUGLEVEL_PPLEX 0x0010
40 #define DEBUGLEVEL_PPTRACE 0x0020
44 extern int create_res
;
45 extern int extensions
;
47 extern int create_header
;
48 extern int create_dir
;
51 extern int indirect_only
;
53 extern int alignment_pwr
;
55 extern DWORD codepage
;
57 extern int auto_register
;
58 extern int leave_case
;
60 extern int preprocess_only
;
61 extern int no_preprocess
;
65 extern char *output_name
;
66 extern char *input_name
;
67 extern char *header_name
;
71 extern int line_number
;
72 extern int char_number
;
74 extern resource_t
*resource_top
;
75 extern language_t
*currentlanguage
;