Home Download Musics Developers
API Sources Tools File Format Technicals

istream68_z.h File Reference


Detailed Description

Z stream header.

Author:
benjamin gerard
Date:
2003/10/06
Id
istream68_z.h,v 1.2 2003/10/10 10:25:11 benjihan Exp

#include "file68/istream68.h"

Go to the source code of this file.

Data Structures

struct  istream_z_option_t
 gzip options. More...


Z stream

Implements istream_t for Z library.

Z is a famous compression/decompression library. For more informations see gzip website.

Todo:
deflate (compression) mode.


istream_tistream_z_create (istream_t *is, int mode, const istream_z_option_t opt)
 Create a Z stream.

const istream_z_option_t istream_z_default_option
 Default gzip option.


Function Documentation

istream_t* istream_z_create istream_t is,
int  mode,
const istream_z_option_t  opt
 

Create a Z stream.

Parameters:
is Stream to compress/decompress.
mode bit-0: read access, bit-1: write access.
opt gzip options.
Returns:
stream
Return values:
0 on error