sysroot: Add an unload() API

This will be used by gnome-continuous at least to drop the reference
to the fd so that unmounting can proceed.  See
https://git.gnome.org/browse/gnome-continuous/commit/?id=95e9910ea288d302509ca667e0d190dd89377dd5
This commit is contained in:
Colin Walters committed 2015-08-13 12:43:14 -04:00
1 parent 3861b79efd
commit 5c20ea920e
2 files changed
+21 -2

No files matched your search

+2
View File
@@ -45,6 +45,8 @@ gboolean ostree_sysroot_load (OstreeSysroot *self,
GCancellable *cancellable,
GError **error);
void ostree_sysroot_unload (OstreeSysroot *self);
gboolean ostree_sysroot_ensure_initialized (OstreeSysroot *self,
GCancellable *cancellable,
GError **error);