1/* 2 Copyright (c) 1990-1999 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 1999-Oct-05 or later 5 (the contents of which are also included in zip.h) for terms of use. 6 If, for some reason, both of these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html 8*/ 9#ifndef _ZIPUP_H_ 10#define _ZIPUP_H_ 11 12#ifndef O_RDONLY 13# include <sys/fcntl.h> 14#endif 15#define fhow O_RDONLY 16#define fbad (-1) 17typedef int ftype; 18#define zopen(n,p) open(n,p) 19#define zread(f,b,n) read(f,b,n) 20#define zclose(f) close(f) 21#define zerr(f) (k == (extent)(-1L)) 22#define zstdin 0 23 24#endif /* _ZIPUP_H_ */ 25