1 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
2 | #include <jni.h> |
3 | /* Header for class sun_nio_ch_EPoll */ |
4 | |
5 | #ifndef _Included_sun_nio_ch_EPoll |
6 | #define _Included_sun_nio_ch_EPoll |
7 | #ifdef __cplusplus |
8 | extern "C" { |
9 | #endif |
10 | #undef sun_nio_ch_EPoll_EPOLL_CTL_ADD |
11 | #define sun_nio_ch_EPoll_EPOLL_CTL_ADD 1L |
12 | #undef sun_nio_ch_EPoll_EPOLL_CTL_DEL |
13 | #define sun_nio_ch_EPoll_EPOLL_CTL_DEL 2L |
14 | #undef sun_nio_ch_EPoll_EPOLL_CTL_MOD |
15 | #define sun_nio_ch_EPoll_EPOLL_CTL_MOD 3L |
16 | #undef sun_nio_ch_EPoll_EPOLLIN |
17 | #define sun_nio_ch_EPoll_EPOLLIN 1L |
18 | #undef sun_nio_ch_EPoll_EPOLLOUT |
19 | #define sun_nio_ch_EPoll_EPOLLOUT 4L |
20 | #undef sun_nio_ch_EPoll_EPOLLONESHOT |
21 | #define sun_nio_ch_EPoll_EPOLLONESHOT 1073741824L |
22 | /* |
23 | * Class: sun_nio_ch_EPoll |
24 | * Method: eventSize |
25 | * Signature: ()I |
26 | */ |
27 | JNIEXPORT jint JNICALL Java_sun_nio_ch_EPoll_eventSize |
28 | (JNIEnv *, jclass); |
29 | |
30 | /* |
31 | * Class: sun_nio_ch_EPoll |
32 | * Method: eventsOffset |
33 | * Signature: ()I |
34 | */ |
35 | JNIEXPORT jint JNICALL Java_sun_nio_ch_EPoll_eventsOffset |
36 | (JNIEnv *, jclass); |
37 | |
38 | /* |
39 | * Class: sun_nio_ch_EPoll |
40 | * Method: dataOffset |
41 | * Signature: ()I |
42 | */ |
43 | JNIEXPORT jint JNICALL Java_sun_nio_ch_EPoll_dataOffset |
44 | (JNIEnv *, jclass); |
45 | |
46 | /* |
47 | * Class: sun_nio_ch_EPoll |
48 | * Method: create |
49 | * Signature: ()I |
50 | */ |
51 | JNIEXPORT jint JNICALL Java_sun_nio_ch_EPoll_create |
52 | (JNIEnv *, jclass); |
53 | |
54 | /* |
55 | * Class: sun_nio_ch_EPoll |
56 | * Method: ctl |
57 | * Signature: (IIII)I |
58 | */ |
59 | JNIEXPORT jint JNICALL Java_sun_nio_ch_EPoll_ctl |
60 | (JNIEnv *, jclass, jint, jint, jint, jint); |
61 | |
62 | /* |
63 | * Class: sun_nio_ch_EPoll |
64 | * Method: wait |
65 | * Signature: (IJII)I |
66 | */ |
67 | JNIEXPORT jint JNICALL Java_sun_nio_ch_EPoll_wait |
68 | (JNIEnv *, jclass, jint, jlong, jint, jint); |
69 | |
70 | #ifdef __cplusplus |
71 | } |
72 | #endif |
73 | #endif |
74 | |