diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-19 03:14:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-19 03:14:12 +0000 |
commit | 6098283d8394544b97c70f473a9743d0c4527d2f (patch) | |
tree | 2b4415bf7a7749087fe8b6777cd08a1ff9adb59d /gps.h | |
parent | 747088bbe5dc34c0902c0bddc492bc4815f4a7c3 (diff) | |
download | gpsd-6098283d8394544b97c70f473a9743d0c4527d2f.tar.gz |
Library parse code, and unit test, for DEVICE responses.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -774,9 +774,16 @@ struct ais_t #define MAXDEVICES_PER_USER 4 #define GPS_PATH_MAX 64 /* dev files usually have short names */ +#define TYPES_PER_DEVICE 4 struct device_t { char path[GPS_PATH_MAX]; + int ndatatypes; + int datatypes[TYPES_PER_DEVICE]; +#define DEV_GPS 1 +#define DEV_RTCM2 2 +#define DEV_RTCM3 3 +#define DEV_AIS 4 char driver[64]; char subtype[64]; double activated; |