< prev index next >
src/java.base/share/native/libzip/zip_util.h
Print this page
rev 49551 : 8201226: missing JNIEXPORT / JNICALL at some places in function declarations/implementations
*** 239,258 ****
/*
* Index representing end of hash chain
*/
#define ZIP_ENDCHAIN ((jint)-1)
! JNIEXPORT jzentry * JNICALL
ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP);
! JNIEXPORT jboolean JNICALL
ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm);
! JNIEXPORT jzentry * JNICALL
ZIP_GetNextEntry(jzfile *zip, jint n);
! JNIEXPORT jzfile * JNICALL
ZIP_Open(const char *name, char **pmsg);
jzfile *
ZIP_Open_Generic(const char *name, char **pmsg, int mode, jlong lastModified);
--- 239,258 ----
/*
* Index representing end of hash chain
*/
#define ZIP_ENDCHAIN ((jint)-1)
! JNIEXPORT jzentry *
ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP);
! JNIEXPORT jboolean
ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm);
! JNIEXPORT jzentry *
ZIP_GetNextEntry(jzfile *zip, jint n);
! JNIEXPORT jzfile *
ZIP_Open(const char *name, char **pmsg);
jzfile *
ZIP_Open_Generic(const char *name, char **pmsg, int mode, jlong lastModified);
*** 263,276 ****
ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified);
jzfile *
ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, jboolean usemmap);
! JNIEXPORT void JNICALL
ZIP_Close(jzfile *zip);
! JNIEXPORT jzentry * JNICALL
ZIP_GetEntry(jzfile *zip, char *name, jint ulen);
JNIEXPORT void JNICALL
ZIP_Lock(jzfile *zip);
JNIEXPORT void JNICALL
ZIP_Unlock(jzfile *zip);
--- 263,276 ----
ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified);
jzfile *
ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, jboolean usemmap);
! JNIEXPORT void
ZIP_Close(jzfile *zip);
! JNIEXPORT jzentry *
ZIP_GetEntry(jzfile *zip, char *name, jint ulen);
JNIEXPORT void JNICALL
ZIP_Lock(jzfile *zip);
JNIEXPORT void JNICALL
ZIP_Unlock(jzfile *zip);
*** 279,287 ****
JNIEXPORT void JNICALL
ZIP_FreeEntry(jzfile *zip, jzentry *ze);
jlong ZIP_GetEntryDataOffset(jzfile *zip, jzentry *entry);
jzentry * ZIP_GetEntry2(jzfile *zip, char *name, jint ulen, jboolean addSlash);
! JNIEXPORT jboolean JNICALL
ZIP_InflateFully(void *inBuf, jlong inLen, void *outBuf, jlong outLen, char **pmsg);
#endif /* !_ZIP_H_ */
--- 279,287 ----
JNIEXPORT void JNICALL
ZIP_FreeEntry(jzfile *zip, jzentry *ze);
jlong ZIP_GetEntryDataOffset(jzfile *zip, jzentry *entry);
jzentry * ZIP_GetEntry2(jzfile *zip, char *name, jint ulen, jboolean addSlash);
! JNIEXPORT jboolean
ZIP_InflateFully(void *inBuf, jlong inLen, void *outBuf, jlong outLen, char **pmsg);
#endif /* !_ZIP_H_ */
< prev index next >