diff options
Diffstat (limited to 'include/gnu_java_nio_EpollSelectorImpl.h')
-rw-r--r-- | include/gnu_java_nio_EpollSelectorImpl.h | 94 |
1 files changed, 18 insertions, 76 deletions
diff --git a/include/gnu_java_nio_EpollSelectorImpl.h b/include/gnu_java_nio_EpollSelectorImpl.h index 188cdf9d5..0e43d1ce9 100644 --- a/include/gnu_java_nio_EpollSelectorImpl.h +++ b/include/gnu_java_nio_EpollSelectorImpl.h @@ -1,12 +1,24 @@ /* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __gnu_java_nio_EpollSelectorImpl__ +#define __gnu_java_nio_EpollSelectorImpl__ + #include <jni.h> -/* Header for class gnu_java_nio_EpollSelectorImpl */ -#ifndef _Included_gnu_java_nio_EpollSelectorImpl -#define _Included_gnu_java_nio_EpollSelectorImpl #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif + +JNIEXPORT jboolean JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1supported (JNIEnv *env, jclass); +JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_sizeof_1struct (JNIEnv *env, jclass); +JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1create (JNIEnv *env, jclass, jint); +JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1add (JNIEnv *env, jclass, jint, jint, jint); +JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1modify (JNIEnv *env, jclass, jint, jint, jint); +JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete (JNIEnv *env, jclass, jint, jint); +JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait (JNIEnv *env, jclass, jint, jobject, jint, jint); +JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_selected_1fd (JNIEnv *env, jclass, jobject); +JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_selected_1ops (JNIEnv *env, jclass, jobject); #undef gnu_java_nio_EpollSelectorImpl_DEFAULT_EPOLL_SIZE #define gnu_java_nio_EpollSelectorImpl_DEFAULT_EPOLL_SIZE 128L #undef gnu_java_nio_EpollSelectorImpl_OP_ACCEPT @@ -17,79 +29,9 @@ extern "C" { #define gnu_java_nio_EpollSelectorImpl_OP_READ 1L #undef gnu_java_nio_EpollSelectorImpl_OP_WRITE #define gnu_java_nio_EpollSelectorImpl_OP_WRITE 4L -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: epoll_supported - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1supported - (JNIEnv *, jclass); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: sizeof_struct - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_sizeof_1struct - (JNIEnv *, jclass); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: epoll_create - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1create - (JNIEnv *, jclass, jint); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: epoll_add - * Signature: (III)V - */ -JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1add - (JNIEnv *, jclass, jint, jint, jint); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: epoll_modify - * Signature: (III)V - */ -JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1modify - (JNIEnv *, jclass, jint, jint, jint); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: epoll_delete - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete - (JNIEnv *, jclass, jint, jint); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: epoll_wait - * Signature: (ILjava/nio/ByteBuffer;II)I - */ -JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait - (JNIEnv *, jclass, jint, jobject, jint, jint); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: selected_fd - * Signature: (Ljava/nio/ByteBuffer;)I - */ -JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_selected_1fd - (JNIEnv *, jclass, jobject); - -/* - * Class: gnu_java_nio_EpollSelectorImpl - * Method: selected_ops - * Signature: (Ljava/nio/ByteBuffer;)I - */ -JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_selected_1ops - (JNIEnv *, jclass, jobject); #ifdef __cplusplus } #endif -#endif + +#endif /* __gnu_java_nio_EpollSelectorImpl__ */ |