Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

bz2stream.hpp File Reference

Go to the source code of this file.

Compounds

class  bz2inbuf
 A stream buffer reading from another stream buffer and decompressing the read data using the bz2 algorithm. More...

class  bz2istream
 An input stream decompressing data compressed with the bz2 algorithm. More...

class  bz2ostream
 An output stream compressing all data with the bz2 algorithm. More...

class  bz2outbuf
 A stream buffer which takes any form of input, compresses it using the bz2 algorithm and writes it to another stream buffer. More...


Typedefs

typedef void *(* bzalloc_ptr )(void *opaque, int n, int m)
 A pointer to a custom memory allocation function, to be used by libbzip2.

typedef void(* bzfree_ptr )(void *opaque, void *p)
 A pointer to a custom memory deallocation function, to be used by libbzip2.


Detailed Description

This file declares and defines all of the bz2stream class set. It is currently the only source code file.


Typedef Documentation

typedef void*(* bzalloc_ptr)(void* opaque, int n, int m)
 

A pointer to a custom memory allocation function, to be used by libbzip2.

The opaque pointer specified in the class constructor is passed as first parameter. The function is expected to return a pointer to n * m bytes of memory. Notice that this function should be declared as 'extern "C"'.

typedef void(* bzfree_ptr)(void* opaque, void* p)
 

A pointer to a custom memory deallocation function, to be used by libbzip2.

The opaque pointer specified in the class constructor is passed as first parameter. The function is expected to free the memory pointed to by p. Notice that this function should be declared as 'extern "C"'.


Generated on Sat Jul 6 15:18:45 2002 for bz2stream by doxygen1.2.16