summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-19 13:51:54 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-19 13:51:54 +0000
commitcb1eae416026ab7ef89529a546158a8f30a45dc2 (patch)
treeb724d9731ff8efe018cc097811c317eda0bc9595 /gps.h
parentcb830d185eece1a07cfc8aaadcb8765278fe1d1f (diff)
downloadgpsd-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index 8e4bdfda..fd493814 100644
--- a/gps.h
+++ b/gps.h
@@ -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 */