#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | buffer |
Macros | |
#define | BUFFER_INIT (struct buffer) { NULL, 0, 0 } |
Functions | |
void | buffer_free (struct buffer *b) |
int | buffer_reserve (struct buffer *b, size_t reserved_amount) |
int | buffer_append (struct buffer *b, const void *data, size_t n) |
int buffer_append | ( | struct buffer * | b, |
const void * | data, | ||
size_t | n | ||
) |
void buffer_free | ( | struct buffer * | b | ) |
int buffer_reserve | ( | struct buffer * | b, |
size_t | reserved_amount | ||
) |