split in java and c++ parts

This commit is contained in:
2013-03-22 19:31:26 +01:00
parent 817fcc796d
commit c5fdf90974
60 changed files with 15896 additions and 3 deletions

109
cpp/pipe/src/pipe.h Normal file
View File

@@ -0,0 +1,109 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class Pipes */
#ifndef _Included_pipe
#define _Included_pipe
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: Pipes
* Method: CreateNamedPipe
* Signature: (Ljava/lang/String;IIIIIII)I
*/
JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateNamedPipe
(JNIEnv *, jclass, jstring, jint, jint, jint, jint, jint, jint, jint);
/*
* Class: Pipes
* Method: ConnectNamedPipe
* Signature: (II)Z
*/
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_ConnectNamedPipe
(JNIEnv *, jclass, jint, jint);
/*
* Class: Pipes
* Method: GetLastError
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_pipe_Pipes_GetLastError
(JNIEnv *, jclass);
/*
* Class: Pipes
* Method: CloseHandle
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_CloseHandle
(JNIEnv *, jclass, jint);
/*
* Class: Pipes
* Method: ReadFile
* Signature: (II)[B
*/
JNIEXPORT jbyteArray JNICALL Java_pipe_Pipes_ReadFile
(JNIEnv *, jclass, jint, jint);
/*
* Class: Pipes
* Method: WriteFile
* Signature: (I[BI)I
*/
JNIEXPORT jint JNICALL Java_pipe_Pipes_WriteFile
(JNIEnv *, jclass, jint, jbyteArray, jint);
/*
* Class: Pipes
* Method: FlushFileBuffers
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_FlushFileBuffers
(JNIEnv *, jclass, jint);
/*
* Class: Pipes
* Method: DisconnectNamedPipe
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_DisconnectNamedPipe
(JNIEnv *, jclass, jint);
/*
* Class: Pipes
* Method: CreateFile
* Signature: (Ljava/lang/String;IIIIII)I
*/
JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateFile
(JNIEnv *, jclass, jstring, jint, jint, jint, jint, jint, jint);
/*
* Class: Pipes
* Method: WaitNamedPipe
* Signature: (Ljava/lang/String;I)Z
*/
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_WaitNamedPipe
(JNIEnv *, jclass, jstring, jint);
/*
* Class: Pipes
* Method: FormatMessage
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_pipe_Pipes_FormatMessage
(JNIEnv *, jclass, jint);
/*
* Class: Pipes
* Method: Print
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_pipe_Pipes_Print
(JNIEnv *, jclass, jstring);
#ifdef __cplusplus
}
#endif
#endif