]> git.tdb.fi Git - ext/subsurface.git/blobdiff - dive.h
Show the dives as a gtk list/tree widget
[ext/subsurface.git] / dive.h
diff --git a/dive.h b/dive.h
index 9fc3908678464fd147c6e0ecc25c9db1e1045a97..ba9f66882baefa1d5a18a46de0ceff2bd7472d19 100644 (file)
--- a/dive.h
+++ b/dive.h
@@ -101,6 +101,7 @@ struct sample {
 };
 
 struct dive {
+       const char *name;
        time_t when;
        depth_t maxdepth, meandepth;
        duration_t duration, surfacetime;
@@ -111,4 +112,16 @@ struct dive {
        struct sample sample[];
 };
 
+extern int verbose;
+
+struct dive_table {
+       int nr, allocated;
+       struct dive **dives;
+};
+
+extern struct dive_table dive_table;
+
+void parse_xml_init(void);
+void parse_xml_file(const char *filename);
+
 #endif /* DIVE_H */