diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-04-25 21:34:51 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-04-25 21:34:51 -0400 |
commit | 0d31c2b7eaa32f6e806b0b380d6b52db2e8c1b77 (patch) | |
tree | f08a55acfe3c1aeb348291257741d07d6549c324 /gps.h | |
parent | 9b4c8351607a8f1e1389116b1cbcaf482624f1ef (diff) | |
download | gpsd-0d31c2b7eaa32f6e806b0b380d6b52db2e8c1b77.tar.gz |
In AIS, client-library support for IMO289 FID=18.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -954,6 +954,18 @@ struct ais_t struct { unsigned persons; /* number of persons */ } dac1fid16; + /* IMO289 - Clearance Time To Enter Port */ + struct { + unsigned int linkage; /* Message Linkage ID */ + unsigned int month; /* Month (UTC) */ + unsigned int day; /* Day (UTC) */ + unsigned int hour; /* Hour (UTC) */ + unsigned int minute; /* Minute (UTC) */ + char portname[20+1]; /* Name of Port & Berth */ + char destination[5+1]; /* Destination */ + signed int lon; /* Longitude */ + signed int lat; /* Latitude */ + } dac1fid18; /* IMO289 - Dangerous Cargo Indication */ struct { unsigned int unit; /* Unit of Quantity */ |