summaryrefslogtreecommitdiffstats
path: root/src/lib/istream-jsonstr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/istream-jsonstr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/istream-jsonstr.h b/src/lib/istream-jsonstr.h
new file mode 100644
index 0000000..255eccd
--- /dev/null
+++ b/src/lib/istream-jsonstr.h
@@ -0,0 +1,7 @@
+#ifndef ISTREAM_JSONSTR_H
+#define ISTREAM_JSONSTR_H
+
+/* Parse input until '"' is reached. Unescape JSON \x codes. */
+struct istream *i_stream_create_jsonstr(struct istream *input);
+
+#endif