diff options
Diffstat (limited to '')
-rw-r--r-- | src/dbUtils.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h index ebd4dcfba..632772023 100644 --- a/src/dbUtils.h +++ b/src/dbUtils.h @@ -21,30 +21,7 @@ #include <stdio.h> -#include "tag.h" - -#define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10 -#define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20 - -/* struct used for search, find, list queries */ -typedef struct _LocateTagItem { - mpd_sint8 tagType; - /* what we are looking for */ - char *needle; -} LocateTagItem; - -int getLocateTagItemType(char *str); - -/* returns NULL if not a known type */ -LocateTagItem *newLocateTagItem(char *typeString, char *needle); - -/* 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); +#include "locate.h" int printAllIn(int fd, char *name); |