summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-07-29 15:59:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-07-29 15:59:44 +0000
commit42bbb63a1b66ee64e297d432689833d970a16ed8 (patch)
tree78e76124e050f61aa5e94654a4b50ce4c25c7d45 /json.h
parent6a5a1aff88d18b55895714e2241237ed3abc6f1b (diff)
downloadgpsd-42bbb63a1b66ee64e297d432689833d970a16ed8.tar.gz
New-style WATCH command is working...
...at least for the simplest case ?WATCH={"TPV":true}. More testing will follow.
Diffstat (limited to 'json.h')
-rw-r--r--json.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/json.h b/json.h
index a16f170f..d3002ed0 100644
--- a/json.h
+++ b/json.h
@@ -6,6 +6,8 @@
typedef enum {integer, real, string, boolean, object, array} json_type;
+#define nullbool -1 /* not true, not false */
+
struct json_array_t {
json_type element_type;
union {