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.
This commit is contained in:
Colin Walters committed 2016-03-03 21:56:23 -05:00
1 parent ebd0370976
commit fea786cb2d
10 files changed
+179 -24

No files matched your search

+1
View File
@@ -317,4 +317,5 @@ global:
ostree_repo_get_dfd;
ostree_repo_list_refs_ext;
ostree_sysroot_init_osname;
ostree_sysroot_load_if_changed;
} LIBOSTREE_2016.3;