summaryrefslogtreecommitdiffstats
path: root/divesite.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-15 21:25:26 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-15 21:25:26 -0700
commit1dbb6071bd0826790e8afb5be1020f42e257681b (patch)
treeb72ad6fa658f66f0dc886d85a0d25bea9df9efe3 /divesite.h
parent542e04266d016c35e688e69d382204b7cefc3711 (diff)
downloadsubsurface-1dbb6071bd0826790e8afb5be1020f42e257681b.tar.gz
Add helper function that checks if a dive site is in use
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divesite.h')
-rw-r--r--divesite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/divesite.h b/divesite.h
index fd590eb2c..e0418b203 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();
+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);
uint32_t create_dive_site_with_gps(const char *name, degrees_t latitude, degrees_t longitude);