diff options
author | Philip Chimento <philip@endlessm.com> | 2019-11-04 13:21:36 -0800 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2019-11-20 12:24:26 -0800 |
commit | 54639c03ca7713d71088f1ac9d323063d4c116d7 (patch) | |
tree | d1b714cc8255b430505b714efe4a7c8d5a68011c /apidoc | |
parent | 382ad59822ebbc7b3ca30058bb5bb450a6ff91be (diff) | |
download | ostree-54639c03ca7713d71088f1ac9d323063d4c116d7.tar.gz |
libostree: Add ostree_async_progress_copy_state()
This allows copying the state from one OstreeAsyncProgress object to
another, atomically, without invoking the callback. This is needed in
libflatpak, in order to chain OstreeAsyncProgress objects so that you
can still receive progress updates when iterating a different
GMainContext than the one that the OstreeAsyncProgress object was
created under.
See https://github.com/flatpak/flatpak/pull/3211 for the application of
this API.
Diffstat (limited to 'apidoc')
-rw-r--r-- | apidoc/ostree-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apidoc/ostree-sections.txt b/apidoc/ostree-sections.txt index 252a563a..f99c4df5 100644 --- a/apidoc/ostree-sections.txt +++ b/apidoc/ostree-sections.txt @@ -3,6 +3,7 @@ OstreeAsyncProgress ostree_async_progress_new ostree_async_progress_new_and_connect +ostree_async_progress_copy_state ostree_async_progress_get_status ostree_async_progress_get ostree_async_progress_get_variant |