aboutsummaryrefslogtreecommitdiff
path: root/fastjar/jartool.h
diff options
context:
space:
mode:
authorMatthias Klose <doko@gcc.gnu.org>2004-07-06 21:40:08 +0000
committerMatthias Klose <doko@gcc.gnu.org>2004-07-06 21:40:08 +0000
commit97b62d4781edb561dfc43fd79583026f11118982 (patch)
treecede115c5e69e77d0b68edda7dfceb560ccb5b15 /fastjar/jartool.h
parentca4f3d13192837e3c285b1b3179a09e6fbb49500 (diff)
downloadgcc-97b62d4781edb561dfc43fd79583026f11118982.zip
gcc-97b62d4781edb561dfc43fd79583026f11118982.tar.gz
gcc-97b62d4781edb561dfc43fd79583026f11118982.tar.bz2
[multiple changes]
2004-07-06 Matthias Klose <doko@debian.org> * Makefile.in: Regenerate. * fastjar.texi: Update for '-u'. 2004-05-19 Casey Marshall <csm@gnu.org> PR 7854 * Makefile.am (jar_SOURCES): added shift.c, shift.h. (jar_CPPFLAGS): define WITH_SHIFT_DOWN. * compress.c Added FSF copyright. (write_data): new function. (compress_file): call write_data. * jartool.c Updated copyright year. (progname): new variable. (end_of_entries): new variable. (main): open and read file when updating. (find_entry): new function. (looks_like_dir): new function. (read_entries): new function. (make_manifest): added parameter `updating'. Call `add_file_to_jar' with `updating'. (add_to_jar_with_dir): added parameter `updating'. Call `add_to_jar' with `updating'. (add_to_jar): added parameter `updating'. Call `add_file_to_jar' with `updating'. Don't add directories if they already exist. (add_file_to_jar): added parameter `updating'. Update entries if they already exist. * jartool.h Added #ifndef __FASTJAR_JARTOOL_H__. (struct zipentry): added `flags'. * shift.c: new file. * shift.h: new file. * zipfile.h (CEN_FLAGS): new constant. From-SVN: r84171
Diffstat (limited to 'fastjar/jartool.h')
-rw-r--r--fastjar/jartool.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fastjar/jartool.h b/fastjar/jartool.h
index e0aed65..11f0c88 100644
--- a/fastjar/jartool.h
+++ b/fastjar/jartool.h
@@ -52,6 +52,10 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef __FASTJAR_JARTOOL_H__
+#define __FASTJAR_JARTOOL_H__
+
+#include <sys/types.h>
#include "config.h"
#define ACTION_NONE 0
@@ -104,9 +108,12 @@ struct zipentry {
ub4 usize;
ub4 offset;
ub1 compressed;
+ ub2 flags;
char *filename;
struct zipentry *next_entry;
};
typedef struct zipentry zipentry;
+
+#endif /* __FASTJAR_JARTOOL_H__ */