summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-13 21:44:18 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-13 21:45:24 +0900
commitaa76d3592361ec7b07a8fc15fd466bcd392629ec (patch)
tree6f3955d496d01db10913b5cfdd14cd11be4e8cbb /dive.h
parent25e432e1d16efaaf0db3112222e7e3716c8e6304 (diff)
downloadsubsurface-aa76d3592361ec7b07a8fc15fd466bcd392629ec.tar.gz
Instead of a "Cylinder for planning" use a default cylinder
Right now hardcoded to AL80. This way in the future we'll have a volume of gas that's available. And this makes much more sense then a random string in the description field. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index aef6ba366..580610fcf 100644
--- a/dive.h
+++ b/dive.h
@@ -658,6 +658,7 @@ extern void copy_events(struct dive *s, struct dive *d);
extern void copy_cylinders(struct dive *s, struct dive *d);
extern void copy_samples(struct dive *s, struct dive *d);
+extern void fill_default_cylinder(cylinder_t *cyl);
extern void add_gas_switch_event(struct dive *dive, struct divecomputer *dc, int time, int idx);
extern void add_event(struct divecomputer *dc, int time, int type, int flags, int value, const char *name);