summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-18 17:51:26 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-18 17:51:26 +0000
commit9de0cdc56020027502ebbf47c9b7b906ff59ff35 (patch)
tree18ed8724c44b74756386ca033fb8c6b1b49e3f41 /gps.h
parent63659ed129e343ea748fe016b99beea78f723acb (diff)
downloadgpsd-9de0cdc56020027502ebbf47c9b7b906ff59ff35.tar.gz
Daemon now has its own version symbols for the wire protocol...
...and will announce them in the banner.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gps.h b/gps.h
index 8a59a083..8e4bdfda 100644
--- a/gps.h
+++ b/gps.h
@@ -30,7 +30,7 @@ extern "C" {
/*
* Unless otherwise noted, all function signatures and types and
* constants and structure layouts exposed here are correct for all
- * versions up to and including this one.
+ * 3.x versions up to and including this one.
*/
#define GPSD_API_MAJOR_VERSION 3 /* bump on incompatible changes */
#define GPSD_API_MINOR_VERSION 1 /* bump on compatible changes */
@@ -828,7 +828,7 @@ struct rawdata_t {
struct version_t {
char release[64]; /* external version */
char rev[64]; /* internal revision ID */
- int api_major, api_minor; /* API major and minor versions */
+ int proto_major, proto_minor; /* API major and minor versions */
};
struct devconfig_t {