aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.h b/buffer.h
index 55ebb7d..759217a 100644
--- a/buffer.h
+++ b/buffer.h
@@ -19,7 +19,7 @@ void buffer_release(Buffer*);
/* set buffer size to zero, keep allocated memory */
void buffer_clear(Buffer*);
/* reserve space to store at least size bytes in this buffer.*/
-bool buffer_grow(Buffer*, size_t size);
+bool buffer_reserve(Buffer*, size_t size);
/* if buffer is not empty, make sure it is NUL terminated */
bool buffer_terminate(Buffer*);
/* replace buffer content with given data, growing the buffer if needed */