home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
OLS
/
Os2
/
LHA2P205
/
LHA2P205.LZH
/
lha2-2.05pre
/
source.lzh
/
src
/
intrface.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-15
|
1KB
|
66 lines
/*
* intrface.h
* Copyright (C) 1988-1992, Haruyasu YOSHIZAKI
* Copyright (C) 1991-1995, Satoshi HIRAMATSU (OS/2 HPFS version)
*
* $Log$
*/
#ifndef __INCLUDED_INTRFACE_H
#define __INCLUDED_INTRFACE_H
#ifdef __cplusplus
extern "C" {
#endif
typedef short node;
struct interfacing
{
FILE *infile;
FILE *outfile;
ulong original;
ulong packed;
short dicbit;
short method;
short blkcnt;
char *internal;
};
extern struct interfacing interface;
/* from error.c */
void error(char *, const char *);
void fileerror(char *, FILE *);
/* from slide.c */
extern node *next;
extern uchar *use_ptr;
extern uchar text[];
#define TEXT_SIZE 0x7000
int encode_alloc(int);
hword encode(struct interfacing *);
hword decode(struct interfacing *);
/* from crcio.c */
extern ushort crc;
void make_crctable(void);
/* ushort calccrc(uchar *, ulong);*/
ushort calccrc(uchar *, ulong, hword);
off_t crcfread(FILE *, off_t, hword *);
#ifdef __cplusplus
}
#endif
#endif /* __INCLUDED_INTRFACE_H */