From fe4653b02baf68d27ee101234db2b844e53313c6 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 17 Nov 2009 20:01:01 +0000 Subject: Move JNI code into project Move in existing EastAsianWidth code and add in Android Scripting Environment's JNI Exec code. git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@426 df292f66-193f-0410-a5fc-6d59da041ff2 --- jni/Exec/com_google_ase_Exec.h | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 jni/Exec/com_google_ase_Exec.h (limited to 'jni/Exec/com_google_ase_Exec.h') diff --git a/jni/Exec/com_google_ase_Exec.h b/jni/Exec/com_google_ase_Exec.h new file mode 100644 index 0000000..a2a6052 --- /dev/null +++ b/jni/Exec/com_google_ase_Exec.h @@ -0,0 +1,45 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include +/* Header for class com_google_ase_Exec */ + +#ifndef _Included_com_google_ase_Exec +#define _Included_com_google_ase_Exec +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: com_google_ase_Exec + * Method: createSubprocess + * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[I)Ljava/io/FileDescriptor; + */ +JNIEXPORT jobject JNICALL Java_com_google_ase_Exec_createSubprocess + (JNIEnv *, jclass, jstring, jstring, jstring, jintArray); + +/* + * Class: com_google_ase_Exec + * Method: setPtyWindowSize + * Signature: (Ljava/io/FileDescriptor;IIII)V + */ +JNIEXPORT void JNICALL Java_com_google_ase_Exec_setPtyWindowSize + (JNIEnv *, jclass, jobject, jint, jint, jint, jint); + +/* + * Class: com_google_ase_Exec + * Method: waitFor + * Signature: (I)I + */ +JNIEXPORT jint JNICALL Java_com_google_ase_Exec_waitFor + (JNIEnv *, jclass, jint); + +/* + * Class: com_google_ase_Exec + * Method: register + * Signature: ()I + */ +JNIEXPORT jint JNICALL Java_com_google_ase_Exec_register + (JNIEnv *, jclass); + +#ifdef __cplusplus +} +#endif +#endif -- cgit v1.2.3