/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef _zipstruct_h #define _zipstruct_h
/* * Certain constants and structures for * the Phil Katz ZIP archive format. *
*/
/* * 'sizeof(struct XXX)' includes padding on ARM (see bug 87965) * As the internals of a jar/zip file must not depend on the target * architecture (i386, ppc, ARM, ...), use a fixed value instead.
*/ #define ZIPLOCAL_SIZE (4 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 2 + 2)
/* * 'sizeof(struct XXX)' includes padding on ARM (see bug 87965) * As the internals of a jar/zip file must not depend on the target * architecture (i386, ppc, ARM, ...), use a fixed value instead.
*/ #define ZIPCENTRAL_SIZE \
(4 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 2 + 2 + 2 + 2 + 2 + 4 + 4)
/* * 'sizeof(struct XXX)' includes padding on ARM (see bug 87965) * As the internals of a jar/zip file must not depend on the target * architecture (i386, ppc, ARM, ...), use a fixed value instead.
*/ #define ZIPEND_SIZE (4 + 2 + 2 + 2 + 2 + 4 + 4 + 2)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.