summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-01-01 18:49:56 +0100
committerGravatar Robert C. Helling <helling@atdotde.de>2019-01-08 10:39:06 +0100
commit123f3ef7ec8f977c9949c3ac24008163c722e208 (patch)
treee71fae75814d32e249cb5e99d8eb231ffc88cb07 /core/dive.h
parentc349692d984f417bf56f5fecb8f733d8fb007518 (diff)
downloadsubsurface-123f3ef7ec8f977c9949c3ac24008163c722e208.tar.gz
Filter for logged/planned dives
Add filter for dives having a planned dive computer or a logged dive computer. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h
index f447c88b5..a93020507 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -653,6 +653,8 @@ extern void vpmb_start_gradient(struct deco_state *ds);
extern void vpmb_next_gradient(struct deco_state *ds, double deco_time, double surface_pressure);
extern double tissue_tolerance_calc(struct deco_state *ds, const struct dive *dive, double pressure);
extern bool is_dc_planner(const struct divecomputer *dc);
+extern bool has_planned(const struct dive *dive, bool planned);
+
/* this should be converted to use our types */
struct divedatapoint {