ringbuffer.h: Add GPL header.
[paraslash.git] / ringbuffer.h
1 /*
2 * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
3 *
4 * Licensed under the GPL v2. For licencing details see COPYING.
5 */
6
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);
12