libsysprof: add client access to paranoid API

This commit is contained in:
Christian Hergert
2021-02-24 11:34:45 -08:00
parent 5a82ce21f2
commit 0abba0949d
2 changed files with 75 additions and 0 deletions

View File

@ -108,5 +108,14 @@ gboolean sysprof_helpers_set_governor_finish (SysprofHelpers
GAsyncResult *result,
gchar **old_governor,
GError **error);
void sysprof_helpers_set_paranoid_async (SysprofHelpers *self,
int paranoid,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean sysprof_helpers_set_paranoid_finish (SysprofHelpers *self,
GAsyncResult *result,
int *old_paranoid,
GError **error);
G_END_DECLS