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

attr Struct Reference


Detailed Description

Private attributes for the decompressing layer.


Data Fields

const struct rx_chunk_cbcb
 Layer-specific callbacks.

guint64 data_remain
 Amount of remaining chunk payload data.

gchar hex_buf [16]
 Holds the hex digits of chunk-size.

size_t hex_pos
 Current position in hex_buf.

enum chunk_state state
 Current decoding state.

gint flags
 Operating flags.

const struct rx_inflate_cbcb
 Layer-specific callbacks.

z_streamp inz
 Decompressing stream.

wrap_io_twio
 Cached wrapped IO object.

bio_source_tbio
 Bandwidth-limited I/O source.

bsched_tbs
 Scheduler to attach I/O source to.

const struct rx_link_cbcb
 Layer-specific callbacks.

gchar head [CHUNK_DIGITS+5]
 Chunk header: hexa size + 2CRLF + NUL.

ssize_t head_len
 Length of chunk header.

ssize_t head_remain
 Amount of unwritten header data.

ssize_t data_remain
 Data required to complete chunk.

gboolean first
 True for first chunk.

tx_closed_t closed
 Callback to invoke when layer closed.

gpointer closed_arg
 Argument for closing routine.

buffer buf [BUFFER_COUNT]
size_t buffer_size
 Buffer size used.

size_t buffer_flush
 Flush after that many bytes.

gint fill_idx
 Filled buffer index.

gint send_idx
 Buffer to be sent.

z_streamp outz
 Compressing stream.

txdrv_tnd
 Network driver, underneath us.

size_t unflushed
 Amount of bytes written since last flush.

cqueue_tcq
 The callout queue to use for Nagle.

gpointer tm_ev
 The timer event.

tx_deflate_cbcb
 Layer-specific callbacks.

gboolean nagle
 Whether to use Nagle or not.

struct {
   gboolean   enabled
   guint32   size
   uLong   crc
gzip
wrap_io_twio
 Cached wrapped IO object.

bio_source_tbio
 Bandwidth-limited I/O source.

tx_dgram_cbcb
 Layer-specific callbacks.

wrap_io_twio
 Cached wrapped IO object.

bio_source_tbio
 Bandwidth-limited I/O source.

tx_link_cbcb
 Layer-specific callbacks.


Field Documentation

bio_source_t* attr::bio
 

Bandwidth-limited I/O source.

bio_source_t* attr::bio
 

Bandwidth-limited I/O source.

bio_source_t* attr::bio
 

Bandwidth-limited I/O source.

bsched_t* attr::bs
 

Scheduler to attach I/O source to.

struct buffer attr::buf[BUFFER_COUNT]
 

size_t attr::buffer_flush
 

Flush after that many bytes.

size_t attr::buffer_size
 

Buffer size used.

struct tx_link_cb* attr::cb
 

Layer-specific callbacks.

struct tx_dgram_cb* attr::cb
 

Layer-specific callbacks.

struct tx_deflate_cb* attr::cb
 

Layer-specific callbacks.

const struct rx_link_cb* attr::cb
 

Layer-specific callbacks.

const struct rx_inflate_cb* attr::cb
 

Layer-specific callbacks.

const struct rx_chunk_cb* attr::cb
 

Layer-specific callbacks.

tx_closed_t attr::closed
 

Callback to invoke when layer closed.

gpointer attr::closed_arg
 

Argument for closing routine.

cqueue_t* attr::cq
 

The callout queue to use for Nagle.

uLong attr::crc
 

CRC-32 accumlator for gzip.

ssize_t attr::data_remain
 

Data required to complete chunk.

guint64 attr::data_remain
 

Amount of remaining chunk payload data.

gboolean attr::enabled
 

Whether to use gzip encapsulation.

gint attr::fill_idx
 

Filled buffer index.

gboolean attr::first
 

True for first chunk.

gint attr::flags
 

Operating flags.

struct { ... } attr::gzip
 

gchar attr::head[CHUNK_DIGITS+5]
 

Chunk header: hexa size + 2CRLF + NUL.

ssize_t attr::head_len
 

Length of chunk header.

ssize_t attr::head_remain
 

Amount of unwritten header data.

gchar attr::hex_buf[16]
 

Holds the hex digits of chunk-size.

size_t attr::hex_pos
 

Current position in hex_buf.

z_streamp attr::inz
 

Decompressing stream.

gboolean attr::nagle
 

Whether to use Nagle or not.

txdrv_t* attr::nd
 

Network driver, underneath us.

z_streamp attr::outz
 

Compressing stream.

gint attr::send_idx
 

Buffer to be sent.

guint32 attr::size
 

Payload size counter for gzip.

enum chunk_state attr::state
 

Current decoding state.

gpointer attr::tm_ev
 

The timer event.

size_t attr::unflushed
 

Amount of bytes written since last flush.

wrap_io_t* attr::wio
 

Cached wrapped IO object.

wrap_io_t* attr::wio
 

Cached wrapped IO object.

wrap_io_t* attr::wio
 

Cached wrapped IO object.


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