diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-06 02:13:28 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-06 02:13:28 +0000 |
commit | fad14b728e1d9972d915ebff92123ee25239c7f0 (patch) | |
tree | f11498ff99199cfd9ecb821a470faf66c9a566dd /gcc/java/zipfile.h | |
parent | 113d69fe69bfb51624e25133194636f1e00cd5eb (diff) | |
download | gcc-fad14b728e1d9972d915ebff92123ee25239c7f0.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36175 138bc75d-0d04-0410-961f-82ee72b054a4
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 a19ec169f72..172829cbd1c 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[...]; */ |