summaryrefslogtreecommitdiffstats
path: root/src/uca-ring-buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uca-ring-buffer.h')
-rw-r--r--src/uca-ring-buffer.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/uca-ring-buffer.h b/src/uca-ring-buffer.h
index 03e2cae..c90f2d2 100644
--- a/src/uca-ring-buffer.h
+++ b/src/uca-ring-buffer.h
@@ -32,13 +32,14 @@ UcaRingBuffer * uca_ring_buffer_new (gsize block_size,
guint n_blocks);
void uca_ring_buffer_reset (UcaRingBuffer *buffer);
gsize uca_ring_buffer_get_block_size (UcaRingBuffer *buffer);
-gpointer uca_ring_buffer_get_current_pointer (UcaRingBuffer *buffer);
-void uca_ring_buffer_set_current_pointer (UcaRingBuffer *buffer,
- guint index);
-gpointer uca_ring_buffer_get_pointer (UcaRingBuffer *buffer,
- guint index);
guint uca_ring_buffer_get_num_blocks (UcaRingBuffer *buffer);
+gboolean uca_ring_buffer_available (UcaRingBuffer *buffer);
void uca_ring_buffer_proceed (UcaRingBuffer *buffer);
+gpointer uca_ring_buffer_get_read_pointer (UcaRingBuffer *buffer);
+gpointer uca_ring_buffer_get_write_pointer (UcaRingBuffer *buffer);
+gpointer uca_ring_buffer_get_pointer (UcaRingBuffer *buffer,
+ guint index);
+gpointer uca_ring_buffer_peek_pointer (UcaRingBuffer *buffer);
GType uca_ring_buffer_get_type (void);