diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-15 05:34:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-15 05:34:22 +0000 |
commit | e644919d89a8b8799d8a85b58c7af3504dc01358 (patch) | |
tree | b57826a5aea880a951d3053f193706481a743401 /gpsd.h | |
parent | 2af9e393322183b1ac41c00ba5d4a11ce14f869e (diff) | |
download | gpsd-e644919d89a8b8799d8a85b58c7af3504dc01358.tar.gz |
Remove SiRF-specific assumptions from srecord.c and add it to libgps.c
for future use.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -243,6 +243,14 @@ extern void ecef_to_wgs84fix(struct gps_data_t *, double, double, double); extern gps_mask_t dop(struct gps_data_t *); +/* srecord.c */ +extern void hexdump(int , unsigned char *, unsigned char *); +extern unsigned char sr_sum(int, int, unsigned char *); +extern int bin2srec(int, int, int, unsigned char *, unsigned char *); +extern int srec_hdr(int num, unsigned char *bbuf, unsigned char *sbuf); +extern int srec_fin(int, unsigned char *); +extern char hc(char); + /* External interface */ extern void gpsd_init(struct gps_device_t *, struct gps_context_t *, char *device); |