summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-28 21:44:03 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-28 21:44:03 -0800
commit974ac84cbe47a8a4f238df18a5fca5835b1732f3 (patch)
tree8def887582053e5069968dfc2ba048226e342b44 /dive.h
parent7aff4d70a62f9f91904e2bd6a574fa44aadbaf64 (diff)
parent55b3fd12a8b8c4df4e69ec9d747c77d99b40807a (diff)
downloadsubsurface-974ac84cbe47a8a4f238df18a5fca5835b1732f3.tar.gz
Merge branch 'cc-plan'
Add the ability to plan closed circuit (rebreather) dives
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 6a6ab3eee..0d14e43c0 100644
--- a/dive.h
+++ b/dive.h
@@ -587,6 +587,7 @@ struct divedatapoint {
int depth;
int o2;
int he;
+ int po2;
gboolean entered;
struct divedatapoint *next;
};
@@ -600,7 +601,7 @@ struct diveplan {
};
void plan(struct diveplan *diveplan, char **cache_datap, struct dive **divep);
-void plan_add_segment(struct diveplan *diveplan, int duration, int depth, int o2, int he);
+void plan_add_segment(struct diveplan *diveplan, int duration, int depth, int o2, int he, int po2);
void add_duration_to_nth_dp(struct diveplan *diveplan, int idx, int duration, gboolean is_rel);
void add_depth_to_nth_dp(struct diveplan *diveplan, int idx, int depth);
void add_gas_to_nth_dp(struct diveplan *diveplan, int idx, int o2, int he);