Paraslash Audio Streaming | |
About News Download Documentation Development |
A string buffer used for para_printf(). More...
#include <string.h>
Data Fields | |
char * | buf |
The buffer. More... | |
size_t | size |
The size of buf. More... | |
size_t | max_size |
The maximal size this buffer may grow. More... | |
unsigned | flags |
size_t | offset |
The next para_printf() will write at this offset. More... | |
int(* | max_size_handler )(char *buf, size_t size, void *private_data) |
If an attempt to print into this buffer is made that would need to grow buf to a size larger than max_size, then this function is called. More... | |
void * | private_data |
Passed to max_size_handler(). More... | |
A string buffer used for para_printf().
char* buf |
size_t size |
The size of buf.
Referenced by para_printf().
size_t max_size |
The maximal size this buffer may grow.
Zero means unlimited.
unsigned flags |
Referenced by para_printf(), and stat_client_write_item().
size_t offset |
The next para_printf() will write at this offset.
Referenced by para_printf().
int(* max_size_handler) (char *buf, size_t size, void *private_data) |
If an attempt to print into this buffer is made that would need to grow buf to a size larger than max_size, then this function is called.
void* private_data |
Passed to max_size_handler().