diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:11 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:11 +0200 |
commit | d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f (patch) | |
tree | 1e82f7b4854c5d15c4ab59c48120da02e4b41be9 /src/locate.h | |
parent | 25f67da58c671885c86ecfd991f28ec82b6ce1e2 (diff) | |
download | mpd-d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f.tar.gz mpd-d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f.tar.xz mpd-d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f.zip |
song: converted typedef Song to struct song
Again, a data type which can be forward-declared.
Diffstat (limited to 'src/locate.h')
-rw-r--r-- | src/locate.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/locate.h b/src/locate.h index 7a817828a..4fbc634b7 100644 --- a/src/locate.h +++ b/src/locate.h @@ -19,11 +19,13 @@ #ifndef LOCATE_H #define LOCATE_H -#include "song.h" +#include <stdint.h> #define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10 #define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20 +struct song; + /* struct used for search, find, list queries */ typedef struct _LocateTagItem { int8_t tagType; @@ -44,8 +46,11 @@ void freeLocateTagItemArray(int count, LocateTagItem * array); void freeLocateTagItem(LocateTagItem * item); -int strstrSearchTags(Song * song, int numItems, LocateTagItem * items); +int +strstrSearchTags(struct song *song, int numItems, LocateTagItem * items); -int tagItemsFoundAndMatches(Song * song, int numItems, LocateTagItem * items); +int +tagItemsFoundAndMatches(struct song *song, int numItems, + LocateTagItem * items); #endif |