]> git.tdb.fi Git - ext/subsurface.git/blobdiff - dive.h
Merge branch 'more-divelist-goodness' of https://github.com/nathansamson/diveclog
[ext/subsurface.git] / dive.h
diff --git a/dive.h b/dive.h
index c6c545dcc11e133a748113f8529fce9a5128aeb6..08194f6a91caceec9692934b97fb1be67507e7bc 100644 (file)
--- a/dive.h
+++ b/dive.h
@@ -75,6 +75,7 @@ typedef struct {
 typedef struct {
        volume_t size;
        pressure_t workingpressure;
+       const char *description;        /* "LP85", "AL72", "AL80", "HP100+" or whatever */
 } cylinder_type_t;
 
 typedef struct {
@@ -107,10 +108,9 @@ struct sample {
        int cylinderindex;
 };
 
-#define MAX_CYLINDERS (4)
+#define MAX_CYLINDERS (8)
 
 struct dive {
-       const char *name;
        time_t when;
        char *location;
        char *notes;