From e5cf5cd806ee0277ec4174acc9dfdf7cb0c85f64 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 14 Jun 2011 18:52:34 -0400 Subject: First xut at JSON passthrough code. Not turned in by default yet; it interferes with RTCM2 decoding. --- packet_states.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'packet_states.h') diff --git a/packet_states.h b/packet_states.h index 2d426444..07adaeda 100644 --- a/packet_states.h +++ b/packet_states.h @@ -182,4 +182,16 @@ RTCM3_RECOGNIZED, /* RTCM3 packet recognized */ #endif +#ifdef PASSTHROUGH_ENABLE + JSON_LEADER, /* JSON leading { found */ + JSON_STRINGLITERAL, /* start of JSON string literal seen */ + JSON_STRING_SOLIDUS, /* backslash in string */ + JSON_END_ATTRIBUTE, /* end of JSON attribute */ + JSON_EXPECT_VALUE, /* just after colon */ + JSON_END_VALUE, /* end of JSON value */ + JSON_NUMBER, /* inside a JSON numeric literal */ + JSON_SPECIAL, /* inside a JSON special literal (true,false,null) */ + JSON_RECOGNIZED, /* JSON packet recognized */ +#endif + /* end of packet_states.h */ -- cgit v1.2.1