|
|
Paraslash Audio Streaming |
| About News Download Documentation Development |
Data Fields | |
| char * | buf |
| size_t | size |
| size_t | max_size |
| unsigned | flags |
| size_t | offset |
| int(* | max_size_handler )(char *buf, size_t size, void *private_data) |
| void * | private_data |
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().