diff options
author | Max Kellermann <max@duempel.org> | 2013-01-15 01:17:39 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-15 10:59:28 +0100 |
commit | 4fa724461e558561402b05bd4eadf8c7b6874556 (patch) | |
tree | 75cf6e0cea19f7ccbb69eb111fc646e750194215 /src/util/fifo_buffer.h | |
parent | 1e2018ce831654f5bf649c5ae4d2e9b003c5a52e (diff) | |
download | mpd-4fa724461e558561402b05bd4eadf8c7b6874556.tar.gz mpd-4fa724461e558561402b05bd4eadf8c7b6874556.tar.xz mpd-4fa724461e558561402b05bd4eadf8c7b6874556.zip |
util/fifo_buffer: add method _init()
Diffstat (limited to 'src/util/fifo_buffer.h')
-rw-r--r-- | src/util/fifo_buffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/fifo_buffer.h b/src/util/fifo_buffer.h index 49c7f4992..ccea97d86 100644 --- a/src/util/fifo_buffer.h +++ b/src/util/fifo_buffer.h @@ -60,6 +60,9 @@ extern "C" { struct fifo_buffer * fifo_buffer_new(size_t size); +void +fifo_buffer_init(struct fifo_buffer *buffer, size_t size); + /** * Change the capacity of the #fifo_buffer, while preserving existing * data. |