aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 15:26:59 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 15:26:59 +0100
commit3582977e01d19556dcc7e44a6b71628a9f0a1d02 (patch)
treeea9f7056e8cd7789c1c4ef4cad7baa515650d0ca /src/dbUtils.c
parentdaa5f5924d7406cc9d82ee893942f95e81c18cba (diff)
downloadmpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.tar.gz
mpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.tar.xz
mpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.zip
locate: no CamelCase
Renamed functions and variables.
Diffstat (limited to '')
-rw-r--r--src/dbUtils.c14
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);
}