]> git.saurik.com Git - wxWidgets.git/blob - utils/Install/incace/globals.h
make wxArtProvider pure virtual (I was not so on
[wxWidgets.git] / utils / Install / incace / globals.h
1 /* ------------------------------------------------------------------------ */
2 /* */
3 /* Global variable definitions */
4 /* */
5 /* ------------------------------------------------------------------------ */
6
7 #ifndef __globals_h
8 #define __globals_h
9
10 #include "acestruc.h"
11 #include "unace.h"
12
13 //-------- Ace sign
14 extern const char *acesign;
15
16 //-------- Version string for program
17 extern const char *version;
18
19 //-------- header buffer and pointers
20 extern thead head;
21
22 extern tmhead *t_mhead;
23 extern tfhead *t_fhead;
24
25 //-------- buffers
26 extern ULONG *buf_rd ;
27 extern CHAR *buf ;
28 extern CHAR *buf_wr ;
29 extern UCHAR *readbuf;
30
31 //-------- decompressor variables
32 extern
33 SHORT rpos ,
34 dcpr_do ,
35 dcpr_do_max ,
36 blocksize ,
37 dcpr_dic ,
38 dcpr_oldnum ,
39 bits_rd ,
40 dcpr_frst_file;
41 extern
42 USHORT dcpr_code_mn[1 << maxwd_mn],
43 dcpr_code_lg[1 << maxwd_lg];
44 extern
45 UCHAR dcpr_wd_mn[maxcode + 2],
46 dcpr_wd_lg[maxcode + 2],
47 wd_svwd[svwd_cnt];
48 extern
49 ULONG dcpr_dpos ,
50 cpr_dpos2 ,
51 dcpr_dicsiz ,
52 dcpr_dican ,
53 dcpr_size ,
54 dcpr_olddist[4],
55 code_rd ;
56 extern
57 CHAR *dcpr_text ;
58
59 //-------- quicksort
60 extern USHORT sort_org[maxcode + 2];
61 extern UCHAR sort_freq[(maxcode + 2) * 2];
62
63 //-------- file handling
64 extern CHAR aname[PATH_MAX];
65 extern
66 INT archan,
67 wrhan;
68 #if !defined(__EMX__) && !defined(__OS2__)
69 extern FILE *farchan;
70 #endif
71
72 extern LONG skipsize;
73
74 //-------- structures for archive handling
75 extern struct tadat adat;
76
77 //-------- flags
78 extern
79 INT f_err ,
80 f_ovrall ,
81 f_allvol_pr,
82 f_curpas ,
83 f_criterr ;
84
85 int pipeit(char *format, ...);
86 void error(char *format, ...);
87 int confirm(char *format, ...);
88
89 #endif /* __globals_h */
90