Files
jlibusb/libusbdll/LibusbWin.h
schlaepfer 43628ec1bf - allocate and return Strings (interface changes)
- Version 00.02.00

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@149 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-05-10 13:17:22 +00:00

190 lines
4.8 KiB
C

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class ch_ntb_usb_LibusbWin */
#ifndef _Included_ch_ntb_usb_LibusbWin
#define _Included_ch_ntb_usb_LibusbWin
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_init
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbWin_usb_1init
(JNIEnv *, jobject);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_find_busses
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1find_1busses
(JNIEnv *, jobject);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_find_devices
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1find_1devices
(JNIEnv *, jobject);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_get_busses
* Signature: ()Lch/ntb/usb/Usb_Bus;
*/
JNIEXPORT jobject JNICALL Java_ch_ntb_usb_LibusbWin_usb_1get_1busses
(JNIEnv *, jobject);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_open
* Signature: (Lch/ntb/usb/Usb_Device;)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1open
(JNIEnv *, jobject, jobject);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_close
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1close
(JNIEnv *, jobject, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_set_configuration
* Signature: (II)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1set_1configuration
(JNIEnv *, jobject, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_set_altinterface
* Signature: (II)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1set_1altinterface
(JNIEnv *, jobject, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_clear_halt
* Signature: (II)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1clear_1halt
(JNIEnv *, jobject, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_reset
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1reset
(JNIEnv *, jobject, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_claim_interface
* Signature: (II)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1claim_1interface
(JNIEnv *, jobject, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_release_interface
* Signature: (II)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1release_1interface
(JNIEnv *, jobject, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_control_msg
* Signature: (IIIII[BII)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1control_1msg
(JNIEnv *, jobject, jint, jint, jint, jint, jint, jbyteArray, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_get_string
* Signature: (III)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbWin_usb_1get_1string
(JNIEnv *, jobject, jint, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_get_string_simple
* Signature: (II)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbWin_usb_1get_1string_1simple
(JNIEnv *, jobject, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_get_descriptor
* Signature: (IBBI)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbWin_usb_1get_1descriptor
(JNIEnv *, jobject, jint, jbyte, jbyte, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_get_descriptor_by_endpoint
* Signature: (IIBBI)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbWin_usb_1get_1descriptor_1by_1endpoint
(JNIEnv *, jobject, jint, jint, jbyte, jbyte, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_bulk_write
* Signature: (II[BII)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1bulk_1write
(JNIEnv *, jobject, jint, jint, jbyteArray, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_bulk_read
* Signature: (II[BII)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1bulk_1read
(JNIEnv *, jobject, jint, jint, jbyteArray, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_interrupt_write
* Signature: (II[BII)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1interrupt_1write
(JNIEnv *, jobject, jint, jint, jbyteArray, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_interrupt_read
* Signature: (II[BII)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbWin_usb_1interrupt_1read
(JNIEnv *, jobject, jint, jint, jbyteArray, jint, jint);
/*
* Class: ch_ntb_usb_LibusbWin
* Method: usb_strerror
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbWin_usb_1strerror
(JNIEnv *, jobject);
#ifdef __cplusplus
}
#endif
#endif