From e1d5ddb478cf8787f6472f14c0889af49b657c79 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 17 Jun 2014 02:32:10 +0200 Subject: input/AsyncInputStream: add method IsBufferFull() --- src/input/AsyncInputStream.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/input') diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx index f72e7465d..a2945be81 100644 --- a/src/input/AsyncInputStream.hxx +++ b/src/input/AsyncInputStream.hxx @@ -90,6 +90,10 @@ protected: return buffer.IsEmpty(); } + bool IsBufferFull() const { + return buffer.IsFull(); + } + gcc_pure size_t GetBufferSpace() const { return buffer.GetSpace(); -- cgit v1.2.3