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

#ifndef _Included_org_maachang_rawio_NativeRawIO
#define _Included_org_maachang_rawio_NativeRawIO
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    getSector
 * Signature: ([B)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_rawio_NativeRawIO_getSector
  (JNIEnv *, jclass, jbyteArray);

/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    getSectorByHandle
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_rawio_NativeRawIO_getSectorByHandle
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    rawOpen
 * Signature: ([B[B)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_rawio_NativeRawIO_rawOpen
  (JNIEnv *, jclass, jbyteArray, jbyteArray);

/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    rawClose
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_org_maachang_rawio_NativeRawIO_rawClose
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    rawWrite
 * Signature: (JI[B)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_rawio_NativeRawIO_rawWrite
  (JNIEnv *, jclass, jlong, jint, jbyteArray);

/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    rawRead
 * Signature: (JI[B)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_rawio_NativeRawIO_rawRead
  (JNIEnv *, jclass, jlong, jint, jbyteArray);

/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    getRawLength
 * Signature: (J)J
 */
JNIEXPORT jlong JNICALL Java_org_maachang_rawio_NativeRawIO_getRawLength
  (JNIEnv *, jclass, jlong);

/*
 * Class:     org_maachang_rawio_NativeRawIO
 * Method:    setRawLength
 * Signature: (JJ)I
 */
JNIEXPORT jint JNICALL Java_org_maachang_rawio_NativeRawIO_setRawLength
  (JNIEnv *, jclass, jlong, jlong);

#ifdef __cplusplus
}
#endif
#endif
