summaryrefslogtreecommitdiffstats
path: root/tools/gui/ring-buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gui/ring-buffer.h')
-rw-r--r--tools/gui/ring-buffer.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/gui/ring-buffer.h b/tools/gui/ring-buffer.h
deleted file mode 100644
index 9966eb7..0000000
--- a/tools/gui/ring-buffer.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef RING_BUFFER_H
-#define RING_BUFFER_H
-
-#include <glib.h>
-
-G_BEGIN_DECLS
-
-typedef struct {
- guchar *data;
- gsize block_size;
- guint n_blocks_total;
- guint n_blocks_used;
- guint current_index;
-} RingBuffer;
-
-RingBuffer * ring_buffer_new (gsize block_size,
- gsize n_blocks);
-void ring_buffer_free (RingBuffer *buffer);
-void ring_buffer_reset (RingBuffer *buffer);
-gpointer ring_buffer_get_current_pointer (RingBuffer *buffer);
-gpointer ring_buffer_get_pointer (RingBuffer *buffer,
- guint index);
-guint ring_buffer_get_num_blocks (RingBuffer *buffer);
-void ring_buffer_proceed (RingBuffer *buffer);
-
-G_END_DECLS
-
-#endif