libsysprof-capture: add byte-order helper

This isn't needed for reading captures, but can be helpful when dealing
with embedded data such as file frames.
This commit is contained in:
Christian Hergert
2019-05-28 15:45:38 -07:00
parent 3b3011544b
commit ffda366809
2 changed files with 10 additions and 0 deletions

View File

@ -40,6 +40,8 @@ SysprofCaptureReader *sysprof_capture_reader_ref
SYSPROF_AVAILABLE_IN_ALL
void sysprof_capture_reader_unref (SysprofCaptureReader *self);
SYSPROF_AVAILABLE_IN_ALL
gint sysprof_capture_reader_get_byte_order (SysprofCaptureReader *self);
SYSPROF_AVAILABLE_IN_ALL
const gchar *sysprof_capture_reader_get_filename (SysprofCaptureReader *self);
SYSPROF_AVAILABLE_IN_ALL
const gchar *sysprof_capture_reader_get_time (SysprofCaptureReader *self);