paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
para_buffer Struct Reference

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
 

Field Documentation

◆ buf

char* buf

The buffer.

May be NULL.

Referenced by para_printf().

◆ size

size_t size

The size of buf.

Referenced by para_printf().

◆ max_size

size_t max_size

The maximal size this buffer may grow.

Zero means unlimited.

◆ flags

unsigned flags

◆ offset

size_t offset

The next para_printf() will write at this offset.

Referenced by para_printf().

◆ max_size_handler

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.

◆ private_data

void* private_data

Passed to max_size_handler().


The documentation for this struct was generated from the following file: