From 07c08eafac3eccc9b7360011fd9a19904160351c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 6 Apr 2013 21:28:03 -0700 Subject: Continue to separate Gtk related code from core logic: divelist Move some more logic out of the divelist-gtk.c file. Signed-off-by: Dirk Hohndel --- divelist.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'divelist.h') diff --git a/divelist.h b/divelist.h index 8c21e9b3d..8fcd600a1 100644 --- a/divelist.h +++ b/divelist.h @@ -19,7 +19,9 @@ extern void export_all_dives_uddf_cb(); /* divelist core logic functions */ extern dive_trip_t *find_trip_by_idx(int idx); +extern int dive_nr_sort(int idx_a, int idx_b, timestamp_t when_a, timestamp_t when_b); extern int trip_has_selected_dives(dive_trip_t *trip); +extern void get_depth_values(int depth, int *depth_int, int *depth_decimal, int *show_decimal); extern void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2low_p); extern int get_divenr(struct dive *dive); extern void get_location(struct dive *dive, char **str); -- cgit v1.2.3-70-g09d2