aboutsummaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-12-14 22:01:50 -0800
committerBruce Hill <bruce@bruce-hill.com>2020-12-14 22:01:50 -0800
commit2fb68fa97f096e5bd0f3ff81d31c3bc61719ae8a (patch)
tree5fc08368fed465d88b115b7dd75f309cec010806 /json.h
parente638a517bfe60af1975d793bfbfda4d64428d15f (diff)
Moved json code into its own file
Diffstat (limited to 'json.h')
-rw-r--r--json.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/json.h b/json.h
new file mode 100644
index 0000000..2a5a62a
--- /dev/null
+++ b/json.h
@@ -0,0 +1,11 @@
+/*
+ * json.h - Header file for JSON output.
+ */
+#ifndef JSON__H
+#define JSON__H
+
+__attribute__((nonnull))
+void json_match(FILE *f, const char *text, match_t *m, int verbose);
+
+#endif
+// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1