diff options
author | Ron Yorston <rmy@pobox.com> | 2019-05-27 11:56:52 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-05-27 11:56:52 +0100 |
commit | a61949401890cbb33a9d6c4571b51c53460ad438 (patch) | |
tree | 64dedaddb89896d5b1670a421af123670ca2120b /include/bb_archive.h | |
parent | 03a7b173605a890e1db5177ecd5b8dd591081c41 (diff) | |
parent | bcb1fc3e6ca6fe902610f507eaf9b0b58a5c583a (diff) | |
download | busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.tar.gz busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.tar.bz2 busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'include/bb_archive.h')
-rw-r--r-- | include/bb_archive.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h index b2cb7b347..58e4c21bb 100644 --- a/include/bb_archive.h +++ b/include/bb_archive.h | |||
@@ -252,6 +252,12 @@ typedef struct transformer_state_t { | |||
252 | off_t bytes_in; /* used in unzip code only: needs to know packed size */ | 252 | off_t bytes_in; /* used in unzip code only: needs to know packed size */ |
253 | uint32_t crc32; | 253 | uint32_t crc32; |
254 | time_t mtime; /* gunzip code may set this on exit */ | 254 | time_t mtime; /* gunzip code may set this on exit */ |
255 | |||
256 | union { /* if we read magic, it's saved here */ | ||
257 | uint8_t b[8]; | ||
258 | uint16_t b16[4]; | ||
259 | uint32_t b32[2]; | ||
260 | } magic; | ||
255 | } transformer_state_t; | 261 | } transformer_state_t; |
256 | 262 | ||
257 | void init_transformer_state(transformer_state_t *xstate) FAST_FUNC; | 263 | void init_transformer_state(transformer_state_t *xstate) FAST_FUNC; |