diff options
author | Max Kellermann <max@duempel.org> | 2014-01-06 21:46:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-06 21:59:43 +0100 |
commit | eac9fabd4835cfde118ed402154952810450018c (patch) | |
tree | 2b7df5f67a3755618975aa90b7643cfbe9a9e006 /src/DecoderBuffer.hxx | |
parent | e2a08fa824665f13e3a51af5cc7ce12f8253f8b9 (diff) | |
download | mpd-eac9fabd4835cfde118ed402154952810450018c.tar.gz mpd-eac9fabd4835cfde118ed402154952810450018c.tar.xz mpd-eac9fabd4835cfde118ed402154952810450018c.zip |
DecoderBuffer: add method _clear()
Diffstat (limited to 'src/DecoderBuffer.hxx')
-rw-r--r-- | src/DecoderBuffer.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DecoderBuffer.hxx b/src/DecoderBuffer.hxx index 92cc31aa4..70cf63faa 100644 --- a/src/DecoderBuffer.hxx +++ b/src/DecoderBuffer.hxx @@ -56,6 +56,9 @@ decoder_buffer_is_empty(const DecoderBuffer *buffer); bool decoder_buffer_is_full(const DecoderBuffer *buffer); +void +decoder_buffer_clear(DecoderBuffer *buffer); + /** * Read data from the input_stream and append it to the buffer. * |