< prev index next >

src/java.base/share/native/libjli/manifest_info.h

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 25,34 **** --- 25,35 ---- #ifndef _MANIFEST_INFO_H #define _MANIFEST_INFO_H #include <sys/types.h> + #include "jni.h" /* * Zip file header signatures */ #define SIGSIZ 4 /* size of all header signatures */
*** 184,192 **** */ int JLI_ParseManifest(char *jarfile, manifest_info *info); void *JLI_JarUnpackFile(const char *jarfile, const char *filename, int *size); void JLI_FreeManifest(void); ! int JLI_ManifestIterate(const char *jarfile, attribute_closure ac, void *user_data); #endif /* _MANIFEST_INFO_H */ --- 185,195 ---- */ int JLI_ParseManifest(char *jarfile, manifest_info *info); void *JLI_JarUnpackFile(const char *jarfile, const char *filename, int *size); void JLI_FreeManifest(void); ! ! JNIEXPORT int JNICALL ! JLI_ManifestIterate(const char *jarfile, attribute_closure ac, void *user_data); #endif /* _MANIFEST_INFO_H */
< prev index next >