dk_of_cell_t Struct Reference

Output filter cell. More...

#include <dktypes.h>


Data Fields

int what
 Type of cell.
union {
   struct {
      char *   buffer
 Pointer to buffer.
      size_t   lgt
 Size of buffer.
      size_t   used
 Number of bytes used in buffer.
   }   b
 Details for buffered output.
   struct {
      unsigned long   a85val
 Current numeric value.
      size_t   used
 Number of bytes stored in current value.
      size_t   linepos
 Position in output line.
      size_t   maxlinepos
 Maximum output line length.
      int   fl
 Flag: 1=append finalizer.
   }   a85
 Details for ASCII-85-encoding.
   struct {
      size_t   linepos
 Position in output line.
      size_t   maxlinepos
 Maximum output line length.
      int   fl
 Flag: 1=append finalizer.
   }   ah
 Details for ASCII-Hex-encoding.
   struct {
      char *   buffer
 Output buffer.
      char   lc
 Previous character.
      size_t   used
 Characters in buffer.
      int   st
 Current run-length compression state.
   }   rl
 Details for run-length compression.
   struct {
      z_stream *   zs
 GZIP output struct.
      Bytef *   ibuffer
 Buffer to pass data to GZIP.
      uLong   i_length
 Buffer length.
      Bytef *   obuffer
 Buffer to get data from GZIP.
      uLong   o_length
 Buffer length.
      uLong   used
 Number of bytes used.
      int   stillok
 Flag: can continue.
   }   flate
 Details for flate compression.
c
 Cell details.


Detailed Description

Output filter cell.

Several cells can be combined.


Field Documentation

Type of cell.

Pointer to buffer.

Output buffer.

Size of buffer.

Number of bytes used in buffer.

Characters in buffer.

Number of bytes stored in current value.

struct { ... } dk_of_cell_t::b

Details for buffered output.

unsigned long dk_of_cell_t::a85val

Current numeric value.

Position in output line.

Maximum output line length.

Flag: 1=append finalizer.

Flag: 1=append finalizer.

struct { ... } dk_of_cell_t::a85

Details for ASCII-85-encoding.

struct { ... } dk_of_cell_t::ah

Details for ASCII-Hex-encoding.

Previous character.

Current run-length compression state.

struct { ... } dk_of_cell_t::rl

Details for run-length compression.

z_stream* dk_of_cell_t::zs

GZIP output struct.

Buffer to pass data to GZIP.

Buffer length.

Buffer to get data from GZIP.

Buffer length.

Number of bytes used.

Flag: can continue.

struct { ... } dk_of_cell_t::flate

Details for flate compression.

union { ... } dk_of_cell_t::c

Cell details.


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

Generated on Mon Feb 16 17:12:05 2009 for dklibs by  doxygen 1.5.6