diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-01-26 20:19:19 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-01-26 20:25:52 +0200 |
commit | fd47fd62bbb1bfd13ab63869137971d8b390025f (patch) | |
tree | d40821d7650cb54e27e7ba783f84df136d993912 /src/xz/file_io.h | |
parent | xz: coder.c: Make writing output a separate function. (diff) | |
download | xz-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.h | 3 |
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; |