mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add a function to count dives with a specific suit
Checking against the location field probably wasn't the best way to do this... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
01cd09c77a
commit
dae76cdc2d
3 changed files with 16 additions and 1 deletions
1
dive.h
1
dive.h
|
@ -237,6 +237,7 @@ bool taglist_contains(struct tag_entry *tag_list, const char *tag);
|
|||
int count_dives_with_tag(const char *tag);
|
||||
int count_dives_with_person(const char *person);
|
||||
int count_dives_with_location(const char *location);
|
||||
int count_dives_with_suit(const char *suit);
|
||||
|
||||
struct extra_data {
|
||||
const char *key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue