/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#ifndef _MANIFEST_INFO_H
#define _MANIFEST_INFO_H
/*
* Zip file header signatures
*/
/*
* Header sizes including signatures
*/
/*
* Header field access macros
*/
#define CH(b, n) (((unsigned char *)(b))[n])
/*
* Macros for getting local file (LOC) header fields
*/
/*
* Macros for getting extra local (EXT) header fields
*/
/*
* Macros for getting central directory header (CEN) fields
*/
/*
* Macros for getting end of central directory header (END) fields
*/
/*
* A comment of maximum length of 64kb can follow the END record. This
* is the furthest the END record can be from the end of the file.
*/
/*
* Supported compression methods.
*/
#define STORED 0
/*
* Information from the CEN entry to inflate a file.
*/
} zentry;
/*
* Information returned from the Manifest file by the ParseManifest() routine.
* Certainly (much) more could be returned, but this is the information
* currently of interest to the C based Java utilities (particularly the
* Java launcher).
*/
/*
* Attribute closure to provide to manifest_iterate.
*/
void *user_data);
/*
* Function prototypes.
*/
int *size);
void JLI_FreeManifest(void);
void *user_data);
#endif /* _MANIFEST_INFO_H */