diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-30 23:32:47 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-30 23:32:47 +0000 |
commit | 12aec5738b8333a0dd676871bbfb6d6762ea87a5 (patch) | |
tree | b2bb99e19e6a771f01bb465f38f4d878d6a9d805 /src/playlist.h | |
parent | 381d7232a0d63c0a145fae5e2c40e577ff2f44f1 (diff) | |
download | mpd-12aec5738b8333a0dd676871bbfb6d6762ea87a5.tar.gz mpd-12aec5738b8333a0dd676871bbfb6d6762ea87a5.tar.xz mpd-12aec5738b8333a0dd676871bbfb6d6762ea87a5.zip |
Standardize state_file handling routines.
This way it's easier to manage and extend.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4494 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.h')
-rw-r--r-- | src/playlist.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/playlist.h b/src/playlist.h index 25ed45dfb..837bff161 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -34,9 +34,9 @@ void initPlaylist(); void finishPlaylist(); -void readPlaylistState(); +void readPlaylistState(FILE *); -void savePlaylistState(); +void savePlaylistState(FILE *); int clearPlaylist(int fd); @@ -116,6 +116,4 @@ int playlistChangesPosId(int fd, mpd_uint32 version); int PlaylistInfo(int fd, char *utf8file, int detail); -char *getStateFile(); - #endif |