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

#ifndef _Included_com_xixun_communicate_SpiDevice
#define _Included_com_xixun_communicate_SpiDevice
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     com_xixun_communicate_SpiDevice
 * Method:    Open
 * Signature: (Ljava/lang/String;I)Ljava/io/FileDescriptor;
 */
JNIEXPORT jobject JNICALL Java_com_xixun_communicate_SpiDevice_Open
  (JNIEnv *, jobject, jstring, jint);

/*
 * Class:     com_xixun_communicate_SpiDevice
 * Method:    Read
 * Signature: ([BI)I
 */
JNIEXPORT jint JNICALL Java_com_xixun_communicate_SpiDevice_Read
  (JNIEnv *, jobject, jbyteArray, jint);

/*
 * Class:     com_xixun_communicate_SpiDevice
 * Method:    Write
 * Signature: ([BI)I
 */
JNIEXPORT jint JNICALL Java_com_xixun_communicate_SpiDevice_Write
  (JNIEnv *, jobject, jbyteArray, jint);

/*
 * Class:     com_xixun_communicate_SpiDevice
 * Method:    Close
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_com_xixun_communicate_SpiDevice_Close
  (JNIEnv *, jobject);

#ifdef __cplusplus
}
#endif
#endif
