-
Notifications
You must be signed in to change notification settings - Fork 0
/
SWD32.H
86 lines (66 loc) · 3.26 KB
/
SWD32.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// **************************************************************************
// **************************************************************************
// **************************************************************************
// ** **
// ** SWD32.C PROGRAM **
// ** **
// ** SWD compressor for Win32 console mode. **
// ** **
// ** Copyright John Brandwood 1992-2015. **
// ** **
// ** Distributed under the Boost Software License, Version 1.0. **
// ** (See accompanying file LICENSE_1_0.txt or copy at **
// ** http://www.boost.org/LICENSE_1_0.txt) **
// ** **
// **************************************************************************
// **************************************************************************
// **************************************************************************
#ifndef __SWD32_h
#define __SWD32_h
//
// GLOBAL DATA STRUCTURES AND DEFINITIONS
//
//
// GLOBAL VARIABLES
//
extern BOOL fl___MidiBusy;
extern BOOL fl___MidiBankRead;
extern BOOL fl___MidiBankSend;
extern BOOL fl___BankLoaded;
extern BOOL fl___BankChanged;
extern char * pcz__AppName;
extern char * pcz__AppErrTitle;
extern char szFileName [_MAX_PATH];
extern char szTitleName [_MAX_FNAME + _MAX_EXT];
//
// GLOBAL FUNCTION PROTOTYPES
//
extern int __cdecl main (
int argc,
char ** argv);
extern int ShrinkBlockFile (void);
extern int ExpandBlockFile (void);
extern int ShrinkWholeFile (void);
extern int ExpandWholeFile (void);
extern int RecvLzssToken (
int * pmatch_length,
int * pmatch_offset);
extern int SendLzssToken (
int match_length,
int match_offset);
extern int SendLzssEOF (void);
extern int RecvByteValue (void);
extern int SendByteValue (
int value);
extern int SendByteEOF (void);
//
// End of __SWD32_h
//
#endif
// **************************************************************************
// **************************************************************************
// **************************************************************************
// END OF SWD32.H
// **************************************************************************
// **************************************************************************
// **************************************************************************