summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-18 15:30:49 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-18 15:30:49 +0000
commit6885b22471926d3387be8fc491ea016c78917c13 (patch)
treebb8e2ad915055b4789e99192c7fe7c22b4338a1d /gpsd.h-tail
parent22f2dbd5af5ecfcdcd3ce71cb2b6d714887d17cd (diff)
downloadgpsd-6885b22471926d3387be8fc491ea016c78917c13.tar.gz
More steps towards ?DEVICES decoding - refactor code.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail11
1 files changed, 8 insertions, 3 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 8c39a8eb..ca36f45e 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -147,6 +147,14 @@ extern size_t oncore_payload_cksum_length(unsigned char id1,unsigned char id2);
/* this is where we choose the confidence level to use in reports */
#define GPSD_CONFIDENCE CEP95_SIGMA
+/* the map of device class names */
+struct classmap_t {
+ char *name;
+ int mask;
+};
+#define CLASSMAP_NITEMS 5;
+struct classmap_t classmap[CLASSMAP_NITEMS];
+
#define NTPSHMSEGS 4 /* number of NTP SHM segments */
struct gps_context_t {
@@ -487,9 +495,6 @@ extern int srec_hdr(unsigned int, unsigned char *, unsigned char *);
extern int srec_fin(unsigned int, unsigned char *);
extern unsigned char hc(unsigned char);
-/* 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 *,