µracoli Manual
Version foo
|
Data Structures | |
struct | buffer_t |
uint8_t buffer_append_block | ( | buffer_t * | b, |
void * | pdata, | ||
uint8_t | size | ||
) |
append a data block at the end of a buffer
int buffer_append_char | ( | buffer_t * | b, |
uint8_t | c | ||
) |
append a char at the end of a buffer
uint8_t buffer_get_block | ( | buffer_t * | b, |
void * | pdata, | ||
uint8_t | size | ||
) |
read a datablock from the start of a buffer
int buffer_get_char | ( | buffer_t * | b | ) |
read a char from the start of a buffer
buffer_t* buffer_init | ( | void * | pmem, |
uint8_t | size, | ||
uint8_t | start | ||
) |
format a chunk of memory as buffer_t structure
uint8_t buffer_prepend_block | ( | buffer_t * | b, |
void * | pdata, | ||
uint8_t | size | ||
) |
prepend a data block at the start of a buffer
int buffer_prepend_char | ( | buffer_t * | b, |
int | c | ||
) |
prepend a char at the start of a buffer
struct buffer_t |
buffer structure, which supports appending and prepending of data as well as chaining other buffers.