Show the number of dives with given person / location in the filter panel

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-11-12 16:01:58 -08:00
parent 5a329ff262
commit 61dc19d2e0
4 changed files with 52 additions and 3 deletions

2
dive.h
View file

@ -235,6 +235,8 @@ void taglist_free(struct tag_entry *tag_list);
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);
struct extra_data {
const char *key;