home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip22.zip / amiga / zipup.h < prev   
C/C++ Source or Header  |  1996-12-14  |  774b  |  29 lines

  1. /*
  2.  
  3.  Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly,
  4.  Kai Uwe Rommel, Onno van der Linden, Igor Mandrichenko, Paul Kienitz and
  5.  John Bush.
  6.  Permission is granted to any individual or institution to use, copy, or
  7.  redistribute this software so long as all of the original files are included,
  8.  that it is not sold for profit, and that this copyright notice is retained.
  9.  
  10. */
  11.  
  12. #ifndef __amiga_zipup_h
  13. #define __amiga_zipup_h
  14.  
  15. #ifndef O_RAW
  16. #  define O_RAW      0
  17. #endif
  18. #define fhow         (O_RDONLY | O_RAW)
  19. #define fbad         (-1)
  20. typedef int          ftype;
  21. #define zopen(n,p)   open(n,p)
  22. #define zread(f,b,n) read(f,b,n)
  23. #define zclose(f)    close(f)
  24. #define zerr(f)      (k == (extent)(-1L))
  25. #define zstdin       0
  26.  
  27. #endif /* __amiga_zipup_h */
  28.  
  29.