summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/dive.h b/dive.h
index a1febdd16..70459f931 100644
--- a/dive.h
+++ b/dive.h
@@ -726,9 +726,9 @@ void get_gas_string(int o2, int he, char *buf, int len);
struct event *get_next_event(struct event *event, char *name);
-/* this struct holds the information that
- * describes the cylinders of air.
- * it is a global variable initialized in equipment.c
+/* these structs holds the information that
+ * describes the cylinders / weight systems.
+ * they are global variables initialized in equipment.c
* used to fill the combobox in the add/edit cylinder
* dialog
*/
@@ -737,6 +737,13 @@ struct tank_info {
const char *name;
int cuft, ml, psi, bar;
};
+extern struct tank_info tank_info[100];
+
+struct ws_info {
+ const char *name;
+ int grams;
+};
+extern struct ws_info ws_info[100];
extern bool cylinder_nodata(cylinder_t *cyl);
extern bool cylinder_none(void *_data);