diff options
author | Max Kellermann <max@duempel.org> | 2008-09-06 15:28:31 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-06 15:28:31 +0200 |
commit | 35c0b84f0897508b1f2fb82d1fc096164621b2bb (patch) | |
tree | c9a129da91fca3808adb586de8eecf392defb486 /src/dbUtils.h | |
parent | d38d2bc3533dcfb661a3cbb8bd6cd9574c31ab69 (diff) | |
download | mpd-35c0b84f0897508b1f2fb82d1fc096164621b2bb.tar.gz mpd-35c0b84f0897508b1f2fb82d1fc096164621b2bb.tar.xz mpd-35c0b84f0897508b1f2fb82d1fc096164621b2bb.zip |
dbUtils, playlist, directory: pass constant pointers
The usual bunch of const pointer conversions.
Diffstat (limited to 'src/dbUtils.h')
-rw-r--r-- | src/dbUtils.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h index f2237eab7..89b69bfc3 100644 --- a/src/dbUtils.h +++ b/src/dbUtils.h @@ -21,25 +21,25 @@ #include "locate.h" -int printAllIn(int fd, char *name); +int printAllIn(int fd, const char *name); -int addAllIn(int fd, char *name); +int addAllIn(int fd, const char *name); -int addAllInToStoredPlaylist(int fd, char *name, char *utf8file); +int addAllInToStoredPlaylist(int fd, const char *name, const char *utf8file); -int printInfoForAllIn(int fd, char *name); +int printInfoForAllIn(int fd, const char *name); -int searchForSongsIn(int fd, char *name, int numItems, +int searchForSongsIn(int fd, const char *name, int numItems, LocateTagItem * items); -int findSongsIn(int fd, char *name, int numItems, LocateTagItem * items); +int findSongsIn(int fd, const char *name, int numItems, LocateTagItem * items); -int searchStatsForSongsIn(int fd, char *name, int numItems, +int searchStatsForSongsIn(int fd, const char *name, int numItems, LocateTagItem * items); -int countSongsIn(int fd, char *name); +int countSongsIn(int fd, const char *name); -unsigned long sumSongTimesIn(int fd, char *name); +unsigned long sumSongTimesIn(int fd, const char *name); int listAllUniqueTags(int fd, int type, int numConditiionals, LocateTagItem * conditionals); |