libostree: Move a lot more sysroot API here

OstreeBootloader is temporarily public API.
This commit is contained in:
Colin Walters committed 2013-09-15 18:08:06 -04:00
1 parent 6f929ca5af
commit 95f07d486a
25 files changed
+978 -851

No files matched your search

+31
View File
@@ -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