summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-08-04 14:16:55 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-08-04 14:16:55 +0000
commit5efce5fe9865954c3903c6cce6c0b51add819a10 (patch)
tree16c5f7322cbb89d4562a5f3aa410f279358611d8 /gpsd.h
parent0ea8fe71f7f05fde2b8c8841708fcc2a86b786b0 (diff)
downloadgpsd-5efce5fe9865954c3903c6cce6c0b51add819a10.tar.gz
Eliminate duplicated code between sirf.c/sirfflash.c/nmea_parse.c.
Integrate gpspipe.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gpsd.h b/gpsd.h
index ea4e8e3b..7d098817 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -299,7 +299,10 @@ extern int srec_hdr(unsigned int, unsigned char *, unsigned char *);
extern int srec_fin(unsigned int, unsigned char *);
extern unsigned char hc(unsigned char);
-/* External interface */
+/* exported bits for the GPS flasher */
+bool sirf_write(int fd, unsigned char *msg);
+
+/* application interface */
extern void gpsd_init(struct gps_device_t *, struct gps_context_t *, char *);
extern int gpsd_activate(struct gps_device_t *);
extern void gpsd_deactivate(struct gps_device_t *);