From 514e9e500abdd8ea91ea3b2fca214587ee24a342 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 13 Dec 2019 02:00:36 +0100 Subject: Cleanup data writer Signed-off-by: David Oberhollenzer --- lib/sqfs/data_writer/internal.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/sqfs/data_writer/internal.h') diff --git a/lib/sqfs/data_writer/internal.h b/lib/sqfs/data_writer/internal.h index 24f520e..1a85644 100644 --- a/lib/sqfs/data_writer/internal.h +++ b/lib/sqfs/data_writer/internal.h @@ -148,6 +148,9 @@ SQFS_INTERNAL int test_and_set_status(sqfs_data_writer_t *proc, int status); SQFS_INTERNAL -int data_writer_enqueue(sqfs_data_writer_t *proc, sqfs_block_t *block); +int append_to_work_queue(sqfs_data_writer_t *proc, sqfs_block_t *block, + bool notify_threads); + +SQFS_INTERNAL int wait_completed(sqfs_data_writer_t *proc); #endif /* INTERNAL_H */ -- cgit v1.2.3