diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-11-13 12:35:12 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-13 12:35:12 -0800 |
commit | dae76cdc2dad1ec49520c6cb23530adaa5a6134a (patch) | |
tree | f03a2d606c387d5debf554389290894ce211606f /dive.h | |
parent | 01cd09c77a4be0ea7072e0cefac62f07c4a29c27 (diff) | |
download | subsurface-dae76cdc2dad1ec49520c6cb23530adaa5a6134a.tar.gz |
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>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |