aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-01-01 10:09:18 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-01 10:09:18 +0000
commit68b9f4138140bb9c11a5f0009b23885e3f47adc5 (patch)
tree4a9d246b2e830334acb061e4aae6084ac4ffd0fb /src/playlist.h
parent47efe4232123443b3fd33732df08969f3fd7300e (diff)
downloadmpd-68b9f4138140bb9c11a5f0009b23885e3f47adc5.tar.gz
mpd-68b9f4138140bb9c11a5f0009b23885e3f47adc5.tar.xz
mpd-68b9f4138140bb9c11a5f0009b23885e3f47adc5.zip
playlist: avoid the use of newStoredPlaylist for saving active playlists
It was a nice way to double the memory needed to write the playlist to a file. git-svn-id: https://svn.musicpd.org/mpd/trunk@7116 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 6576ff27b..c725e8612 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -156,4 +156,6 @@ int deleteFromPlaylistQueueInternal(int song);
int playlistQueueInfo(int fd);
+int valid_playlist_name(int err_fd, const char *utf8path);
+
#endif