summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-02-17 23:52:09 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-02-17 23:52:09 +0000
commit229e8e0643595d44aca12d8e1a5cfeedf79f2e44 (patch)
treed6cd60ca587708de240b7986f00cd117c7293d96 /gpsd.h-tail
parentb260ba6bd9edd73cb684835d287beb886ea16049 (diff)
downloadgpsd-229e8e0643595d44aca12d8e1a5cfeedf79f2e44.tar.gz
Enable gpsmon to get at the raw fields from an NMEA parse.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index fc91ed9c..39b72930 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -247,6 +247,8 @@ struct gps_device_t {
int part, await; /* for tracking GSV parts */
struct tm date;
double subseconds;
+ char *field[NMEA_MAX];
+ unsigned char fieldcopy[NMEA_MAX+1];
#ifdef GPSCLOCK_ENABLE
bool ignore_trailing_edge;
#endif /* GPSCLOCK_ENABLE */