diff options
author | Jon Medhurst <tixy@linaro.org> | 2013-01-14 08:34:37 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-01-15 11:01:37 +0000 |
commit | 10443d8e335e2ae4bb73d62f2e60484122fc6769 (patch) | |
tree | 8cc885bc69817dac112793467af0e37d7af5298c /daemon/Fifo.h | |
parent | ee4f56e0d75f42583505dd338d1b91e67ff0ab53 (diff) |
gator: Version 5.13DS-5.13
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'daemon/Fifo.h')
-rw-r--r-- | daemon/Fifo.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/daemon/Fifo.h b/daemon/Fifo.h index b460549..e2a5d94 100644 --- a/daemon/Fifo.h +++ b/daemon/Fifo.h @@ -15,13 +15,13 @@ class Fifo { public: Fifo(int singleBufferSize, int totalBufferSize); ~Fifo(); - int numBytesFilled(); - bool isEmpty(); - bool isFull(); - bool willFill(int additional); - char* start(); + int numBytesFilled() const; + bool isEmpty() const; + bool isFull() const; + bool willFill(int additional) const; + char* start() const; char* write(int length); - char* read(int* length); + char* read(int *const length); private: int mSingleBufferSize, mWrite, mRead, mReadCommit, mRaggedEnd, mWrapThreshold; |