summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-26 14:26:00 -0700
committerGary E. Miller <gem@rellim.com>2018-10-26 14:26:00 -0700
commit65f9daadd1d82e7ba77510e5f3a193bbe6d32606 (patch)
tree87f525b69ba9c58584ebb1eaa158eceda001acbd /gpsd.h
parentb33816fe2b9219d2a9cca80091b6264bf579275f (diff)
downloadgpsd-65f9daadd1d82e7ba77510e5f3a193bbe6d32606.tar.gz
timebase: Add gpsd_gpstime_resolv(), deprecate gpsd_gpstime_resolve()
Part of the move from timestamp_t to timespec_t. The double that is timestamp_t will soon be too imprecise.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.h b/gpsd.h
index 265f1580..7cc56303 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -880,6 +880,8 @@ extern void gpsd_time_init(struct gps_context_t *, time_t);
extern void gpsd_set_century(struct gps_device_t *);
extern timestamp_t gpsd_gpstime_resolve(struct gps_device_t *,
const unsigned short, const double);
+extern timespec_t gpsd_gpstime_resolv(struct gps_device_t *,
+ const unsigned short, const timespec_t);
extern timestamp_t gpsd_utc_resolve(struct gps_device_t *);
extern void gpsd_century_update(struct gps_device_t *, int);