diff options
author | Anthony Green <green@redhat.com> | 2000-09-06 02:13:28 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-09-06 02:13:28 +0000 |
commit | 3ca8c9aea002945be6cc6164d3eee6e55acc1b67 (patch) | |
tree | f11498ff99199cfd9ecb821a470faf66c9a566dd /gcc/java/zipfile.h | |
parent | 2a7ffc85e5eb9506241ee725324156bc3da9cf69 (diff) | |
download | gcc-3ca8c9aea002945be6cc6164d3eee6e55acc1b67.zip gcc-3ca8c9aea002945be6cc6164d3eee6e55acc1b67.tar.gz gcc-3ca8c9aea002945be6cc6164d3eee6e55acc1b67.tar.bz2 |
jcf-io.c: Include zlib.h.
2000-09-02 Anthony Green <green@redhat.com>
* jcf-io.c: Include zlib.h.
(open_in_zip): Read compressed class file archives.
* zipfile.h (ZipDirectory): Add uncompressed_size and
compression_method fields.
* zextract.c (read_zip_archive): Collect file compression info.
From-SVN: r36175
Diffstat (limited to 'gcc/java/zipfile.h')
-rw-r--r-- | gcc/java/zipfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/zipfile.h b/gcc/java/zipfile.h index a19ec16..172829c 100644 --- a/gcc/java/zipfile.h +++ b/gcc/java/zipfile.h @@ -34,7 +34,9 @@ typedef struct ZipFile ZipFile; struct ZipDirectory { int direntry_size; int filename_offset; + int compression_method; long size; /* length of file */ + long uncompressed_size; /* length of uncompressed data */ long filestart; /* start of file in archive */ long filename_length; /* char mid_padding[...]; */ |