Go to the source code of this file.
Typedefs | |
typedef int | buffer_position |
typedef struct buffer * | buffer_t |
Functions | |
int | buffer_free (buffer_t buffer) |
char * | buffer_get_buffer (buffer_t buffer) |
buffer_position | buffer_get_position (buffer_t buffer) |
buffer_t | buffer_new (void) |
buffer_position | buffer_save_space (buffer_t buffer, int size) |
int | buffer_write (buffer_t buffer, const char *data, int size) |
int | buffer_write_at_position (buffer_t buffer, buffer_position position, const char *data, int size) |
typedef int buffer_position |
buffer_position buffer_get_position | ( | buffer_t | buffer | ) |
buffer_position buffer_save_space | ( | buffer_t | buffer, | |
int | size | |||
) |
int buffer_write | ( | buffer_t | buffer, | |
const char * | data, | |||
int | size | |||
) |
int buffer_write_at_position | ( | buffer_t | buffer, | |
buffer_position | position, | |||
const char * | data, | |||
int | size | |||
) |