libsysprof-capture: add clear/reset API for mapped ring buffer

This commit is contained in:
Christian Hergert
2020-02-16 10:17:12 -07:00
parent 2329a6e25e
commit 53a351b66e
2 changed files with 24 additions and 0 deletions

View File

@ -66,6 +66,8 @@ MappedRingBuffer *mapped_ring_buffer_ref (MappedRingBuffer
G_GNUC_INTERNAL
void mapped_ring_buffer_unref (MappedRingBuffer *self);
G_GNUC_INTERNAL
void mapped_ring_buffer_clear (MappedRingBuffer *self);
G_GNUC_INTERNAL
gpointer mapped_ring_buffer_allocate (MappedRingBuffer *self,
gsize length);
G_GNUC_INTERNAL