/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_maachang_jni_io_NativeIO */

#ifndef _Included_org_maachang_jni_io_NativeIO
#define _Included_org_maachang_jni_io_NativeIO
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    init
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_init
  (JNIEnv *, jclass);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    malloc
 * Signature: (I)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_jni_io_NativeIO_malloc
  (JNIEnv *, jclass, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    realloc
 * Signature: (JI)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_jni_io_NativeIO_realloc
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    free
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_free
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    memset
 * Signature: (JBI)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_memset
  (JNIEnv *, jclass, jlong, jbyte, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    memcpy
 * Signature: (JJI)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_memcpy
  (JNIEnv *, jclass, jlong, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getByte
 * Signature: (J)B
 */
JNIEXPORT jbyte JNICALL Java_org_maachang_jni_io_NativeIO_getByte
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    putByte
 * Signature: (JB)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_putByte
  (JNIEnv *, jclass, jlong, jbyte);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getBinary
 * Signature: (J[BII)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_getBinary
  (JNIEnv *, jclass, jlong, jbyteArray, jint, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    putBinary
 * Signature: (J[BII)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_putBinary
  (JNIEnv *, jclass, jlong, jbyteArray, jint, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    putChar
 * Signature: (JC)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_putChar
  (JNIEnv *, jclass, jlong, jchar);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getChar
 * Signature: (J)C
 */
JNIEXPORT jchar JNICALL Java_org_maachang_jni_io_NativeIO_getChar
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    putShort
 * Signature: (JS)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_putShort
  (JNIEnv *, jclass, jlong, jshort);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getShort
 * Signature: (J)S
 */
JNIEXPORT jshort JNICALL Java_org_maachang_jni_io_NativeIO_getShort
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    putInt
 * Signature: (JI)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_putInt
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getInt
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_getInt
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    putLong
 * Signature: (JJ)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_putLong
  (JNIEnv *, jclass, jlong, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getLong
 * Signature: (J)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_jni_io_NativeIO_getLong
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    equalsBinary
 * Signature: (JJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_equalsBinary
  (JNIEnv *, jclass, jlong, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    fnv64
 * Signature: (JI)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_jni_io_NativeIO_fnv64
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    indexOf
 * Signature: (J[BII)V
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_indexOf
  (JNIEnv *, jclass, jlong, jint, jbyteArray, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    lastIndexOf
 * Signature: (J[BII)V
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_lastIndexOf
  (JNIEnv *, jclass, jlong, jint, jint, jbyteArray, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    compact
 * Signature: (J[BII)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_compact
  (JNIEnv *, jclass, jlong, jint, jint, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    open
 * Signature: (II[B)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_jni_io_NativeIO_open
  (JNIEnv *, jclass, jint, jint, jint, jbyteArray);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    close
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_org_maachang_jni_io_NativeIO_close
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    fsync
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_fsync
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    sRead
 * Signature: (JJJII)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_sRead
  (JNIEnv *, jclass, jlong, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    read
 * Signature: (JJJII)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_read
  (JNIEnv *, jclass, jlong, jlong, jlong, jint, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    sWrite
 * Signature: (JJJII)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_sWrite
  (JNIEnv *, jclass, jlong, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    write
 * Signature: (JJJII)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_write
  (JNIEnv *, jclass, jlong, jlong, jlong, jint, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getLength
 * Signature: (J)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_jni_io_NativeIO_getLength
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    setLength
 * Signature: (JJ)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_setLength
  (JNIEnv *, jclass, jlong, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    getSeek
 * Signature: (J)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_jni_io_NativeIO_getSeek
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    createMmap
 * Signature: ([JJIJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_createMmap
  (JNIEnv *, jclass, jlongArray, jlong, jint, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    closeMmap
 * Signature: (JJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_closeMmap
  (JNIEnv *, jclass, jlong, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    flushMmap
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_flushMmap
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    pageFileLength
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_pageFileLength
  (JNIEnv *, jclass);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    pageFileShift
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_pageFileShift
  (JNIEnv *, jclass);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    mmapLength
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_mmapLength
  (JNIEnv *, jclass, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    adler32
 * Signature: ([JJIJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_adler32
  (JNIEnv *, jclass, jint, jlong, jint);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    lzo1xCompress
 * Signature: ([JJIJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_lzo1xCompress
  (JNIEnv *, jclass, jlong, jint, jlong, jintArray, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    lzo1xDecompress
 * Signature: ([JJIJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_lzo1xDecompress
  (JNIEnv *, jclass, jlong, jint, jlong, jintArray, jlong);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    snappyMaxCompressedLength
 * Signature: ([JJIJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_snappyMaxCompressedLength
  (JNIEnv *, jclass, jint);


/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    snappyCompress
 * Signature: ([JJIJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_snappyCompress
  (JNIEnv *, jclass, jlong, jint, jlong, jintArray);

/*
 * Class:     org_maachang_jni_io_NativeIO
 * Method:    snappyDecompress
 * Signature: ([JJIJI)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_jni_io_NativeIO_snappyDecompress
  (JNIEnv *, jclass, jlong, jint, jlong, jintArray);


#ifdef __cplusplus
}
#endif
#endif
