diff options
author | Colin Walters <walters@verbum.org> | 2016-03-03 13:49:54 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2016-03-03 21:56:23 -0500 |
commit | fea786cb2d086865d83797c842d89b7352b27527 (patch) | |
tree | bac24418dca2ffef499d182b637b84591135fbcc /tests/libostreetest.h | |
parent | ebd03709764da853483f12a31a7e0c8c4c8f8d9f (diff) | |
download | ostree-fea786cb2d086865d83797c842d89b7352b27527.tar.gz |
lib: Add ostree_sysroot_load_if_changed() API
This will allow daemons like rpm-ostree to detect if there are any new
deployments efficiently, in combination with using inotify. If there
are any changes, rpm-ostree wants publish them on DBus.
While we're here, add some changes to start doing unit C testing of
the sysroot API.
Diffstat (limited to 'tests/libostreetest.h')
-rw-r--r-- | tests/libostreetest.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/libostreetest.h b/tests/libostreetest.h index 2ab93481..eb9bb0b2 100644 --- a/tests/libostreetest.h +++ b/tests/libostreetest.h @@ -27,13 +27,11 @@ G_BEGIN_DECLS -typedef struct { - OstreeRepo *repo; - GSubprocess *shell; -} OtTest; -gboolean ot_test_setup_repo (OtTest *self, - GCancellable *cancellable, - GError **error); +OstreeRepo *ot_test_setup_repo (GCancellable *cancellable, + GError **error); + +OstreeSysroot *ot_test_setup_sysroot (GCancellable *cancellable, + GError **error); G_END_DECLS |