#include <stdlib.h>
#include "aux_tools.h"
Functions | |
TSK_DATA_BUF * | tsk_data_buf_alloc (size_t size) |
Allocate and initialize a tsk_data_buf structure. | |
void | tsk_data_buf_free (TSK_DATA_BUF *buf) |
Free the tsk_data_buf and its buffers. |
TSK_DATA_BUF* tsk_data_buf_alloc | ( | size_t | size | ) |
Allocate and initialize a tsk_data_buf structure.
size | Size in bytes to allocated for the buffer |
void tsk_data_buf_free | ( | TSK_DATA_BUF * | buf | ) |
Free the tsk_data_buf and its buffers.
buf | The structure to free. |