renamed package Pipes to Pipe

This commit is contained in:
2013-03-22 19:51:49 +01:00
parent 4b0cfbca8b
commit b4f01111ab
5 changed files with 24 additions and 24 deletions

Binary file not shown.

View File

@@ -5,7 +5,7 @@
#define DEBUG 0 #define DEBUG 0
JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateNamedPipe JNIEXPORT jint JNICALL Java_pipe_Pipe_CreateNamedPipe
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -43,7 +43,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateNamedPipe
return (jint) pipeHandler; return (jint) pipeHandler;
} }
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_ConnectNamedPipe JNIEXPORT jboolean JNICALL Java_pipe_Pipe_ConnectNamedPipe
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -57,7 +57,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_ConnectNamedPipe
return fConnected; return fConnected;
} }
JNIEXPORT jint JNICALL Java_pipe_Pipes_GetLastError JNIEXPORT jint JNICALL Java_pipe_Pipe_GetLastError
( (
JNIEnv *env, JNIEnv *env,
jclass className jclass className
@@ -67,7 +67,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_GetLastError
return (jint) errorNumber; return (jint) errorNumber;
} }
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_CloseHandle JNIEXPORT jboolean JNICALL Java_pipe_Pipe_CloseHandle
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -80,7 +80,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_CloseHandle
return result; return result;
} }
JNIEXPORT jbyteArray JNICALL Java_pipe_Pipes_ReadFile JNIEXPORT jbyteArray JNICALL Java_pipe_Pipe_ReadFile
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -117,7 +117,7 @@ JNIEXPORT jbyteArray JNICALL Java_pipe_Pipes_ReadFile
return lpBuffer; return lpBuffer;
} }
JNIEXPORT jint JNICALL Java_pipe_Pipes_WriteFile JNIEXPORT jint JNICALL Java_pipe_Pipe_WriteFile
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -156,7 +156,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_WriteFile
return bytesWritten; return bytesWritten;
} }
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_FlushFileBuffers JNIEXPORT jboolean JNICALL Java_pipe_Pipe_FlushFileBuffers
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -169,7 +169,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_FlushFileBuffers
return result; return result;
} }
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_DisconnectNamedPipe JNIEXPORT jboolean JNICALL Java_pipe_Pipe_DisconnectNamedPipe
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -182,7 +182,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_DisconnectNamedPipe
return result; return result;
} }
JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateFile JNIEXPORT jint JNICALL Java_pipe_Pipe_CreateFile
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -205,7 +205,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateFile
return (jint) pipeHandler; return (jint) pipeHandler;
} }
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_WaitNamedPipe JNIEXPORT jboolean JNICALL Java_pipe_Pipe_WaitNamedPipe
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -222,7 +222,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_WaitNamedPipe
return result; return result;
} }
JNIEXPORT jstring JNICALL Java_pipe_Pipes_FormatMessage JNIEXPORT jstring JNICALL Java_pipe_Pipe_FormatMessage
( (
JNIEnv *env, JNIEnv *env,
jclass className, jclass className,
@@ -250,7 +250,7 @@ JNIEXPORT jstring JNICALL Java_pipe_Pipes_FormatMessage
return (jstring) (*env)->NewStringUTF(env, lpDisplayBuf); return (jstring) (*env)->NewStringUTF(env, lpDisplayBuf);
} }
JNIEXPORT void JNICALL Java_pipe_Pipes_Print(JNIEnv *env, jclass className, jstring lpMsgBuf) JNIEXPORT void JNICALL Java_pipe_Pipe_Print(JNIEnv *env, jclass className, jstring lpMsgBuf)
{ {
const jbyte *str; const jbyte *str;
str = (*env)->GetStringUTFChars(env, lpMsgBuf, NULL); str = (*env)->GetStringUTFChars(env, lpMsgBuf, NULL);

View File

@@ -12,7 +12,7 @@ extern "C" {
* Method: CreateNamedPipe * Method: CreateNamedPipe
* Signature: (Ljava/lang/String;IIIIIII)I * Signature: (Ljava/lang/String;IIIIIII)I
*/ */
JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateNamedPipe JNIEXPORT jint JNICALL Java_pipe_Pipe_CreateNamedPipe
(JNIEnv *, jclass, jstring, jint, jint, jint, jint, jint, jint, jint); (JNIEnv *, jclass, jstring, jint, jint, jint, jint, jint, jint, jint);
/* /*
@@ -20,7 +20,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateNamedPipe
* Method: ConnectNamedPipe * Method: ConnectNamedPipe
* Signature: (II)Z * Signature: (II)Z
*/ */
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_ConnectNamedPipe JNIEXPORT jboolean JNICALL Java_pipe_Pipe_ConnectNamedPipe
(JNIEnv *, jclass, jint, jint); (JNIEnv *, jclass, jint, jint);
/* /*
@@ -28,7 +28,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_ConnectNamedPipe
* Method: GetLastError * Method: GetLastError
* Signature: ()I * Signature: ()I
*/ */
JNIEXPORT jint JNICALL Java_pipe_Pipes_GetLastError JNIEXPORT jint JNICALL Java_pipe_Pipe_GetLastError
(JNIEnv *, jclass); (JNIEnv *, jclass);
/* /*
@@ -36,7 +36,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_GetLastError
* Method: CloseHandle * Method: CloseHandle
* Signature: (I)Z * Signature: (I)Z
*/ */
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_CloseHandle JNIEXPORT jboolean JNICALL Java_pipe_Pipe_CloseHandle
(JNIEnv *, jclass, jint); (JNIEnv *, jclass, jint);
/* /*
@@ -44,7 +44,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_CloseHandle
* Method: ReadFile * Method: ReadFile
* Signature: (II)[B * Signature: (II)[B
*/ */
JNIEXPORT jbyteArray JNICALL Java_pipe_Pipes_ReadFile JNIEXPORT jbyteArray JNICALL Java_pipe_Pipe_ReadFile
(JNIEnv *, jclass, jint, jint); (JNIEnv *, jclass, jint, jint);
/* /*
@@ -52,7 +52,7 @@ JNIEXPORT jbyteArray JNICALL Java_pipe_Pipes_ReadFile
* Method: WriteFile * Method: WriteFile
* Signature: (I[BI)I * Signature: (I[BI)I
*/ */
JNIEXPORT jint JNICALL Java_pipe_Pipes_WriteFile JNIEXPORT jint JNICALL Java_pipe_Pipe_WriteFile
(JNIEnv *, jclass, jint, jbyteArray, jint); (JNIEnv *, jclass, jint, jbyteArray, jint);
/* /*
@@ -60,7 +60,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_WriteFile
* Method: FlushFileBuffers * Method: FlushFileBuffers
* Signature: (I)Z * Signature: (I)Z
*/ */
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_FlushFileBuffers JNIEXPORT jboolean JNICALL Java_pipe_Pipe_FlushFileBuffers
(JNIEnv *, jclass, jint); (JNIEnv *, jclass, jint);
/* /*
@@ -68,7 +68,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_FlushFileBuffers
* Method: DisconnectNamedPipe * Method: DisconnectNamedPipe
* Signature: (I)Z * Signature: (I)Z
*/ */
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_DisconnectNamedPipe JNIEXPORT jboolean JNICALL Java_pipe_Pipe_DisconnectNamedPipe
(JNIEnv *, jclass, jint); (JNIEnv *, jclass, jint);
/* /*
@@ -76,7 +76,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_DisconnectNamedPipe
* Method: CreateFile * Method: CreateFile
* Signature: (Ljava/lang/String;IIIIII)I * Signature: (Ljava/lang/String;IIIIII)I
*/ */
JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateFile JNIEXPORT jint JNICALL Java_pipe_Pipe_CreateFile
(JNIEnv *, jclass, jstring, jint, jint, jint, jint, jint, jint); (JNIEnv *, jclass, jstring, jint, jint, jint, jint, jint, jint);
/* /*
@@ -84,7 +84,7 @@ JNIEXPORT jint JNICALL Java_pipe_Pipes_CreateFile
* Method: WaitNamedPipe * Method: WaitNamedPipe
* Signature: (Ljava/lang/String;I)Z * Signature: (Ljava/lang/String;I)Z
*/ */
JNIEXPORT jboolean JNICALL Java_pipe_Pipes_WaitNamedPipe JNIEXPORT jboolean JNICALL Java_pipe_Pipe_WaitNamedPipe
(JNIEnv *, jclass, jstring, jint); (JNIEnv *, jclass, jstring, jint);
/* /*
@@ -92,7 +92,7 @@ JNIEXPORT jboolean JNICALL Java_pipe_Pipes_WaitNamedPipe
* Method: FormatMessage * Method: FormatMessage
* Signature: (I)Ljava/lang/String; * Signature: (I)Ljava/lang/String;
*/ */
JNIEXPORT jstring JNICALL Java_pipe_Pipes_FormatMessage JNIEXPORT jstring JNICALL Java_pipe_Pipe_FormatMessage
(JNIEnv *, jclass, jint); (JNIEnv *, jclass, jint);
/* /*
@@ -100,7 +100,7 @@ JNIEXPORT jstring JNICALL Java_pipe_Pipes_FormatMessage
* Method: Print * Method: Print
* Signature: (Ljava/lang/String;)V * Signature: (Ljava/lang/String;)V
*/ */
JNIEXPORT void JNICALL Java_pipe_Pipes_Print JNIEXPORT void JNICALL Java_pipe_Pipe_Print
(JNIEnv *, jclass, jstring); (JNIEnv *, jclass, jstring);
#ifdef __cplusplus #ifdef __cplusplus

Binary file not shown.

Binary file not shown.