summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-15 05:34:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-15 05:34:22 +0000
commite644919d89a8b8799d8a85b58c7af3504dc01358 (patch)
treeb57826a5aea880a951d3053f193706481a743401 /gpsd.h
parent2af9e393322183b1ac41c00ba5d4a11ce14f869e (diff)
downloadgpsd-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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpsd.h b/gpsd.h
index 05c40100..80bf7548 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -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);