summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sysroot.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-08-13 12:43:14 -0400
committerColin Walters <walters@verbum.org>2015-08-13 12:43:14 -0400
commit5c20ea920e0986686b3bd680a43a1ab1cdde37ea (patch)
treee8f818e8091a663873c4ec287cbf6c525548ac18 /src/libostree/ostree-sysroot.h
parent3861b79efd876cd6116700e8e94776cd1ef23219 (diff)
downloadostree-5c20ea920e0986686b3bd680a43a1ab1cdde37ea.tar.gz
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
Diffstat (limited to 'src/libostree/ostree-sysroot.h')
-rw-r--r--src/libostree/ostree-sysroot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot.h b/src/libostree/ostree-sysroot.h
index ce128bba..2fbc23b3 100644
--- a/src/libostree/ostree-sysroot.h
+++ b/src/libostree/ostree-sysroot.h
@@ -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);