| 1 |
770 |
jeremybenn |
/* DO NOT EDIT THIS FILE - it is machine generated */
|
| 2 |
|
|
|
| 3 |
|
|
#include <jni.h>
|
| 4 |
|
|
|
| 5 |
|
|
#ifndef __gnu_java_nio_EpollSelectorImpl__
|
| 6 |
|
|
#define __gnu_java_nio_EpollSelectorImpl__
|
| 7 |
|
|
|
| 8 |
|
|
#ifdef __cplusplus
|
| 9 |
|
|
extern "C"
|
| 10 |
|
|
{
|
| 11 |
|
|
#endif
|
| 12 |
|
|
|
| 13 |
|
|
JNIEXPORT jboolean JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1supported (JNIEnv *env, jclass);
|
| 14 |
|
|
JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_sizeof_1struct (JNIEnv *env, jclass);
|
| 15 |
|
|
JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1create (JNIEnv *env, jclass, jint);
|
| 16 |
|
|
JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1add (JNIEnv *env, jclass, jint, jint, jint);
|
| 17 |
|
|
JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1modify (JNIEnv *env, jclass, jint, jint, jint);
|
| 18 |
|
|
JNIEXPORT void JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete (JNIEnv *env, jclass, jint, jint);
|
| 19 |
|
|
JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait (JNIEnv *env, jclass, jint, jobject, jint, jint);
|
| 20 |
|
|
JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_selected_1fd (JNIEnv *env, jclass, jobject);
|
| 21 |
|
|
JNIEXPORT jint JNICALL Java_gnu_java_nio_EpollSelectorImpl_selected_1ops (JNIEnv *env, jclass, jobject);
|
| 22 |
|
|
|
| 23 |
|
|
#undef gnu_java_nio_EpollSelectorImpl_DEFAULT_EPOLL_SIZE
|
| 24 |
|
|
#define gnu_java_nio_EpollSelectorImpl_DEFAULT_EPOLL_SIZE 128L
|
| 25 |
|
|
#undef gnu_java_nio_EpollSelectorImpl_OP_ACCEPT
|
| 26 |
|
|
#define gnu_java_nio_EpollSelectorImpl_OP_ACCEPT 16L
|
| 27 |
|
|
#undef gnu_java_nio_EpollSelectorImpl_OP_CONNECT
|
| 28 |
|
|
#define gnu_java_nio_EpollSelectorImpl_OP_CONNECT 8L
|
| 29 |
|
|
#undef gnu_java_nio_EpollSelectorImpl_OP_READ
|
| 30 |
|
|
#define gnu_java_nio_EpollSelectorImpl_OP_READ 1L
|
| 31 |
|
|
#undef gnu_java_nio_EpollSelectorImpl_OP_WRITE
|
| 32 |
|
|
#define gnu_java_nio_EpollSelectorImpl_OP_WRITE 4L
|
| 33 |
|
|
|
| 34 |
|
|
#ifdef __cplusplus
|
| 35 |
|
|
}
|
| 36 |
|
|
#endif
|
| 37 |
|
|
|
| 38 |
|
|
#endif /* __gnu_java_nio_EpollSelectorImpl__ */
|