From ba4b4d8ad98bfe2deffbe9164476da9e6504d2bf Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Mon, 11 Dec 2006 20:14:33 +0000 Subject: Moving LOCATE_TAG_{FILE,ANY}_TYPE defines to dbUtils.h, so that we can compare the return value of getLocateTagItemType() to them. git-svn-id: https://svn.musicpd.org/mpd/trunk@5138 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/dbUtils.c | 2 -- src/dbUtils.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dbUtils.c b/src/dbUtils.c index a93a30e8f..86fb3571e 100644 --- a/src/dbUtils.c +++ b/src/dbUtils.c @@ -27,10 +27,8 @@ #include "tagTracker.h" #include "log.h" -#define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10 #define LOCATE_TAG_FILE_KEY SONG_FILE #define LOCATE_TAG_FILE_KEY_OLD "filename" -#define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20 #define LOCATE_TAG_ANY_KEY "any" typedef struct _ListCommandItem { diff --git a/src/dbUtils.h b/src/dbUtils.h index 5b0623161..ebd4dcfba 100644 --- a/src/dbUtils.h +++ b/src/dbUtils.h @@ -23,6 +23,9 @@ #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; -- cgit v1.2.3