diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-19 13:51:54 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-19 13:51:54 +0000 |
commit | cb1eae416026ab7ef89529a546158a8f30a45dc2 (patch) | |
tree | b724d9731ff8efe018cc097811c317eda0bc9595 /gps.h | |
parent | cb830d185eece1a07cfc8aaadcb8765278fe1d1f (diff) | |
download | gpsd-cb1eae416026ab7ef89529a546158a8f30a45dc2.tar.gz |
Add ckuethe's most requested JSON feature: WATCH a specified single device only.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -851,7 +851,8 @@ struct policy_t { bool watcher; /* is watcher mode on? */ bool nmea; /* requesting dumping as NMEA */ int raw; /* dump raw data? */ - bool scaled; /* perform report scaling? */ + bool scaled; /* perform report scaling? */ + char devpath[GPS_PATH_MAX]; /* specific device to watch */ }; /* this is the main structure that includes all previous substructures */ |