chunk_t Struct Reference


Data Fields

struct chunk_tnext
size_t datalen
size_t memlen
char * data
char mem [1]

Detailed Description

A single chunk on a buffer or in a freelist.

Field Documentation

struct chunk_t* chunk_t::next [read]

char chunk_t::mem[1]

The actual memory used for storage in this chunk. May be more than one byte long.

Referenced by assert_buf_ok(), chunk_grow(), chunk_new_with_alloc_size(), CHUNK_REMAINING_CAPACITY(), and chunk_repack().


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

Generated on Tue May 25 00:31:07 2010 for tor by  doxygen 1.5.6