diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-18 13:34:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-18 13:34:05 -0700 |
commit | bd4629b293e165c9fb8ba0c83ed1ff5016d2da94 (patch) | |
tree | e7fc7ea36e553cefa7d136fdaf29b9ba7f0a9a92 /divesite.h | |
parent | 021a151f0382e8b8cace463969bc9c3607661527 (diff) | |
download | subsurface-bd4629b293e165c9fb8ba0c83ed1ff5016d2da94.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'divesite.h')
-rw-r--r-- | divesite.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |