|
Tou
Tou header library
|
Data Structures | |
| struct | tou_block_store_struct |
| Struct containing buffer and count to be used in block-reading. More... | |
Functions | |
| void * | tou_block_store_cb (void *blockdata, void *len, void *userdata) |
Appends the given block to the buffer in tou_block_store_struct through realloc(). | |
| void * tou_block_store_cb | ( | void * | blockdata, |
| void * | len, | ||
| void * | userdata ) |
Appends the given block to the buffer in tou_block_store_struct through realloc().
Memory for '\0' at the end will be allocated, but will not be indicated in .size parameter. This function is automatically passed to tou_read_fp_in_blocks by tou_read_file, but may also be used manually for any purpose.
| [in] | blockdata | Pointer to the beginning of new data |
| [in] | len | Amount of bytes actually read |
| [in] | userdata | User data provided |