diff options
author | Mick Durkin <mick.durkin@saunalahti.fi> | 2007-12-08 20:00:15 +0000 |
---|---|---|
committer | Mick Durkin <mick.durkin@saunalahti.fi> | 2007-12-08 20:00:15 +0000 |
commit | d2eb0069a98843bbd06dd80c750652eba8a8e16e (patch) | |
tree | d7fcfdc77d67135442babb075c6daa2b2bc59351 /gpsd.h-tail | |
parent | 6c60783e1a93cbfa188da14e24c2c98557f41ec1 (diff) | |
download | gpsd-d2eb0069a98843bbd06dd80c750652eba8a8e16e.tar.gz |
Refactoring step and fix to ntp interface.
Extract the code which activates the interface to ntpd
into a separate function and arrange that this is called
by gpsd_assert_sync (in serial.c). This ensures it only
happens once the serial port parameters are known.
Modify the code which probes for devices to issue a
gpsd_assert_sync on success.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 0a0ef3d0..985fc9fe 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -381,6 +381,7 @@ extern void gpsd_interpret_subframe(struct gps_device_t *, unsigned int[]); extern /*@ observer @*/ char *gpsd_hexdump(const void *, size_t); extern int gpsd_hexpack(char *, char *, int); extern int hex2bin(char *); +extern void ntpd_link_activate(struct gps_device_t *session); extern char /*@observer@*/ *gpsd_id(/*@in@*/struct gps_device_t *); extern void gpsd_position_fix_dump(struct gps_device_t *, /*@out@*/char[], size_t); extern void gpsd_error_model(struct gps_device_t *, struct gps_fix_t *, struct gps_fix_t *); |