summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/divelist.h b/divelist.h
index ade4ce9a6..4eafd5dd4 100644
--- a/divelist.h
+++ b/divelist.h
@@ -30,7 +30,13 @@ extern struct dive *merge_two_dives(struct dive *a, struct dive *b);
extern bool consecutive_selected();
extern void select_dive(int idx);
extern void deselect_dive(int idx);
-void find_new_trip_start_time(dive_trip_t *trip);
+extern void select_dives_in_trip(struct dive_trip *trip);
+extern void deselect_dives_in_trip(struct dive_trip *trip);
+extern void combine_trips(struct dive_trip *trip_a, struct dive_trip *trip_b);
+extern void find_new_trip_start_time(dive_trip_t *trip);
+extern struct dive *first_selected_dive();
+extern struct dive *last_selected_dive();
+extern bool is_trip_before_after(struct dive *dive, bool before);
#ifdef DEBUG_TRIP
extern void dump_selection(void);