diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2006-12-11 20:14:33 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2006-12-11 20:14:33 +0000 |
commit | ba4b4d8ad98bfe2deffbe9164476da9e6504d2bf (patch) | |
tree | 61297c16e5829487bb54dc042bdeb06d8a969cbf /src | |
parent | a26582e99135346bcfc895b1a85ba8b2b6f411c5 (diff) | |
download | mpd-ba4b4d8ad98bfe2deffbe9164476da9e6504d2bf.tar.gz mpd-ba4b4d8ad98bfe2deffbe9164476da9e6504d2bf.tar.xz mpd-ba4b4d8ad98bfe2deffbe9164476da9e6504d2bf.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/dbUtils.c | 2 | ||||
-rw-r--r-- | 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; |