summaryrefslogtreecommitdiff
path: root/gps_json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
commitdad8b2b68113840c826e43e3857c487498271c85 (patch)
tree6d4ee128c976f402e842b7799d2151ebd19bceb1 /gps_json.h
parentdbda81f426dc8cc2d2271b5efbe022d50a5f7732 (diff)
downloadgpsd-dad8b2b68113840c826e43e3857c487498271c85.tar.gz
Bride of the Splint Cleanup. All regression tests pass.
Diffstat (limited to 'gps_json.h')
-rw-r--r--gps_json.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/gps_json.h b/gps_json.h
index 2f27900e..39c99da1 100644
--- a/gps_json.h
+++ b/gps_json.h
@@ -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 */