summaryrefslogtreecommitdiff
path: root/gps_json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-18 21:40:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-18 21:40:28 +0000
commit6476cf248078df95580eb0a17fa852cc0b4fddb1 (patch)
tree4695715f88372d7cbcee929b77a9646fdcec5ba8 /gps_json.h
parent22474b8a4c37373c6dbfe87940f5a060ac40f27a (diff)
downloadgpsd-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps_json.h b/gps_json.h
index 1b78a0ff..cfc10b83 100644
--- a/gps_json.h
+++ b/gps_json.h
@@ -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