Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

ggep_stream Struct Reference

#include <ggep.h>


Detailed Description

Structure keeping track of incremental GGEP writes.


Data Fields

enum ggep_magic magic
 Magic number.

gchar * outbuf
 Base address of output buffer.

gchar * end
 First address beyond output buffer.

gchar * o
 Where next output should go.

gchar * fp
 Where flags for current extension are.

gchar * lp
 Where length should be written when known.

gchar * last_fp
 Flags of last successfully written ext.

size_t size
 Size of the outbuf buffer.

guint8 flags
 Extension flags (COBS / DEFLATE).

gboolean magic_emitted
 Whether leading magic was emitted.

gboolean begun
 Whether extension was correctly begun.

cobs_stream_t cs
 Used if COBS needed.

zlib_deflater_tzd
 Allocated and used if deflation needed.


Field Documentation

gboolean ggep_stream::begun
 

Whether extension was correctly begun.

cobs_stream_t ggep_stream::cs
 

Used if COBS needed.

gchar* ggep_stream::end
 

First address beyond output buffer.

guint8 ggep_stream::flags
 

Extension flags (COBS / DEFLATE).

gchar* ggep_stream::fp
 

Where flags for current extension are.

gchar* ggep_stream::last_fp
 

Flags of last successfully written ext.

gchar* ggep_stream::lp
 

Where length should be written when known.

enum ggep_magic ggep_stream::magic
 

Magic number.

gboolean ggep_stream::magic_emitted
 

Whether leading magic was emitted.

gchar* ggep_stream::o
 

Where next output should go.

gchar* ggep_stream::outbuf
 

Base address of output buffer.

size_t ggep_stream::size
 

Size of the outbuf buffer.

zlib_deflater_t* ggep_stream::zd
 

Allocated and used if deflation needed.


The documentation for this struct was generated from the following file:
Generated on Sun Feb 12 10:50:11 2006 for Gtk-Gnutella by doxygen 1.3.6