aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/strbuf.h b/strbuf.h
index 850b0dd5..57946cc8 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -52,9 +52,13 @@ int DEEP_COPY(strbuf)(strbuf*, strbuf*);
/*
* Append char to end of strbuf, determined by s->len.
+ *
+ * TODO rename this PUSH(strbuf)?
*/
int strbuf_append(strbuf* s, char c);
+char strbuf_pop(strbuf*);
+
/*
* Calls strbuf_append with NULL.
*/