home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 mARCH
/
PCWK3A99.iso
/
Archiwiz
/
Tar320
/
SOURCES.ZIP
/
ZIPPIPE.H
< prev
Wrap
Text File
|
1996-05-11
|
1KB
|
37 lines
#define ZIP_ANY 0
#define ZIP_RAW 1
#define ZIP_PKW 2
#define ZIP_GNU 3
#ifndef __ARGS__
# include "modern.h"
#endif
int unzalloc __ARGS__((void));
int unzopen __ARGS__((int (*)(), int));
int unzread __ARGS__((char *, unsigned));
void unzfree __ARGS__((void));
int unzclose __ARGS__((void));
int zipalloc __ARGS__((void));
int zipcreat __ARGS__((void (*)(int), int, int));
int zipwrite __ARGS__((char *, unsigned));
void zipfree __ARGS__((void));
long zipclose __ARGS__((void));
extern int ziperror;
extern char *ziperrlist[];
#define ZNOPEN 0
#define ZNOMEM 1 /* Not enough memory */
#define ZMAGIC 2 /* Bad magic header */
#define ZUNSUP 3 /* Reserved field or compression method */
#define ZHDEOF 4 /* EOF while processing header */
#define ZATEOF 5 /* EOF while processing data */
#define ZMOULD 6 /* Invalid zip data */
#define ZNOEOF 7 /* More data to process at close */
#define ZBADSZ 8 /* Real size differs from recorded */
#define BADCRC 9 /* It is */
#define ZWRITE 10 /* Error writing zipfile */
#define ZERROR 11 /* Generic/internal error */