-/* Initializes the buffer structure. */
-void buffer_init(Buffer * buffer);
-
-/* Frees any memory used for the buffer. */
-void buffer_free(Buffer * buffer);
-
-/* Clears any data from the buffer, making it empty. This does not actually
- zero the memory. */
-void buffer_clear(Buffer * buffer);
-
-/* Appends data to the buffer, expanding it if necessary. */
-void buffer_append(Buffer * buffer, const char *data, unsigned int len);
-
-/* Appends space to the buffer, expanding the buffer if necessary.
- This does not actually copy the data into the buffer, but instead
- returns a pointer to the allocated region. */
-void buffer_append_space(Buffer * buffer, char **datap, unsigned int len);