writer: allow callers to define a counter range

This allows dynamic counter ids that can be allocated in blocks.
This commit is contained in:
Christian Hergert
2016-04-14 21:36:07 -07:00
parent 5356863f2e
commit d7ed2ddf30
2 changed files with 20 additions and 0 deletions

View File

@ -98,6 +98,8 @@ gboolean sp_capture_writer_flush (SpCaptureWriter *
gboolean sp_capture_writer_save_as (SpCaptureWriter *self,
const gchar *filename,
GError **error);
gint sp_capture_writer_request_counter (SpCaptureWriter *self,
guint n_counters);
SpCaptureReader *sp_capture_writer_create_reader (SpCaptureWriter *self,
GError **error);
gboolean sp_capture_writer_splice (SpCaptureWriter *self,