diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-18 21:40:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-18 21:40:28 +0000 |
commit | 6476cf248078df95580eb0a17fa852cc0b4fddb1 (patch) | |
tree | 4695715f88372d7cbcee929b77a9646fdcec5ba8 /gps_json.h | |
parent | 22474b8a4c37373c6dbfe87940f5a060ac40f27a (diff) | |
download | gpsd-6476cf248078df95580eb0a17fa852cc0b4fddb1.tar.gz |
End pointer returned by the JSON parser needs to be passed back up...
...so we can handle multiple responses per write.
Diffstat (limited to 'gps_json.h')
-rw-r--r-- | gps_json.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ int json_rtcm2_read(const char *, char *, size_t, struct rtcm2_t *, /*@null@*/const char **); int json_ais_read(const char *, char *, size_t, struct ais_t *, /*@null@*/const char **); -int libgps_json_unpack(const char *, struct gps_data_t *); +int libgps_json_unpack(const char *, struct gps_data_t *, const char **); /* these values don't matter in themselves, they just have to be out-of-band */ #define DEVDEFAULT_BPS 0 |