summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-15 18:39:30 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-15 18:39:30 -0400
commit62bc9311632aaba85f011f4d6306b4e6904d1937 (patch)
treeabf75c205d5c7f28f0da7fd55e75a6c36130141f /json.h
parentf0680f02af44a8f3a35065a9653bbdb827c7c629 (diff)
downloadgpsd-62bc9311632aaba85f011f4d6306b4e6904d1937.tar.gz
Add a 'timestamp' type to the JSON parser to solve a compatibility problem.
Sigh, no other way to get DEVICELIST to recignize both new and old timestamps. All regression tests pass.
Diffstat (limited to 'json.h')
-rw-r--r--json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/json.h b/json.h
index eae43c50..a1944433 100644
--- a/json.h
+++ b/json.h
@@ -9,6 +9,7 @@
typedef enum {t_integer, t_uinteger, t_real,
t_string, t_boolean, t_character,
+ t_timestamp,
t_object, t_structobject, t_array,
t_check} json_type;