aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-01-26 20:19:19 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-01-26 20:25:52 +0200
commitfd47fd62bbb1bfd13ab63869137971d8b390025f (patch)
treed40821d7650cb54e27e7ba783f84df136d993912 /src/xz/file_io.h
parentxz: coder.c: Make writing output a separate function. (diff)
downloadxz-fd47fd62bbb1bfd13ab63869137971d8b390025f.tar.xz
xz: Move flush_needed from mytime.h to file_pair struct in file_io.h.
Diffstat (limited to 'src/xz/file_io.h')
-rw-r--r--src/xz/file_io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/file_io.h b/src/xz/file_io.h
index 5da2c90a..8a9e3363 100644
--- a/src/xz/file_io.h
+++ b/src/xz/file_io.h
@@ -53,6 +53,9 @@ typedef struct {
/// since the previous flush or the start of the file.
bool src_has_seen_input;
+ /// For --flush-timeout: True when flushing is needed.
+ bool flush_needed;
+
/// If true, we look for long chunks of zeros and try to create
/// a sparse file.
bool dest_try_sparse;