summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 91318c3b1..04f26f68a 100644
--- a/divelist.h
+++ b/divelist.h
@@ -5,6 +5,9 @@
extern "C" {
#endif
+/* this is used for both git and xml format */
+#define DATAFORMAT_VERSION 3
+
struct dive;
extern void update_cylinder_related_info(struct dive *);
@@ -41,6 +44,10 @@ extern struct dive *last_selected_dive();
extern bool is_trip_before_after(struct dive *dive, bool before);
extern void set_dive_nr_for_current_dive();
+int get_min_datafile_version();
+void reset_min_datafile_version();
+void report_datafile_version(int version);
+
#ifdef DEBUG_TRIP
extern void dump_selection(void);
extern void dump_trip_list(void);