home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
archiver
/
lhasrc.arj
/
INTRFACE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-01-13
|
675b
|
37 lines
#include "typedef.h"
typedef short node;
struct interfacing {
FILE *infile;
FILE *outfile;
ulong original;
ulong packed;
int dicbit;
int method;
int blkcnt;
char *internal;
};
extern struct interfacing interface;
/* from error.c */
void error(char *errmes, char *p);
void fileerror(char *err, FILE *file);
/* from slide.c */
extern node far *next;
extern uchar text[];
#define TEXT_SIZE 0x4100
int encode_alloc(int method);
void encode(struct interfacing *interface);
void decode(struct interfacing *interface);
/* from crcio.c */
extern ushort crc;
void make_crctable(ushort crcpoly);
ushort calccrc(uchar *p, uint n);