summaryrefslogtreecommitdiff
path: root/gps_json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-18 17:05:46 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-18 17:05:46 +0000
commite91613e46430c7d1459647d33b950a7793899b3f (patch)
treef2e76e1dd4649166421b28bda3f358d55e7bf46a /gps_json.h
parentaca62d992732297cabffeb6cf1d58ebb906e7117 (diff)
downloadgpsd-e91613e46430c7d1459647d33b950a7793899b3f.tar.gz
Add check-string attributes to JSON parser.
Add JSON unit test to default test sequence.
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 0af21456..de701e05 100644
--- a/gps_json.h
+++ b/gps_json.h
@@ -21,6 +21,6 @@ int json_watch_read(struct policy_t *, const char *, const char **);
void json_watch_dump(struct policy_t *, char *, size_t);
int json_configdev_read(struct devconfig_t *, const char *, const char **);
void json_configdev_dump(struct gps_device_t *, char *, size_t);
-void libgps_json_unpack(char *, struct gps_data_t *);
+int libgps_json_unpack(const char *, struct gps_data_t *);
/* gps_json.h ends here */