summaryrefslogtreecommitdiff
path: root/web/web_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_misc.h')
-rw-r--r--web/web_misc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/web_misc.h b/web/web_misc.h
new file mode 100644
index 0000000..9872181
--- /dev/null
+++ b/web/web_misc.h
@@ -0,0 +1,14 @@
+#ifndef WEB_MISC_H
+#define WEB_MISC_H
+
+#include <stdbool.h>
+
+typedef struct bufstr {
+ char *fl, *buf;
+} bufstr;
+
+void bufstr_buf(bufstr *b, char *str);
+bool bufstr_changed(bufstr *b);
+char *bufstr_flush(bufstr *b);
+
+#endif