Files
mimis/cpp/pipe/src/pipe.h

110 lines
2.3 KiB
C

/* 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