diff options
author | Max Kellermann <max@duempel.org> | 2009-01-24 15:26:59 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-24 15:26:59 +0100 |
commit | 3582977e01d19556dcc7e44a6b71628a9f0a1d02 (patch) | |
tree | ea9f7056e8cd7789c1c4ef4cad7baa515650d0ca /src/dbUtils.c | |
parent | daa5f5924d7406cc9d82ee893942f95e81c18cba (diff) | |
download | mpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.tar.gz mpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.tar.xz mpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.zip |
locate: no CamelCase
Renamed functions and variables.
Diffstat (limited to 'src/dbUtils.c')
-rw-r--r-- | src/dbUtils.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c index 6bd0fe1af..bfe262b85 100644 --- a/src/dbUtils.c +++ b/src/dbUtils.c @@ -80,7 +80,7 @@ searchInDirectory(struct song *song, void *_data) struct search_data *data = _data; LocateTagItemArray *array = &data->array; - if (strstrSearchTags(song, array->numItems, array->items)) + if (locate_song_search(song, array->numItems, array->items)) return song_print_info(data->client, song); return 0; @@ -105,7 +105,7 @@ searchForSongsIn(struct client *client, const char *name, ret = db_walk(name, searchInDirectory, NULL, &data); - freeLocateTagItemArray(numItems, new_items); + locate_item_list_free(numItems, new_items); return ret; } @@ -116,7 +116,7 @@ findInDirectory(struct song *song, void *_data) struct search_data *data = _data; LocateTagItemArray *array = &data->array; - if (tagItemsFoundAndMatches(song, array->numItems, array->items)) + if (locate_song_match(song, array->numItems, array->items)) return song_print_info(data->client, song); return 0; @@ -146,8 +146,8 @@ searchStatsInDirectory(struct song *song, void *data) { SearchStats *stats = data; - if (tagItemsFoundAndMatches(song, stats->locateArray.numItems, - stats->locateArray.items)) { + if (locate_song_match(song, stats->locateArray.numItems, + stats->locateArray.items)) { stats->numberOfSongs++; if (song->tag->time > 0) stats->playTime += song->tag->time; @@ -283,8 +283,8 @@ listUniqueTagsInDirectory(struct song *song, void *_data) struct list_tags_data *data = _data; ListCommandItem *item = data->item; - if (tagItemsFoundAndMatches(song, item->numConditionals, - item->conditionals)) { + if (locate_song_match(song, item->numConditionals, + item->conditionals)) { visitTag(data->client, data->set, song, item->tagType); } |