summaryrefslogtreecommitdiff
path: root/include/gnu_java_nio_EpollSelectorImpl.h
blob: 188cdf9d5828da5153c23d6867f7b658add69ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* DO NOT EDIT THIS FILE - it is machine generated */
#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" {
#endif
#undef gnu_java_nio_EpollSelectorImpl_DEFAULT_EPOLL_SIZE
#define gnu_java_nio_EpollSelectorImpl_DEFAULT_EPOLL_SIZE 128L
#undef gnu_java_nio_EpollSelectorImpl_OP_ACCEPT
#define gnu_java_nio_EpollSelectorImpl_OP_ACCEPT 16L
#undef gnu_java_nio_EpollSelectorImpl_OP_CONNECT
#define gnu_java_nio_EpollSelectorImpl_OP_CONNECT 8L
#undef gnu_java_nio_EpollSelectorImpl_OP_READ
#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