diff options
Diffstat (limited to 'core/divelist.h')
-rw-r--r-- | core/divelist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/divelist.h b/core/divelist.h index 2b2ee07a5..8bcf9f55c 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -28,7 +28,10 @@ extern int get_divenr(const struct dive *dive); extern int get_divesite_idx(const struct dive_site *ds); extern struct dive_trip *unregister_dive_from_trip(struct dive *dive, short was_autogen); extern void remove_dive_from_trip(struct dive *dive, short was_autogen); +extern dive_trip_t *alloc_trip(void); +extern dive_trip_t *create_trip_from_dive(struct dive *dive); extern dive_trip_t *create_and_hookup_trip_from_dive(struct dive *dive); +extern dive_trip_t *get_dives_to_autogroup(int start, int *from, int *to, bool *allocated); extern void autogroup_dives(void); extern struct dive *merge_two_dives(struct dive *a, struct dive *b); extern bool consecutive_selected(); @@ -38,6 +41,7 @@ extern void select_dives_in_trip(struct dive_trip *trip); extern void deselect_dives_in_trip(struct dive_trip *trip); extern void filter_dive(struct dive *d, bool shown); extern void combine_trips(struct dive_trip *trip_a, struct dive_trip *trip_b); +extern dive_trip_t *combine_trips_create(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(); |