diff options
author | Monty Taylor <mordred@inaugust.com> | 2020-05-04 08:54:58 -0500 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2020-05-05 17:31:47 +0300 |
commit | 95e6792c4fe353441fd1cad8bad8b459b1a37d65 (patch) | |
tree | 93c002bf9ac52e1b7b73d526976912a73766da75 /core/dive.h | |
parent | b3270222fd884c2b1c68519bdadf7fbc357a5d06 (diff) | |
download | subsurface-95e6792c4fe353441fd1cad8bad8b459b1a37d65.tar.gz |
Grantlee: Add salinity and water type to grantlee variables
These can be useful in a printed divelog, especially if the
log entry is also showing weight and exposure suit.
Signed-off-by: Monty Taylor <mordred@inaugust.com>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h index ca35ff46a..7daf74293 100644 --- a/core/dive.h +++ b/core/dive.h @@ -332,6 +332,7 @@ extern void sort_dive_table(struct dive_table *table); extern struct dive *fixup_dive(struct dive *dive); extern pressure_t calculate_surface_pressure(const struct dive *dive); extern pressure_t un_fixup_surface_pressure(const struct dive *d); +extern int get_dive_salinity(const struct dive *dive); extern void fixup_dc_duration(struct divecomputer *dc); extern int dive_getUniqID(); extern unsigned int dc_airtemp(const struct divecomputer *dc); |