summaryrefslogtreecommitdiffstats
path: root/tools/ring-buffer.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-04-11 08:53:29 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-04-11 08:54:12 +0200
commit06d5b3438f682307db06074ce9709b949a9aa846 (patch)
tree99dbeeab1eeab0d890ad1a32842ffb3540c782c5 /tools/ring-buffer.h
parent1cb1a541bedd4e17085ab8ce04d0f5b2fc4d8d1d (diff)
downloaduca-06d5b3438f682307db06074ce9709b949a9aa846.tar.gz
uca-06d5b3438f682307db06074ce9709b949a9aa846.tar.bz2
uca-06d5b3438f682307db06074ce9709b949a9aa846.tar.xz
uca-06d5b3438f682307db06074ce9709b949a9aa846.zip
Move binaries to bin and make ring buffer a lib
Diffstat (limited to 'tools/ring-buffer.h')
-rw-r--r--tools/ring-buffer.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/ring-buffer.h b/tools/ring-buffer.h
deleted file mode 100644
index a3758cb..0000000
--- a/tools/ring-buffer.h
+++ /dev/null
@@ -1,29 +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);
-gsize ring_buffer_get_block_size (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