XmlBlasterZlibReadBuffers Struct Reference

Helper struct to uncompress a byte buffer coming from the socket connection. More...

#include <xmlBlasterZlib.h>


Data Fields

int debug
 0: no debugging, 1: switch on debugging
z_stream c_stream
 zlib compression stream structure
Bytef compBuffer [20000]
 buffer to hold temporary the incoming compressed bytes
Bytef * currCompBufferP
 Pointer into compBuffer, points on current start position.
uInt currCompBytes
 Number of compressed bytes in compBuffer, starting at currCompBufferP.


Detailed Description

Helper struct to uncompress a byte buffer coming from the socket connection.

We need exactly one instance of this for each socket and the access must be synchronized to be thread safe.

Different instances of this struct are thread safe.

Definition at line 53 of file xmlBlasterZlib.h.


Field Documentation

int XmlBlasterZlibReadBuffers::debug

0: no debugging, 1: switch on debugging

Definition at line 54 of file xmlBlasterZlib.h.

Referenced by initConnection(), xmlBlaster_initZlibReader(), and xmlBlaster_readnCompressed().

z_stream XmlBlasterZlibReadBuffers::c_stream

zlib compression stream structure

Definition at line 56 of file xmlBlasterZlib.h.

Referenced by dumpZlib(), xmlBlaster_endZlibReader(), xmlBlaster_initZlibReader(), and xmlBlaster_readnCompressed().

Bytef XmlBlasterZlibReadBuffers::compBuffer[20000]

buffer to hold temporary the incoming compressed bytes

Definition at line 57 of file xmlBlasterZlib.h.

Referenced by dumpZlib(), xmlBlaster_initZlibReader(), and xmlBlaster_readnCompressed().

Bytef* XmlBlasterZlibReadBuffers::currCompBufferP

Pointer into compBuffer, points on current start position.

Definition at line 58 of file xmlBlasterZlib.h.

Referenced by dumpZlib(), xmlBlaster_initZlibReader(), and xmlBlaster_readnCompressed().

uInt XmlBlasterZlibReadBuffers::currCompBytes

Number of compressed bytes in compBuffer, starting at currCompBufferP.

Definition at line 59 of file xmlBlasterZlib.h.

Referenced by dumpZlib(), xmlBlaster_initZlibReader(), and xmlBlaster_readnCompressed().


The documentation for this struct was generated from the following file: