summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/buffer.h b/include/buffer.h
index aa753b4..0d52e72 100644
--- a/include/buffer.h
+++ b/include/buffer.h
@@ -8,6 +8,8 @@ struct buffer {
};
struct buffer *buffer_create(unsigned int size);
+void buffer_destroy(struct buffer *b);
+
int buffer_add(struct buffer *b, void *data, unsigned int size);
void buffer_flush(struct buffer *b,
void (*cb)(void *buffer_data,