diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-17 21:07:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-17 21:07:21 +0000 |
commit | da9947b545847988e42c1975eac36708a367fd0a (patch) | |
tree | 90e6299096970e9ac56e636df3d981fbcdd0f486 /gps_json.h | |
parent | 6dcf899894786dd2814bbe955474215f4da19680 (diff) | |
download | gpsd-da9947b545847988e42c1975eac36708a367fd0a.tar.gz |
Add cycle-time reporting and setting to new protocol.
Steps towards making gpsctl work with new protocol.
Incidentally, fixes a bug where min_cycle was not reported
correctly in the C command.
Diffstat (limited to 'gps_json.h')
-rw-r--r-- | gps_json.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ struct devconfig_t { int native; int bps; char serialmode[4]; + double cycle; }; 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); @@ -18,6 +19,6 @@ int json_sky_read(const char *, struct gps_data_t *, const char **); 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 devconfig_t *, char *, size_t); +void json_configdev_dump(struct gps_device_t *, char *, size_t); /* gps_json.h ends here */ |