typedef struct {
volume_t size;
pressure_t workingpressure;
+ const char *description; /* "LP85", "AL72", "AL80", "HP100+" or whatever */
} cylinder_type_t;
typedef struct {
cylinder_type_t type;
gasmix_t gasmix;
+ pressure_t start, end;
} cylinder_t;
static inline int to_feet(depth_t depth)
int cylinderindex;
};
-#define MAX_CYLINDERS (4)
+#define MAX_CYLINDERS (8)
struct dive {
- const char *name;
time_t when;
char *location;
char *notes;
duration_t duration, surfacetime;
depth_t visibility;
temperature_t airtemp, watertemp;
- pressure_t beginning_pressure, end_pressure;
cylinder_t cylinder[MAX_CYLINDERS];
int samples;
struct sample sample[];