diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-15 21:25:26 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-15 21:25:26 -0700 |
commit | 1dbb6071bd0826790e8afb5be1020f42e257681b (patch) | |
tree | b72ad6fa658f66f0dc886d85a0d25bea9df9efe3 /divesite.h | |
parent | 542e04266d016c35e688e69d382204b7cefc3711 (diff) | |
download | subsurface-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.h | 1 |
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); |