summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-25 21:34:51 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-25 21:34:51 -0400
commit0d31c2b7eaa32f6e806b0b380d6b52db2e8c1b77 (patch)
treef08a55acfe3c1aeb348291257741d07d6549c324 /gps.h
parent9b4c8351607a8f1e1389116b1cbcaf482624f1ef (diff)
downloadgpsd-0d31c2b7eaa32f6e806b0b380d6b52db2e8c1b77.tar.gz
In AIS, client-library support for IMO289 FID=18.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 4ff51d66..9a426bff 100644
--- a/gps.h
+++ b/gps.h
@@ -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 */