diff options
Diffstat (limited to 'src/tagTracker.c')
-rw-r--r-- | src/tagTracker.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tagTracker.c b/src/tagTracker.c index fec96550a..ef95ea47a 100644 --- a/src/tagTracker.c +++ b/src/tagTracker.c @@ -48,3 +48,9 @@ void removeTagItemString(int type, char * string) { tagLists[type] = NULL; } } + +int getNumberOfTagItems(int type) { + if(tagLists[type] == NULL) return 0; + + return tagLists[type]->numberOfNodes; +} |