w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

bzlib.h File Reference
#include <stdio.h>
Include dependency graph for bzlib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bz_stream
 

Macros

#define BZ_RUN   0
 
#define BZ_FLUSH   1
 
#define BZ_FINISH   2
 
#define BZ_OK   0
 
#define BZ_RUN_OK   1
 
#define BZ_FLUSH_OK   2
 
#define BZ_FINISH_OK   3
 
#define BZ_STREAM_END   4
 
#define BZ_SEQUENCE_ERROR   (-1)
 
#define BZ_PARAM_ERROR   (-2)
 
#define BZ_MEM_ERROR   (-3)
 
#define BZ_DATA_ERROR   (-4)
 
#define BZ_DATA_ERROR_MAGIC   (-5)
 
#define BZ_IO_ERROR   (-6)
 
#define BZ_UNEXPECTED_EOF   (-7)
 
#define BZ_OUTBUFF_FULL   (-8)
 
#define BZ_CONFIG_ERROR   (-9)
 
#define BZ_EXPORT
 
#define BZ_API(func)   func
 
#define BZ_EXTERN   extern
 
#define BZ_MAX_UNUSED   5000
 

Typedefs

typedef void BZFILE
 

Functions

int BZ2_bzCompressInit (bz_stream *strm, int blockSize100k, int verbosity, int workFactor)
 
int BZ2_bzCompress (bz_stream *strm, int action)
 
int BZ2_bzCompressEnd (bz_stream *strm)
 
int BZ2_bzDecompressInit (bz_stream *strm, int verbosity, int small)
 
int BZ2_bzDecompress (bz_stream *strm)
 
int BZ2_bzDecompressEnd (bz_stream *strm)
 
BZFILEBZ2_bzReadOpen (int *bzerror, FILE *f, int verbosity, int small, void *unused, int nUnused)
 
void BZ2_bzReadClose (int *bzerror, BZFILE *b)
 
void BZ2_bzReadGetUnused (int *bzerror, BZFILE *b, void **unused, int *nUnused)
 
int BZ2_bzRead (int *bzerror, BZFILE *b, void *buf, int len)
 
BZFILEBZ2_bzWriteOpen (int *bzerror, FILE *f, int blockSize100k, int verbosity, int workFactor)
 
void BZ2_bzWrite (int *bzerror, BZFILE *b, void *buf, int len)
 
void BZ2_bzWriteClose (int *bzerror, BZFILE *b, int abandon, unsigned int *nbytes_in, unsigned int *nbytes_out)
 
void BZ2_bzWriteClose64 (int *bzerror, BZFILE *b, int abandon, unsigned int *nbytes_in_lo32, unsigned int *nbytes_in_hi32, unsigned int *nbytes_out_lo32, unsigned int *nbytes_out_hi32)
 
int BZ2_bzBuffToBuffCompress (char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int blockSize100k, int verbosity, int workFactor)
 
int BZ2_bzBuffToBuffDecompress (char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int small, int verbosity)
 
const char * BZ2_bzlibVersion (void)
 
BZFILEBZ2_bzopen (const char *path, const char *mode)
 
BZFILEBZ2_bzdopen (int fd, const char *mode)
 
int BZ2_bzread (BZFILE *b, void *buf, int len)
 
int BZ2_bzwrite (BZFILE *b, void *buf, int len)
 
int BZ2_bzflush (BZFILE *b)
 
void BZ2_bzclose (BZFILE *b)
 
const char * BZ2_bzerror (BZFILE *b, int *errnum)
 

Macro Definition Documentation

◆ BZ_API

#define BZ_API (   func)    func

Definition at line 93 of file bzlib.h.

◆ BZ_CONFIG_ERROR

#define BZ_CONFIG_ERROR   (-9)

Definition at line 46 of file bzlib.h.

◆ BZ_DATA_ERROR

#define BZ_DATA_ERROR   (-4)

Definition at line 41 of file bzlib.h.

◆ BZ_DATA_ERROR_MAGIC

#define BZ_DATA_ERROR_MAGIC   (-5)

Definition at line 42 of file bzlib.h.

◆ BZ_EXPORT

#define BZ_EXPORT

Definition at line 70 of file bzlib.h.

◆ BZ_EXTERN

#define BZ_EXTERN   extern

Definition at line 94 of file bzlib.h.

◆ BZ_FINISH

#define BZ_FINISH   2

Definition at line 31 of file bzlib.h.

◆ BZ_FINISH_OK

#define BZ_FINISH_OK   3

Definition at line 36 of file bzlib.h.

◆ BZ_FLUSH

#define BZ_FLUSH   1

Definition at line 30 of file bzlib.h.

◆ BZ_FLUSH_OK

#define BZ_FLUSH_OK   2

Definition at line 35 of file bzlib.h.

◆ BZ_IO_ERROR

#define BZ_IO_ERROR   (-6)

Definition at line 43 of file bzlib.h.

◆ BZ_MAX_UNUSED

#define BZ_MAX_UNUSED   5000

Definition at line 135 of file bzlib.h.

◆ BZ_MEM_ERROR

#define BZ_MEM_ERROR   (-3)

Definition at line 40 of file bzlib.h.

◆ BZ_OK

#define BZ_OK   0

Definition at line 33 of file bzlib.h.

◆ BZ_OUTBUFF_FULL

#define BZ_OUTBUFF_FULL   (-8)

Definition at line 45 of file bzlib.h.

◆ BZ_PARAM_ERROR

#define BZ_PARAM_ERROR   (-2)

