summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-10-30 16:25:47 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-10-30 16:25:47 +0000
commita6029c84bac42ca8d0e77648b8af8025764eae26 (patch)
treedc190f92804bceafa0cd7fe01fa27b7afba9ce76 /gpsd.h
parent4e59d3f0957dc18af087084decbd9ff70af67644 (diff)
downloadgpsd-a6029c84bac42ca8d0e77648b8af8025764eae26.tar.gz
Make it possible to disable reconfiguration.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gpsd.h b/gpsd.h
index 758b94f7..18f13df2 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -43,7 +43,10 @@ enum isgpsstat_t {
#define RTCM_MAX (RTCM_WORDS_MAX * sizeof(isgps30bits_t))
struct gps_context_t {
- int valid; /* member validity flags */
+#ifdef ALLOW_RECONFIGURE
+ bool enable_reconfigure; /* OK to hack GPS settings? */
+#endif /* ALLOW_RECONFIGURE */
+ int valid; /* member validity flags */
#define LEAP_SECOND_VALID 0x01 /* we have or don't need correction */
/* DGPSIP status */
bool sentdgps; /* have we sent a DGPS report? */