Libtrap: Internal development docs
0.11.7
|
#include <trap_buffer.h>
Data Fields | |
char * | write_data |
char * | read_data |
uint16_t | refcount |
pthread_mutex_t | lock |
struct tb_block_data_s | data [0] |
Definition at line 73 of file trap_buffer.h.
struct tb_block_data_s tb_block_s::data[0] |
Pointer to data in the block (to the header of the first message)
Definition at line 97 of file trap_buffer.h.
pthread_mutex_t tb_block_s::lock |
Lock the block
Definition at line 92 of file trap_buffer.h.
char* tb_block_s::read_data |
Pointer to the space for adding new data (to the header of message)
Definition at line 82 of file trap_buffer.h.
uint16_t tb_block_s::refcount |
Reference counter with non-zero value means that the block is used and cannot be freed.
Definition at line 87 of file trap_buffer.h.
char* tb_block_s::write_data |
Pointer to the space for adding new data (to the header of message)
Definition at line 77 of file trap_buffer.h.