diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-01-26 20:19:19 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-05 22:00:28 +0200 |
commit | acc0ef3ac80f18e349c6d0252177707105c0a29c (patch) | |
tree | 2944d71bf48ef6c7ec2253a37c6fa9ffa26e4124 /src/xz/file_io.h | |
parent | xz: coder.c: Make writing output a separate function. (diff) | |
download | xz-acc0ef3ac80f18e349c6d0252177707105c0a29c.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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/file_io.h b/src/xz/file_io.h index 3989c701..c533d641 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; |