diff th_util.h @ 115:13f001f1ad6e

More work on growbuf stuff.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 21 Jun 2014 23:11:36 +0300
parents cddfc43a4e45
children 41c2638ee537
line wrap: on
line diff
--- a/th_util.h	Sat Jun 21 22:59:53 2014 +0300
+++ b/th_util.h	Sat Jun 21 23:11:36 2014 +0300
@@ -210,6 +210,7 @@
 /* Growing byte buffer
  */
 void    th_growbuf_init(th_growbuf_t *buf, const size_t mingrow);
+void    th_growbuf_clear(th_growbuf_t *buf);
 th_growbuf_t *th_growbuf_new(const size_t mingrow);
 void    th_growbuf_free(th_growbuf_t *buf);