diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 07:52:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 07:52:12 +0000 |
commit | dad8b2b68113840c826e43e3857c487498271c85 (patch) | |
tree | 6d4ee128c976f402e842b7799d2151ebd19bceb1 /gps_json.h | |
parent | dbda81f426dc8cc2d2271b5efbe022d50a5f7732 (diff) | |
download | gpsd-dad8b2b68113840c826e43e3857c487498271c85.tar.gz |
Bride of the Splint Cleanup. All regression tests pass.
Diffstat (limited to 'gps_json.h')
-rw-r--r-- | gps_json.h | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -6,15 +6,19 @@ #define GPS_JSON_RESPONSE_MAX 1024 char *json_stringify(/*@out@*/char *, size_t, /*@in@*/const char *); -int json_watch_read(const char *, struct policy_t *, /*@null@*/const char **); -int json_device_read(const char *, struct devconfig_t *, /*@null@*/const char **); +void json_tpv_dump(const struct gps_data_t *, struct gps_fix_t *, char *, size_t); +void json_sky_dump(const struct gps_data_t *, char *, size_t); +void json_device_dump(const struct gps_device_t *, char *, size_t); +void json_watch_dump(const struct policy_t *, char *, size_t); +int json_watch_read(const char *, /*@out@*/struct policy_t *, + /*@out null@*/const char **); +int json_device_read(const char *, /*@out@*/struct devconfig_t *, + /*@out null@*/const char **); void json_version_dump(/*@out@*/char *, size_t); -void json_tpv_dump(struct gps_data_t *, struct gps_fix_t *, char *, size_t); -void json_sky_dump(struct gps_data_t *, char *, size_t); -void json_device_dump(struct gps_device_t *, char *, size_t); -void json_watch_dump(struct policy_t *, char *, size_t); -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 json_rtcm2_read(const char *, char *, size_t, struct rtcm2_t *, + /*@out null@*/const char **); +int json_ais_read(const char *, char *, size_t, struct ais_t *, + /*@out null@*/const char **); int libgps_json_unpack(const char *, struct gps_data_t *); /* gps_json.h ends here */ |