diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-18 17:05:46 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-18 17:05:46 +0000 |
commit | e91613e46430c7d1459647d33b950a7793899b3f (patch) | |
tree | f2e76e1dd4649166421b28bda3f358d55e7bf46a /gps_json.h | |
parent | aca62d992732297cabffeb6cf1d58ebb906e7117 (diff) | |
download | gpsd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |