1 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
2 | #include <jni.h> |
3 | /* Header for class sun_nio_ch_Net */ |
4 | |
5 | #ifndef _Included_sun_nio_ch_Net |
6 | #define _Included_sun_nio_ch_Net |
7 | #ifdef __cplusplus |
8 | extern "C" { |
9 | #endif |
10 | #undef sun_nio_ch_Net_SHUT_RD |
11 | #define sun_nio_ch_Net_SHUT_RD 0L |
12 | #undef sun_nio_ch_Net_SHUT_WR |
13 | #define sun_nio_ch_Net_SHUT_WR 1L |
14 | #undef sun_nio_ch_Net_SHUT_RDWR |
15 | #define sun_nio_ch_Net_SHUT_RDWR 2L |
16 | /* |
17 | * Class: sun_nio_ch_Net |
18 | * Method: isIPv6Available0 |
19 | * Signature: ()Z |
20 | */ |
21 | JNIEXPORT jboolean JNICALL Java_sun_nio_ch_Net_isIPv6Available0 |
22 | (JNIEnv *, jclass); |
23 | |
24 | /* |
25 | * Class: sun_nio_ch_Net |
26 | * Method: isReusePortAvailable0 |
27 | * Signature: ()Z |
28 | */ |
29 | JNIEXPORT jboolean JNICALL Java_sun_nio_ch_Net_isReusePortAvailable0 |
30 | (JNIEnv *, jclass); |
31 | |
32 | /* |
33 | * Class: sun_nio_ch_Net |
34 | * Method: isExclusiveBindAvailable |
35 | * Signature: ()I |
36 | */ |
37 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_isExclusiveBindAvailable |
38 | (JNIEnv *, jclass); |
39 | |
40 | /* |
41 | * Class: sun_nio_ch_Net |
42 | * Method: canIPv6SocketJoinIPv4Group0 |
43 | * Signature: ()Z |
44 | */ |
45 | JNIEXPORT jboolean JNICALL Java_sun_nio_ch_Net_canIPv6SocketJoinIPv4Group0 |
46 | (JNIEnv *, jclass); |
47 | |
48 | /* |
49 | * Class: sun_nio_ch_Net |
50 | * Method: canJoin6WithIPv4Group0 |
51 | * Signature: ()Z |
52 | */ |
53 | JNIEXPORT jboolean JNICALL Java_sun_nio_ch_Net_canJoin6WithIPv4Group0 |
54 | (JNIEnv *, jclass); |
55 | |
56 | /* |
57 | * Class: sun_nio_ch_Net |
58 | * Method: socket0 |
59 | * Signature: (ZZZZ)I |
60 | */ |
61 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_socket0 |
62 | (JNIEnv *, jclass, jboolean, jboolean, jboolean, jboolean); |
63 | |
64 | /* |
65 | * Class: sun_nio_ch_Net |
66 | * Method: bind0 |
67 | * Signature: (Ljava/io/FileDescriptor;ZZLjava/net/InetAddress;I)V |
68 | */ |
69 | JNIEXPORT void JNICALL Java_sun_nio_ch_Net_bind0 |
70 | (JNIEnv *, jclass, jobject, jboolean, jboolean, jobject, jint); |
71 | |
72 | /* |
73 | * Class: sun_nio_ch_Net |
74 | * Method: listen |
75 | * Signature: (Ljava/io/FileDescriptor;I)V |
76 | */ |
77 | JNIEXPORT void JNICALL Java_sun_nio_ch_Net_listen |
78 | (JNIEnv *, jclass, jobject, jint); |
79 | |
80 | /* |
81 | * Class: sun_nio_ch_Net |
82 | * Method: connect0 |
83 | * Signature: (ZLjava/io/FileDescriptor;Ljava/net/InetAddress;I)I |
84 | */ |
85 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_connect0 |
86 | (JNIEnv *, jclass, jboolean, jobject, jobject, jint); |
87 | |
88 | /* |
89 | * Class: sun_nio_ch_Net |
90 | * Method: accept |
91 | * Signature: (Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;[Ljava/net/InetSocketAddress;)I |
92 | */ |
93 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_accept |
94 | (JNIEnv *, jclass, jobject, jobject, jobjectArray); |
95 | |
96 | /* |
97 | * Class: sun_nio_ch_Net |
98 | * Method: shutdown |
99 | * Signature: (Ljava/io/FileDescriptor;I)V |
100 | */ |
101 | JNIEXPORT void JNICALL Java_sun_nio_ch_Net_shutdown |
102 | (JNIEnv *, jclass, jobject, jint); |
103 | |
104 | /* |
105 | * Class: sun_nio_ch_Net |
106 | * Method: localPort |
107 | * Signature: (Ljava/io/FileDescriptor;)I |
108 | */ |
109 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_localPort |
110 | (JNIEnv *, jclass, jobject); |
111 | |
112 | /* |
113 | * Class: sun_nio_ch_Net |
114 | * Method: localInetAddress |
115 | * Signature: (Ljava/io/FileDescriptor;)Ljava/net/InetAddress; |
116 | */ |
117 | JNIEXPORT jobject JNICALL Java_sun_nio_ch_Net_localInetAddress |
118 | (JNIEnv *, jclass, jobject); |
119 | |
120 | /* |
121 | * Class: sun_nio_ch_Net |
122 | * Method: remotePort |
123 | * Signature: (Ljava/io/FileDescriptor;)I |
124 | */ |
125 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_remotePort |
126 | (JNIEnv *, jclass, jobject); |
127 | |
128 | /* |
129 | * Class: sun_nio_ch_Net |
130 | * Method: remoteInetAddress |
131 | * Signature: (Ljava/io/FileDescriptor;)Ljava/net/InetAddress; |
132 | */ |
133 | JNIEXPORT jobject JNICALL Java_sun_nio_ch_Net_remoteInetAddress |
134 | (JNIEnv *, jclass, jobject); |
135 | |
136 | /* |
137 | * Class: sun_nio_ch_Net |
138 | * Method: getIntOption0 |
139 | * Signature: (Ljava/io/FileDescriptor;ZII)I |
140 | */ |
141 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_getIntOption0 |
142 | (JNIEnv *, jclass, jobject, jboolean, jint, jint); |
143 | |
144 | /* |
145 | * Class: sun_nio_ch_Net |
146 | * Method: setIntOption0 |
147 | * Signature: (Ljava/io/FileDescriptor;ZIIIZ)V |
148 | */ |
149 | JNIEXPORT void JNICALL Java_sun_nio_ch_Net_setIntOption0 |
150 | (JNIEnv *, jclass, jobject, jboolean, jint, jint, jint, jboolean); |
151 | |
152 | /* |
153 | * Class: sun_nio_ch_Net |
154 | * Method: poll |
155 | * Signature: (Ljava/io/FileDescriptor;IJ)I |
156 | */ |
157 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_poll |
158 | (JNIEnv *, jclass, jobject, jint, jlong); |
159 | |
160 | /* |
161 | * Class: sun_nio_ch_Net |
162 | * Method: pollConnect |
163 | * Signature: (Ljava/io/FileDescriptor;J)Z |
164 | */ |
165 | JNIEXPORT jboolean JNICALL Java_sun_nio_ch_Net_pollConnect |
166 | (JNIEnv *, jclass, jobject, jlong); |
167 | |
168 | /* |
169 | * Class: sun_nio_ch_Net |
170 | * Method: available |
171 | * Signature: (Ljava/io/FileDescriptor;)I |
172 | */ |
173 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_available |
174 | (JNIEnv *, jclass, jobject); |
175 | |
176 | /* |
177 | * Class: sun_nio_ch_Net |
178 | * Method: sendOOB |
179 | * Signature: (Ljava/io/FileDescriptor;B)I |
180 | */ |
181 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_sendOOB |
182 | (JNIEnv *, jclass, jobject, jbyte); |
183 | |
184 | /* |
185 | * Class: sun_nio_ch_Net |
186 | * Method: joinOrDrop4 |
187 | * Signature: (ZLjava/io/FileDescriptor;III)I |
188 | */ |
189 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_joinOrDrop4 |
190 | (JNIEnv *, jclass, jboolean, jobject, jint, jint, jint); |
191 | |
192 | /* |
193 | * Class: sun_nio_ch_Net |
194 | * Method: blockOrUnblock4 |
195 | * Signature: (ZLjava/io/FileDescriptor;III)I |
196 | */ |
197 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_blockOrUnblock4 |
198 | (JNIEnv *, jclass, jboolean, jobject, jint, jint, jint); |
199 | |
200 | /* |
201 | * Class: sun_nio_ch_Net |
202 | * Method: joinOrDrop6 |
203 | * Signature: (ZLjava/io/FileDescriptor;[BI[B)I |
204 | */ |
205 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_joinOrDrop6 |
206 | (JNIEnv *, jclass, jboolean, jobject, jbyteArray, jint, jbyteArray); |
207 | |
208 | /* |
209 | * Class: sun_nio_ch_Net |
210 | * Method: blockOrUnblock6 |
211 | * Signature: (ZLjava/io/FileDescriptor;[BI[B)I |
212 | */ |
213 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_blockOrUnblock6 |
214 | (JNIEnv *, jclass, jboolean, jobject, jbyteArray, jint, jbyteArray); |
215 | |
216 | /* |
217 | * Class: sun_nio_ch_Net |
218 | * Method: setInterface4 |
219 | * Signature: (Ljava/io/FileDescriptor;I)V |
220 | */ |
221 | JNIEXPORT void JNICALL Java_sun_nio_ch_Net_setInterface4 |
222 | (JNIEnv *, jclass, jobject, jint); |
223 | |
224 | /* |
225 | * Class: sun_nio_ch_Net |
226 | * Method: getInterface4 |
227 | * Signature: (Ljava/io/FileDescriptor;)I |
228 | */ |
229 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_getInterface4 |
230 | (JNIEnv *, jclass, jobject); |
231 | |
232 | /* |
233 | * Class: sun_nio_ch_Net |
234 | * Method: setInterface6 |
235 | * Signature: (Ljava/io/FileDescriptor;I)V |
236 | */ |
237 | JNIEXPORT void JNICALL Java_sun_nio_ch_Net_setInterface6 |
238 | (JNIEnv *, jclass, jobject, jint); |
239 | |
240 | /* |
241 | * Class: sun_nio_ch_Net |
242 | * Method: getInterface6 |
243 | * Signature: (Ljava/io/FileDescriptor;)I |
244 | */ |
245 | JNIEXPORT jint JNICALL Java_sun_nio_ch_Net_getInterface6 |
246 | (JNIEnv *, jclass, jobject); |
247 | |
248 | /* |
249 | * Class: sun_nio_ch_Net |
250 | * Method: initIDs |
251 | * Signature: ()V |
252 | */ |
253 | JNIEXPORT void JNICALL Java_sun_nio_ch_Net_initIDs |
254 | (JNIEnv *, jclass); |
255 | |
256 | /* |
257 | * Class: sun_nio_ch_Net |
258 | * Method: pollinValue |
259 | * Signature: ()S |
260 | */ |
261 | JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollinValue |
262 | (JNIEnv *, jclass); |
263 | |
264 | /* |
265 | * Class: sun_nio_ch_Net |
266 | * Method: polloutValue |
267 | * Signature: ()S |
268 | */ |
269 | JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_polloutValue |
270 | (JNIEnv *, jclass); |
271 | |
272 | /* |
273 | * Class: sun_nio_ch_Net |
274 | * Method: pollerrValue |
275 | * Signature: ()S |
276 | */ |
277 | JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollerrValue |
278 | (JNIEnv *, jclass); |
279 | |
280 | /* |
281 | * Class: sun_nio_ch_Net |
282 | * Method: pollhupValue |
283 | * Signature: ()S |
284 | */ |
285 | JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollhupValue |
286 | (JNIEnv *, jclass); |
287 | |
288 | /* |
289 | * Class: sun_nio_ch_Net |
290 | * Method: pollnvalValue |
291 | * Signature: ()S |
292 | */ |
293 | JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollnvalValue |
294 | (JNIEnv *, jclass); |
295 | |
296 | /* |
297 | * Class: sun_nio_ch_Net |
298 | * Method: pollconnValue |
299 | * Signature: ()S |
300 | */ |
301 | JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollconnValue |
302 | (JNIEnv *, jclass); |
303 | |
304 | #ifdef __cplusplus |
305 | } |
306 | #endif |
307 | #endif |
308 | |