aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistDatabase.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-30 20:58:14 +0200
committerMax Kellermann <max@duempel.org>2014-07-30 22:17:01 +0200
commit9fb351a139a56fc7b1ece549894f8fc31fa887cd (patch)
tree7c9ce42a1262af587f1b9fede2b24ff39cef93fc /src/PlaylistDatabase.hxx
parent0d0ccacdf3e154b1cc27a0840fce80ac13f9641c (diff)
downloadmpd-9fb351a139a56fc7b1ece549894f8fc31fa887cd.tar.gz
mpd-9fb351a139a56fc7b1ece549894f8fc31fa887cd.tar.xz
mpd-9fb351a139a56fc7b1ece549894f8fc31fa887cd.zip
*Save, *State: use the OutputStream API instead of FILE*
Diffstat (limited to '')
-rw-r--r--src/PlaylistDatabase.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PlaylistDatabase.hxx b/src/PlaylistDatabase.hxx
index 48de64efa..17f82f64b 100644
--- a/src/PlaylistDatabase.hxx
+++ b/src/PlaylistDatabase.hxx
@@ -22,16 +22,15 @@
#include "check.h"
-#include <stdio.h>
-
#define PLAYLIST_META_BEGIN "playlist_begin: "
class PlaylistVector;
+class BufferedOutputStream;
class TextFile;
class Error;
void
-playlist_vector_save(FILE *fp, const PlaylistVector &pv);
+playlist_vector_save(BufferedOutputStream &os, const PlaylistVector &pv);
bool
playlist_metadata_load(TextFile &file, PlaylistVector &pv, const char *name,