- Changed the project name according to the new naming convention
- Changed package names according to the new naming convention git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@277 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -1,205 +1,205 @@
|
||||
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||
#include <jni.h>
|
||||
/* Header for class ch_ntb_usb_LibusbJava */
|
||||
|
||||
#ifndef _Included_ch_ntb_usb_LibusbJava
|
||||
#define _Included_ch_ntb_usb_LibusbJava
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_set_debug
|
||||
* Signature: (I)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1debug
|
||||
(JNIEnv *, jclass, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_init
|
||||
* Signature: ()V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_ch_ntb_usb_LibusbJava_usb_1init
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_find_busses
|
||||
* Signature: ()I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1busses
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_find_devices
|
||||
* Signature: ()I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1find_1devices
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_get_busses
|
||||
* Signature: ()Lch/ntb/usb/Usb_Bus;
|
||||
*/
|
||||
JNIEXPORT jobject JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1busses
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_open
|
||||
* Signature: (Lch/ntb/usb/Usb_Device;)J
|
||||
*/
|
||||
JNIEXPORT jlong JNICALL Java_ch_ntb_usb_LibusbJava_usb_1open
|
||||
(JNIEnv *, jclass, jobject);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_close
|
||||
* Signature: (J)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1close
|
||||
(JNIEnv *, jclass, jlong);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_set_configuration
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1configuration
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_set_altinterface
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1set_1altinterface
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_clear_halt
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1clear_1halt
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_reset
|
||||
* Signature: (J)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1reset
|
||||
(JNIEnv *, jclass, jlong);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_claim_interface
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1claim_1interface
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_release_interface
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1release_1interface
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_control_msg
|
||||
* Signature: (JIIII[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1control_1msg
|
||||
(JNIEnv *, jclass, jlong, jint, jint, jint, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_get_string
|
||||
* Signature: (JII)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string
|
||||
(JNIEnv *, jclass, jlong, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_get_string_simple
|
||||
* Signature: (JI)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1string_1simple
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_get_descriptor
|
||||
* Signature: (JBBI)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor
|
||||
(JNIEnv *, jclass, jlong, jbyte, jbyte, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_get_descriptor_by_endpoint
|
||||
* Signature: (JIBBI)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor_1by_1endpoint
|
||||
(JNIEnv *, jclass, jlong, jint, jbyte, jbyte, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_bulk_write
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1write
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_bulk_read
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1bulk_1read
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_interrupt_write
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1write
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_interrupt_read
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1read
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_strerror
|
||||
* Signature: ()Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1strerror
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_usb_LibusbJava
|
||||
* Method: usb_error_no
|
||||
* Signature: (I)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1error_1no
|
||||
(JNIEnv *, jclass, jint);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||
#include <jni.h>
|
||||
/* Header for class ch_ntb_inf_libusbJava_LibusbJava */
|
||||
|
||||
#ifndef _Included_ch_ntb_inf_libusbJava_LibusbJava
|
||||
#define _Included_ch_ntb_inf_libusbJava_LibusbJava
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_set_debug
|
||||
* Signature: (I)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1debug
|
||||
(JNIEnv *, jclass, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_init
|
||||
* Signature: ()V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1init
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_find_busses
|
||||
* Signature: ()I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1find_1busses
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_find_devices
|
||||
* Signature: ()I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1find_1devices
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_get_busses
|
||||
* Signature: ()Lch/ntb/inf/libusbJava/Usb_Bus;
|
||||
*/
|
||||
JNIEXPORT jobject JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1busses
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_open
|
||||
* Signature: (Lch/ntb/inf/libusbJava/Usb_Device;)J
|
||||
*/
|
||||
JNIEXPORT jlong JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1open
|
||||
(JNIEnv *, jclass, jobject);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_close
|
||||
* Signature: (J)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1close
|
||||
(JNIEnv *, jclass, jlong);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_set_configuration
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1configuration
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_set_altinterface
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1set_1altinterface
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_clear_halt
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1clear_1halt
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_reset
|
||||
* Signature: (J)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1reset
|
||||
(JNIEnv *, jclass, jlong);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_claim_interface
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1claim_1interface
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_release_interface
|
||||
* Signature: (JI)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1release_1interface
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_control_msg
|
||||
* Signature: (JIIII[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1control_1msg
|
||||
(JNIEnv *, jclass, jlong, jint, jint, jint, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_get_string
|
||||
* Signature: (JII)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1string
|
||||
(JNIEnv *, jclass, jlong, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_get_string_simple
|
||||
* Signature: (JI)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1string_1simple
|
||||
(JNIEnv *, jclass, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_get_descriptor
|
||||
* Signature: (JBBI)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1descriptor
|
||||
(JNIEnv *, jclass, jlong, jbyte, jbyte, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_get_descriptor_by_endpoint
|
||||
* Signature: (JIBBI)Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1get_1descriptor_1by_1endpoint
|
||||
(JNIEnv *, jclass, jlong, jint, jbyte, jbyte, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_bulk_write
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1bulk_1write
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_bulk_read
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1bulk_1read
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_interrupt_write
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1interrupt_1write
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_interrupt_read
|
||||
* Signature: (JI[BII)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1interrupt_1read
|
||||
(JNIEnv *, jclass, jlong, jint, jbyteArray, jint, jint);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_strerror
|
||||
* Signature: ()Ljava/lang/String;
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1strerror
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: ch_ntb_inf_libusbJava_LibusbJava
|
||||
* Method: usb_error_no
|
||||
* Signature: (I)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_ch_ntb_inf_libusbJava_LibusbJava_usb_1error_1no
|
||||
(JNIEnv *, jclass, jint);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user