diff options
author | Max Kellermann <max@duempel.org> | 2014-01-06 21:46:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-07-12 00:15:35 +0200 |
commit | 9d9697b36626b2a74d9b535b284b6e3dacd2b414 (patch) | |
tree | 5e16e453ce9af6cf93818ac42b5ed10300d93a76 /src/DecoderBuffer.hxx | |
parent | 6585e18571df900c4ffe862ec02cd7376af7bbbd (diff) | |
download | mpd-9d9697b36626b2a74d9b535b284b6e3dacd2b414.tar.gz mpd-9d9697b36626b2a74d9b535b284b6e3dacd2b414.tar.xz mpd-9d9697b36626b2a74d9b535b284b6e3dacd2b414.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. * |