summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sysroot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/ostree-sysroot.h')
-rw-r--r--src/libostree/ostree-sysroot.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot.h b/src/libostree/ostree-sysroot.h
index 490d5d2c..5df0ae70 100644
--- a/src/libostree/ostree-sysroot.h
+++ b/src/libostree/ostree-sysroot.h
@@ -21,6 +21,8 @@
#pragma once
#include "ostree-repo.h"
+#include "ostree-deployment.h"
+#include "ostree-bootloader.h"
G_BEGIN_DECLS
@@ -42,5 +44,34 @@ gboolean ostree_sysroot_ensure_initialized (OstreeSysroot *self,
GCancellable *cancellable,
GError **error);
+gboolean ostree_sysroot_read_current_subbootversion (OstreeSysroot *self,
+ int bootversion,
+ int *out_subbootversion,
+ GCancellable *cancellable,
+ GError **error);
+
+gboolean ostree_sysroot_list_deployments (OstreeSysroot *self,
+ int *out_bootversion,
+ GPtrArray **out_deployments,
+ GCancellable *cancellable,
+ GError **error);
+
+GFile *ostree_sysroot_get_deployment_directory (OstreeSysroot *self,
+ OstreeDeployment *deployment);
+
+GFile * ostree_sysroot_get_deployment_origin_path (GFile *deployment_path);
+
+gboolean ostree_sysroot_cleanup (OstreeSysroot *self,
+ GCancellable *cancellable,
+ GError **error);
+
+gboolean ostree_sysroot_get_repo (OstreeSysroot *self,
+ OstreeRepo **out_repo,
+ GCancellable *cancellable,
+ GError **error);
+
+OstreeBootloader *ostree_sysroot_query_bootloader (OstreeSysroot *sysroot);
+
+
G_END_DECLS