diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-01-29 12:49:06 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-01-29 12:49:06 -0500 |
commit | 76535a3b3318266b691a12bef71db467be47282d (patch) | |
tree | 146327dc1f26918ef61eee30e513d88e033768d1 /gpsd.h-tail | |
parent | a3af061b227d8334f6f69191ee211baf66de2408 (diff) | |
download | gpsd-76535a3b3318266b691a12bef71db467be47282d.tar.gz |
Add a minimum packet length to every driver.
Length 0 means the minimum is unknown and the driver should use character I/O.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 6cd760b3..ceb2707f 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -389,6 +389,7 @@ struct gps_type_t { #ifdef TIMEHINT_ENABLE /*@null@*/double (*time_offset)(struct gps_device_t *session); #endif /* TIMEHINT_ENABLE */ + int minlength; }; /* |