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/playlist.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/playlist.h')
-rw-r--r-- | src/playlist.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/playlist.h b/src/playlist.h index 1249a8d5f..33b3bb2b6 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -53,11 +53,11 @@ void savePlaylistState(FILE *); void clearPlaylist(void); -int clearStoredPlaylist(int fd, char *utf8file); +int clearStoredPlaylist(int fd, const char *utf8file); -int addToPlaylist(int fd, char *file, int *added_id); +int addToPlaylist(int fd, const char *file, int *added_id); -int addToStoredPlaylist(int fd, char *file, char *utf8file); +int addToStoredPlaylist(int fd, const char *file, const char *utf8file); int addSongToPlaylist(int fd, Song * song, int *added_id); @@ -85,11 +85,11 @@ void previousSongInPlaylist(void); int shufflePlaylist(int fd); -int savePlaylist(int fd, char *utf8file); +int savePlaylist(int fd, const char *utf8file); -int deletePlaylist(int fd, char *utf8file); +int deletePlaylist(int fd, const char *utf8file); -int deletePlaylistById(int fd, char *utf8file); +int deletePlaylistById(int fd, const char *utf8file); void deleteASongFromPlaylist(Song * song); @@ -101,7 +101,7 @@ int swapSongsInPlaylist(int fd, int song1, int song2); int swapSongsInPlaylistById(int fd, int id1, int id2); -int loadPlaylist(int fd, char *utf8file); +int loadPlaylist(int fd, const char *utf8file); int getPlaylistRepeatStatus(void); @@ -131,7 +131,7 @@ int playlistChanges(int fd, mpd_uint32 version); int playlistChangesPosId(int fd, mpd_uint32 version); -int PlaylistInfo(int fd, char *utf8file, int detail); +int PlaylistInfo(int fd, const char *utf8file, int detail); void searchForSongsInPlaylist(int fd, int numItems, LocateTagItem * items); |