2 * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file ringbuffer.h Exported symbols from ringbuffer.c. */
8 void *ringbuffer_new(unsigned size
);
9 void *ringbuffer_add(void *cookie
, void *data
);
10 void *ringbuffer_get(void *cookie
, int num
);
11 unsigned ringbuffer_filled(void *cookie
);