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