diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2006-11-20 15:37:58 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2006-11-20 15:37:58 +0000 |
commit | 08003904d7af58c0402b49805b9f87b3d9ebbc27 (patch) | |
tree | 4011968f22cf2a24d2841f55b90b52df782f32d1 /src/playlist.h | |
parent | 6d6155d766747ccd27ade7f0be66bff645b7a11f (diff) | |
download | mpd-08003904d7af58c0402b49805b9f87b3d9ebbc27.tar.gz mpd-08003904d7af58c0402b49805b9f87b3d9ebbc27.tar.xz mpd-08003904d7af58c0402b49805b9f87b3d9ebbc27.zip |
Adding functions for clearing/adding to stored playlists. Commands to make
use of these functions are still being worked on.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5075 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h index c5f291101..286450103 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -40,10 +40,16 @@ void savePlaylistState(FILE *); int clearPlaylist(int fd); +int clearStoredPlaylist(int fd, char *utf8file); + int addToPlaylist(int fd, char *file, int printId); +int addToStoredPlaylist(int fd, char *file, char *utf8file); + int addSongToPlaylist(int fd, Song * song, int printId); +int addSongToStoredPlaylist(int fd, Song *song, char *utf8file); + int showPlaylist(int fd); int deleteFromPlaylist(int fd, int song); |