Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

ldns_struct_buffer Struct Reference

LDNS implementation of buffers to ease operations. More...


Data Fields

size_t _position
 The current position used for reading/writing.
size_t _limit
 The read/write limit.
size_t _capacity
 The amount of data the buffer can contain.
uint8_t * _data
 The data contained in the buffer.
unsigned _fixed: 1
 If the buffer is fixed it cannot be resized.
ldns_status _status
 The current state of the buffer.


Detailed Description

LDNS implementation of buffers to ease operations.

Definition at line 34 of file buffer.h.


Field Documentation

size_t ldns_struct_buffer::_capacity
 

The amount of data the buffer can contain.

Definition at line 43 of file buffer.h.

uint8_t* ldns_struct_buffer::_data
 

The data contained in the buffer.

Definition at line 46 of file buffer.h.

unsigned ldns_struct_buffer::_fixed
 

If the buffer is fixed it cannot be resized.

Definition at line 49 of file buffer.h.

size_t ldns_struct_buffer::_limit
 

The read/write limit.

Definition at line 40 of file buffer.h.

size_t ldns_struct_buffer::_position
 

The current position used for reading/writing.

Definition at line 37 of file buffer.h.

ldns_status ldns_struct_buffer::_status
 

The current state of the buffer.

Definition at line 52 of file buffer.h.


Generated on Wed Jan 25 08:47:01 2006 for ldns by  doxygen 1.3.9.1