diff options
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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); |