now more flexible list, search, find, where you can enter pairs of
"conditionals". Note that logical and is implied. git-svn-id: https://svn.musicpd.org/mpd/trunk@2624 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
+12
-3
@@ -12,10 +12,17 @@ typedef struct _LocateTagItem {
|
||||
char * needle;
|
||||
} LocateTagItem;
|
||||
|
||||
int getLocateTagItemType(char * str);
|
||||
|
||||
/* returns NULL if not a known type */
|
||||
LocateTagItem * newLocateTagItem(char * typeString, char * needle);
|
||||
|
||||
int getLocateTagItemType(char * str);
|
||||
/* return number of items or -1 on error */
|
||||
int newLocateTagItemArrayFromArgArray(char * argArray[], int numArgs,
|
||||
LocateTagItem ** arrayRet);
|
||||
|
||||
|
||||
void freeLocateTagItemArray(int count, LocateTagItem * array);
|
||||
|
||||
void freeLocateTagItem(LocateTagItem * item);
|
||||
|
||||
@@ -25,9 +32,11 @@ int addAllIn(FILE * fp, char * name);
|
||||
|
||||
int printInfoForAllIn(FILE * fp, char * name);
|
||||
|
||||
int searchForSongsIn(FILE * fp, char * name, LocateTagItem * item);
|
||||
int searchForSongsIn(FILE * fp, char * name, int numItems,
|
||||
LocateTagItem * items);
|
||||
|
||||
int findSongsIn(FILE * fp, char * name, LocateTagItem * item);
|
||||
int findSongsIn(FILE * fp, char * name, int numItems,
|
||||
LocateTagItem * items);
|
||||
|
||||
int countSongsIn(FILE * fp, char * name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user