aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-22 16:12:34 +0100
committerMax Kellermann <max@duempel.org>2009-01-22 16:12:34 +0100
commit1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91 (patch)
treedeb75a9e6ea111728571f99357c69d05697531dc /src/dbUtils.h
parentd47be76ce09ab3de9dfd5989ea65ca305c723f73 (diff)
downloadmpd-1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91.tar.gz
mpd-1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91.tar.xz
mpd-1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91.zip
locate: use const pointers
Pass const pointers where no writes are performed.
Diffstat (limited to 'src/dbUtils.h')
-rw-r--r--src/dbUtils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h
index 5c8e71604..c7302a1b2 100644
--- a/src/dbUtils.h
+++ b/src/dbUtils.h
@@ -32,18 +32,18 @@ int addAllInToStoredPlaylist(const char *name, const char *utf8file);
int printInfoForAllIn(struct client *client, const char *name);
int searchForSongsIn(struct client *client, const char *name,
- int numItems, LocateTagItem * items);
+ int numItems, const LocateTagItem * items);
int findSongsIn(struct client *client, const char *name,
- int numItems, LocateTagItem * items);
+ int numItems, const LocateTagItem * items);
int searchStatsForSongsIn(struct client *client, const char *name,
- int numItems, LocateTagItem * items);
+ int numItems, const LocateTagItem * items);
unsigned long sumSongTimesIn(const char *name);
int listAllUniqueTags(struct client *client, int type, int numConditiionals,
- LocateTagItem * conditionals);
+ const LocateTagItem *conditionals);
void printSavedMemoryFromFilenames(void);