home *** CD-ROM | disk | FTP | other *** search
- #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);
-