diff options
author | Colin Walters <walters@verbum.org> | 2014-04-29 08:54:39 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-04-29 10:59:57 -0400 |
commit | f040c02048978945ab82d31ced7c7db565647413 (patch) | |
tree | 276cb6b32263b238b7f6ad5fc06499d7ff13788f /src/libostree/ostree-async-progress.h | |
parent | 349083194d2064abf657494a15fc4bf456d80efd (diff) | |
download | ostree-f040c02048978945ab82d31ced7c7db565647413.tar.gz |
libostree: Add _finish() API to async progress
Since OstreeAsyncProgress queues to the mainloop, we might "lose" the
last message. Give callers a way to force a flush.
Diffstat (limited to 'src/libostree/ostree-async-progress.h')
-rw-r--r-- | src/libostree/ostree-async-progress.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libostree/ostree-async-progress.h b/src/libostree/ostree-async-progress.h index 71b2fba6..66430139 100644 --- a/src/libostree/ostree-async-progress.h +++ b/src/libostree/ostree-async-progress.h @@ -64,5 +64,7 @@ void ostree_async_progress_set_uint64 (OstreeAsyncProgress *self, const char *key, guint64 value); +void ostree_async_progress_finish (OstreeAsyncProgress *self); + G_END_DECLS |