1 #ifndef CLIB_BZ2_PROTOS_H
    2 #define CLIB_BZ2_PROTOS_H
    3 
    4 /*
    5  *  bz2.library
    6  *
    7  *  Copyright © 2016 he MorphOS Development Team. All rights reserved.
    8  *
    9  *  $Id: bz2_protos.h,v 1.4 2016/04/12 23:05:57 piru Exp $
   10  */
   11 
   12 #ifndef LIBRARIES_BZ2_H
   13 # include <libraries/bz2.h>
   14 #endif
   15 
   16 #ifdef __cplusplus
   17 extern "C" {
   18 #endif
   19 
   20 const char * BZ2_bzlibVersion (void);
   21 int      BZ2_bzCompressInit   (bz_stream *strm, int blockSize100k, int verbosity, int workFactor);
   22 int      BZ2_bzCompress       (bz_stream *strm, int action );
   23 int      BZ2_bzCompressEnd    (bz_stream *strm);
   24 int      BZ2_bzDecompressInit (bz_stream *strm, int verbosity, int small);
   25 int      BZ2_bzDecompress     (bz_stream *strm);
   26 int      BZ2_bzDecompressEnd  (bz_stream *strm);
   27 int      BZ2_bzBuffToBuffCompress   (char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int blockSize100k, int verbosity, int workFactor);
   28 int      BZ2_bzBuffToBuffDecompress (char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int small, int verbosity);
   29 
   30 #ifdef __cplusplus
   31 }
   32 #endif
   33 
   34 #endif /* CLIB_BZ2_PROTOS_H */