home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 115 / af115sub.adf / TransADF.lzx / TransADF / Source / gzip.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-07-05  |  1.3 KB  |  46 lines

  1. /* gzip.h - Header file for gzip.c
  2. ** Copyright (C) 1997,1998 Karl J. Ots
  3. ** 
  4. ** This program is free software; you can redistribute it and/or modify
  5. ** it under the terms of the GNU General Public License as published by
  6. ** the Free Software Foundation; either version 2 of the License, or
  7. ** (at your option) any later version.
  8. ** 
  9. ** This program is distributed in the hope that it will be useful,
  10. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ** GNU General Public License for more details.
  13. ** 
  14. ** You should have received a copy of the GNU General Public License
  15. ** along with this program; if not, write to the Free Software
  16. ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  17. */
  18.  
  19. #ifndef TRANSADF_GZIP_H
  20. #define TRANSADF_GZIP_H
  21.  
  22. /*--------------------*/
  23. /* GZip file routines */
  24. /*--------------------*/
  25.  
  26. #ifndef EXEC_TYPES_H
  27. #include <exec/types.h>
  28. #endif /* EXEC_TYPES_H */
  29.  
  30. #ifndef DOS_DOS_H
  31. #include <dos/dos.h>
  32. #endif /* DOS_DOS_H */
  33.  
  34.  
  35. /*---------------------*/
  36. /* Function prototypes */
  37. /*---------------------*/
  38.  
  39. BOOL   writeGZHead  (BPTR outFile, STRPTR origName);
  40. BOOL   finishGZFile (BPTR outFile, ULONG CRC, ULONG USize);
  41. BOOL   skipGZHead   (BPTR inFile);
  42. BOOL   readGZTail   (BPTR inFile, ULONG *CRC, ULONG *USize);
  43.  
  44.  
  45. #endif /* TRANSADF_GZIP_H */
  46.