1 /* This file was generated from sun/nio/ch/PollArrayWrapper.java and is licensed under the
2  * same terms. The copyright and license information for sun/nio/ch/Net.java
3  * follows.
4  *
5  * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
6  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7  *
8  * This code is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License version 2 only, as
10  * published by the Free Software Foundation.  Oracle designates this
11  * particular file as subject to the "Classpath" exception as provided
12  * by Oracle in the LICENSE file that accompanied this code.
13  *
14  * This code is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17  * version 2 for more details (a copy is included in the LICENSE file that
18  * accompanied this code).
19  *
20  * You should have received a copy of the GNU General Public License version
21  * 2 along with this work; if not, write to the Free Software Foundation,
22  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23  *
24  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
25  * or visit www.oracle.com if you need additional information or have any
26  * questions.
27  */
28 /* DO NOT EDIT THIS FILE - it is machine generated */
29 #include <jni.h>
30 /* Header for class sun_nio_ch_PollArrayWrapper */
31 
32 #ifndef _Included_sun_nio_ch_PollArrayWrapper
33 #define _Included_sun_nio_ch_PollArrayWrapper
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 #undef sun_nio_ch_PollArrayWrapper_SIZE_POLLFD
38 #define sun_nio_ch_PollArrayWrapper_SIZE_POLLFD 8L
39 #undef sun_nio_ch_PollArrayWrapper_FD_OFFSET
40 #define sun_nio_ch_PollArrayWrapper_FD_OFFSET 0L
41 #undef sun_nio_ch_PollArrayWrapper_EVENT_OFFSET
42 #define sun_nio_ch_PollArrayWrapper_EVENT_OFFSET 4L
43 #undef sun_nio_ch_PollArrayWrapper_REVENT_OFFSET
44 #define sun_nio_ch_PollArrayWrapper_REVENT_OFFSET 6L
45 /*
46  * Class:     sun_nio_ch_PollArrayWrapper
47  * Method:    poll0
48  * Signature: (JIJ)I
49  */
50 JNIEXPORT jint JNICALL Java_sun_nio_ch_PollArrayWrapper_poll0
51   (JNIEnv *, jobject, jlong, jint, jlong);
52 
53 /*
54  * Class:     sun_nio_ch_PollArrayWrapper
55  * Method:    interrupt
56  * Signature: (I)V
57  */
58 JNIEXPORT void JNICALL Java_sun_nio_ch_PollArrayWrapper_interrupt
59   (JNIEnv *, jclass, jint);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 #endif
65