Definition at line 39 of file bzlib.h.

◆ BZ_RUN

#define BZ_RUN   0

Definition at line 29 of file bzlib.h.

◆ BZ_RUN_OK

#define BZ_RUN_OK   1

Definition at line 34 of file bzlib.h.

◆ BZ_SEQUENCE_ERROR

#define BZ_SEQUENCE_ERROR   (-1)

Definition at line 38 of file bzlib.h.

◆ BZ_STREAM_END

#define BZ_STREAM_END   4

Definition at line 37 of file bzlib.h.

◆ BZ_UNEXPECTED_EOF

#define BZ_UNEXPECTED_EOF   (-7)

Definition at line 44 of file bzlib.h.

Typedef Documentation

◆ BZFILE

typedef void BZFILE

Definition at line 137 of file bzlib.h.

Function Documentation

◆ BZ2_bzBuffToBuffCompress()

int BZ2_bzBuffToBuffCompress ( char *  dest,
unsigned int destLen,
char *  source,
unsigned int  sourceLen,
int  blockSize100k,
int  verbosity,
int  workFactor 
)

Definition at line 1247 of file bzlib.c.

◆ BZ2_bzBuffToBuffDecompress()

int BZ2_bzBuffToBuffDecompress ( char *  dest,
unsigned int destLen,
char *  source,
unsigned int  sourceLen,
int  small,
int  verbosity 
)

Definition at line 1299 of file bzlib.c.

◆ BZ2_bzclose()

void BZ2_bzclose ( BZFILE b)

Definition at line 1514 of file bzlib.c.

◆ BZ2_bzCompress()

int BZ2_bzCompress ( bz_stream strm,
int  action 
)

Definition at line 407 of file bzlib.c.

◆ BZ2_bzCompressEnd()

int BZ2_bzCompressEnd ( bz_stream strm)

Definition at line 468 of file bzlib.c.

◆ BZ2_bzCompressInit()

int BZ2_bzCompressInit ( bz_stream strm,
int  blockSize100k,
int  verbosity,
int  workFactor 
)

Definition at line 148 of file bzlib.c.

◆ BZ2_bzDecompress()

int BZ2_bzDecompress ( bz_stream strm)

Definition at line 808 of file bzlib.c.

◆ BZ2_bzDecompressEnd()

int BZ2_bzDecompressEnd ( bz_stream strm)

Definition at line 862 of file bzlib.c.

◆ BZ2_bzDecompressInit()

int BZ2_bzDecompressInit ( bz_stream strm,
int  verbosity,
int  small 
)

Definition at line 492 of file bzlib.c.

◆ BZ2_bzdopen()

BZFILE* BZ2_bzdopen ( int  fd,
const char *  mode 
)

Definition at line 1469 of file bzlib.c.

◆ BZ2_bzerror()

const char* BZ2_bzerror ( BZFILE b,
int errnum 
)

Definition at line 1559 of file bzlib.c.

◆ BZ2_bzflush()

int BZ2_bzflush ( BZFILE b)

Definition at line 1506 of file bzlib.c.

◆ BZ2_bzlibVersion()

const char* BZ2_bzlibVersion ( void  )

Definition at line 1366 of file bzlib.c.

◆ BZ2_bzopen()

BZFILE* BZ2_bzopen ( const char *  path,
const char *  mode 
)

Definition at line 1460 of file bzlib.c.

◆ BZ2_bzread()

int BZ2_bzread ( BZFILE b,
void buf,
int  len 
)

Definition at line 1478 of file bzlib.c.

◆ BZ2_bzRead()

int BZ2_bzRead ( int bzerror,
BZFILE b,
void buf,
int  len 
)

Definition at line 1161 of file bzlib.c.

◆ BZ2_bzReadClose()

void BZ2_bzReadClose ( int bzerror,
BZFILE b 
)

Definition at line 1143 of file bzlib.c.

◆ BZ2_bzReadGetUnused()

void BZ2_bzReadGetUnused ( int bzerror,
BZFILE b,
void **  unused,
int nUnused 
)

Definition at line 1221 of file bzlib.c.

◆ BZ2_bzReadOpen()

BZFILE* BZ2_bzReadOpen ( int bzerror,
FILE f,
int  verbosity,
int  small,
void unused,
int  nUnused 
)

Definition at line 1087 of file bzlib.c.

◆ BZ2_bzwrite()

int BZ2_bzwrite ( BZFILE b,
void buf,
int  len 
)

Definition at line 1492 of file bzlib.c.

◆ BZ2_bzWrite()

void BZ2_bzWrite ( int bzerror,
BZFILE b,
void buf,
int  len 
)

Definition at line 964 of file bzlib.c.

◆ BZ2_bzWriteClose()

void BZ2_bzWriteClose ( int bzerror,
BZFILE b,
int  abandon,
unsigned int nbytes_in,
unsigned int nbytes_out 
)

Definition at line 1009 of file bzlib.c.

◆ BZ2_bzWriteClose64()

void BZ2_bzWriteClose64 ( int bzerror,
BZFILE b,
int  abandon,
unsigned int nbytes_in_lo32,
unsigned int nbytes_in_hi32,
unsigned int nbytes_out_lo32,
unsigned int nbytes_out_hi32 
)

Definition at line 1021 of file bzlib.c.

◆ BZ2_bzWriteOpen()

BZFILE* BZ2_bzWriteOpen ( int bzerror,
FILE f,
int  blockSize100k,
int  verbosity,
int  workFactor 
)

Definition at line 916 of file bzlib.c.