mpd/src/tagTracker.h
Warren Dukes b9272fa95a ok, tagtracker now tracks title, this has the disadvantage of needing to sort
the title tracker list, and it wastes more memory.
But it makes implementing list command elegant, since we've just visit tags,
then print out the visited tags in tag tracker (which has the benefit of
making sure everything is in sorted order)

git-svn-id: https://svn.musicpd.org/mpd/trunk@2608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 13:15:41 +00:00

25 lines
474 B
C

#ifndef TAG_TRACKER_H
#define TAG_TRACKER_H
#include "tag.h"
char * getTagItemString(int type, char * string);
void removeTagItemString(int type, char * string);
int getNumberOfTagItems(int type);
void printMemorySavedByTagTracker();
void sortTagTrackerInfo();
void resetVisitedFlagsInTagTracker(int type);
int wasVisitedInTagTracker(int type, char * str);
void visitInTagTracker(int type, char * str);
void printVisitedInTagTracker(FILE * fp, int type);
#endif