From bd4629b293e165c9fb8ba0c83ed1ff5016d2da94 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 18 Jul 2015 13:34:05 -0700 Subject: Add nr of dives at the site to completion string I'm not convinced that this is useful enough to keep, but let's give it a try and see what people think. Signed-off-by: Dirk Hohndel --- divesite.h | 1 + 1 file changed, 1 insertion(+) (limited to 'divesite.h') diff --git a/divesite.h b/divesite.h index 7dab210f1..d1d6ba9ae 100644 --- a/divesite.h +++ b/divesite.h @@ -50,6 +50,7 @@ static inline struct dive_site *get_dive_site_by_uuid(uint32_t uuid) } struct dive_site *alloc_dive_site(); +int nr_of_dives_at_dive_site(uint32_t uuid, bool select_only); bool is_dive_site_used(uint32_t uuid, bool select_only); void delete_dive_site(uint32_t id); uint32_t create_dive_site(const char *name); -- cgit v1.2.3-70-g09d2