b9272fa95a
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
25 lines
474 B
C
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
|