Edit

kc3-lang/zlib/as400/bndsrc

Branch :

  • Browse

    Commit

  • Author : Mark Adler
    Date : 2011-10-07 23:00:42
    Hash : 77b47d55
    Message : Add undocumented inflateResetKeep() function for CAB file decoding. The Microsoft CAB file format compresses each block with completed deflate streams that depend on the sliding window history of the previous block in order to decode. inflateResetKeep() does what inflateReset() does, except the sliding window history from the previous inflate operation is retained.

  • as400/bndsrc
  • STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
    
    /*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
    /*   Version 1.1.3 entry points.                                    */
    /*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
    
    /********************************************************************/
    /*   *MODULE      ADLER32      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("adler32")
    
    /********************************************************************/
    /*   *MODULE      COMPRESS     ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("compress")
      EXPORT SYMBOL("compress2")
    
    /********************************************************************/
    /*   *MODULE      CRC32        ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("crc32")
      EXPORT SYMBOL("get_crc_table")
    
    /********************************************************************/
    /*   *MODULE      DEFLATE      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("deflate")
      EXPORT SYMBOL("deflateEnd")
      EXPORT SYMBOL("deflateSetDictionary")
      EXPORT SYMBOL("deflateCopy")
      EXPORT SYMBOL("deflateReset")
      EXPORT SYMBOL("deflateParams")
      EXPORT SYMBOL("deflatePending")
      EXPORT SYMBOL("deflatePrime")
      EXPORT SYMBOL("deflateInit_")
      EXPORT SYMBOL("deflateInit2_")
    
    /********************************************************************/
    /*   *MODULE      GZIO         ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("gzopen")
      EXPORT SYMBOL("gzdopen")
      EXPORT SYMBOL("gzsetparams")
      EXPORT SYMBOL("gzread")
      EXPORT SYMBOL("gzwrite")
      EXPORT SYMBOL("gzprintf")
      EXPORT SYMBOL("gzputs")
      EXPORT SYMBOL("gzgets")
      EXPORT SYMBOL("gzputc")
      EXPORT SYMBOL("gzflush")
      EXPORT SYMBOL("gzseek")
      EXPORT SYMBOL("gzrewind")
      EXPORT SYMBOL("gztell")
      EXPORT SYMBOL("gzeof")
      EXPORT SYMBOL("gzclose")
      EXPORT SYMBOL("gzerror")
    
    /********************************************************************/
    /*   *MODULE      INFLATE      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("inflate")
      EXPORT SYMBOL("inflateEnd")
      EXPORT SYMBOL("inflateSetDictionary")
      EXPORT SYMBOL("inflateSync")
      EXPORT SYMBOL("inflateReset")
      EXPORT SYMBOL("inflateInit_")
      EXPORT SYMBOL("inflateInit2_")
      EXPORT SYMBOL("inflateSyncPoint")
    
    /********************************************************************/
    /*   *MODULE      UNCOMPR      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("uncompress")
    
    /********************************************************************/
    /*   *MODULE      ZUTIL        ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("zlibVersion")
      EXPORT SYMBOL("zError")
    
    /*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
    /*   Version 1.2.1 additional entry points.                         */
    /*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
    
    /********************************************************************/
    /*   *MODULE      COMPRESS     ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("compressBound")
    
    /********************************************************************/
    /*   *MODULE      DEFLATE      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("deflateBound")
    
    /********************************************************************/
    /*   *MODULE      GZIO         ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("gzungetc")
      EXPORT SYMBOL("gzclearerr")
    
    /********************************************************************/
    /*   *MODULE      INFBACK      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("inflateBack")
      EXPORT SYMBOL("inflateBackEnd")
      EXPORT SYMBOL("inflateBackInit_")
    
    /********************************************************************/
    /*   *MODULE      INFLATE      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("inflateCopy")
    
    /********************************************************************/
    /*   *MODULE      ZUTIL        ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("zlibCompileFlags")
    
    /*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
    /*   Version 1.2.5 additional entry points.                         */
    /*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
    
    /********************************************************************/
    /*   *MODULE      ADLER32      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("adler32_combine")
      EXPORT SYMBOL("adler32_combine64")
    
    /********************************************************************/
    /*   *MODULE      CRC32        ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("crc32_combine")
      EXPORT SYMBOL("crc32_combine64")
    
    /********************************************************************/
    /*   *MODULE      GZLIB        ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("gzbuffer")
      EXPORT SYMBOL("gzoffset")
      EXPORT SYMBOL("gzoffset64")
      EXPORT SYMBOL("gzopen64")
      EXPORT SYMBOL("gzseek64")
      EXPORT SYMBOL("gztell64")
    
    /********************************************************************/
    /*   *MODULE      GZREAD       ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("gzclose_r")
    
    /********************************************************************/
    /*   *MODULE      GZWRITE      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("gzclose_w")
      EXPORT SYMBOL("gzgetc_")
      EXPORT SYMBOL("gzflags")
    
    /********************************************************************/
    /*   *MODULE      INFLATE      ZLIB         01/02/01  00:15:09      */
    /********************************************************************/
    
      EXPORT SYMBOL("inflateMark")
      EXPORT SYMBOL("inflatePrime")
      EXPORT SYMBOL("inflateReset2")
      EXPORT SYMBOL("inflateUndermine")
      EXPORT SYMBOL("inflateResetKeep")
    
    ENDPGMEXP