diff options
author | Max Kellermann <max@duempel.org> | 2009-01-23 16:22:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-23 16:22:43 +0100 |
commit | 4c77a4c4946b6ee029b1a050ed10401a53c91aee (patch) | |
tree | fc09aaa1afeca0acd8ee9b86b0135726c8d15fe3 /src/playlist.h | |
parent | 3a86a6ca169e987490f94883b7d5be1a9a1f1b3d (diff) | |
download | mpd-4c77a4c4946b6ee029b1a050ed10401a53c91aee.tar.gz mpd-4c77a4c4946b6ee029b1a050ed10401a53c91aee.tar.xz mpd-4c77a4c4946b6ee029b1a050ed10401a53c91aee.zip |
playlist: pass const pointers to search functions
The LocateTagItem objects are not modified.
Diffstat (limited to 'src/playlist.h')
-rw-r--r-- | src/playlist.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/playlist.h b/src/playlist.h index 14813ea17..c1c651a77 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -176,11 +176,13 @@ int playlistChangesPosId(struct client *client, uint32_t version); int PlaylistInfo(struct client *client, const char *utf8file, int detail); -void searchForSongsInPlaylist(struct client *client, - unsigned numItems, LocateTagItem * items); +void +searchForSongsInPlaylist(struct client *client, + unsigned numItems, const LocateTagItem *items); -void findSongsInPlaylist(struct client *client, - unsigned numItems, LocateTagItem * items); +void +findSongsInPlaylist(struct client *client, + unsigned numItems, const LocateTagItem *items); int is_valid_playlist_name(const char *utf8path); |