aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-03-26 10:38:12 +0000
committerEric Wong <normalperson@yhbt.net>2008-03-26 10:38:12 +0000
commit1910df96a321085410be575a0148dce586929c4b (patch)
tree4842b80f383ac550f22687cf6dc19355d086c83d /src/outputBuffer.h
parent27f12c173d57d09d095d0e5ecfeb18acf5d2434a (diff)
downloadmpd-1910df96a321085410be575a0148dce586929c4b.tar.gz
mpd-1910df96a321085410be575a0148dce586929c4b.tar.xz
mpd-1910df96a321085410be575a0148dce586929c4b.zip
moved code to initOutputBuffer()
This patch moves code which initializes the OutputBuffer struct to outputBuffer.c. Although this is generally a good idea, it prepares the following patch. git-svn-id: https://svn.musicpd.org/mpd/trunk@7206 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h
index 150748328..9bd9d48c8 100644
--- a/src/outputBuffer.h
+++ b/src/outputBuffer.h
@@ -47,6 +47,8 @@ typedef struct _OutputBuffer {
volatile mpd_sint8 acceptMetadata;
} OutputBuffer;
+void initOutputBuffer(OutputBuffer * cb, char *chunks);
+
void clearOutputBuffer(OutputBuffer * cb);
void flushOutputBuffer(OutputBuffer * cb);