1 /* This file was generated from sun/nio/ch/FileDispatcherImpl.java and is 2 * licensed under the same terms. The copyright and license information for 3 * sun/nio/ch/FileDispatcherImpl.java follows. 4 * 5 * Copyright (c) 2000, 2010, 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_FileDispatcherImpl */ 31 32 #ifndef _Included_sun_nio_ch_FileDispatcherImpl 33 #define _Included_sun_nio_ch_FileDispatcherImpl 34 #ifdef __cplusplus 35 extern "C" { 36 #endif 37 #undef sun_nio_ch_FileDispatcherImpl_NO_LOCK 38 #define sun_nio_ch_FileDispatcherImpl_NO_LOCK -1L 39 #undef sun_nio_ch_FileDispatcherImpl_LOCKED 40 #define sun_nio_ch_FileDispatcherImpl_LOCKED 0L 41 #undef sun_nio_ch_FileDispatcherImpl_RET_EX_LOCK 42 #define sun_nio_ch_FileDispatcherImpl_RET_EX_LOCK 1L 43 #undef sun_nio_ch_FileDispatcherImpl_INTERRUPTED 44 #define sun_nio_ch_FileDispatcherImpl_INTERRUPTED 2L 45 /* 46 * Class: sun_nio_ch_FileDispatcherImpl 47 * Method: read0 48 * Signature: (Ljava/io/FileDescriptor;JI)I 49 */ 50 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_read0 51 (JNIEnv *, jclass, jobject, jlong, jint); 52 53 /* 54 * Class: sun_nio_ch_FileDispatcherImpl 55 * Method: pread0 56 * Signature: (Ljava/io/FileDescriptor;JIJ)I 57 */ 58 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_pread0 59 (JNIEnv *, jclass, jobject, jlong, jint, jlong); 60 61 /* 62 * Class: sun_nio_ch_FileDispatcherImpl 63 * Method: readv0 64 * Signature: (Ljava/io/FileDescriptor;JI)J 65 */ 66 JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileDispatcherImpl_readv0 67 (JNIEnv *, jclass, jobject, jlong, jint); 68 69 /* 70 * Class: sun_nio_ch_FileDispatcherImpl 71 * Method: write0 72 * Signature: (Ljava/io/FileDescriptor;JI)I 73 */ 74 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_write0 75 (JNIEnv *, jclass, jobject, jlong, jint); 76 77 /* 78 * Class: sun_nio_ch_FileDispatcherImpl 79 * Method: pwrite0 80 * Signature: (Ljava/io/FileDescriptor;JIJ)I 81 */ 82 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_pwrite0 83 (JNIEnv *, jclass, jobject, jlong, jint, jlong); 84 85 /* 86 * Class: sun_nio_ch_FileDispatcherImpl 87 * Method: writev0 88 * Signature: (Ljava/io/FileDescriptor;JI)J 89 */ 90 JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileDispatcherImpl_writev0 91 (JNIEnv *, jclass, jobject, jlong, jint); 92 93 /* 94 * Class: sun_nio_ch_FileDispatcherImpl 95 * Method: force0 96 * Signature: (Ljava/io/FileDescriptor;Z)I 97 */ 98 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_force0 99 (JNIEnv *, jclass, jobject, jboolean); 100 101 /* 102 * Class: sun_nio_ch_FileDispatcherImpl 103 * Method: truncate0 104 * Signature: (Ljava/io/FileDescriptor;J)I 105 */ 106 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_truncate0 107 (JNIEnv *, jclass, jobject, jlong); 108 109 /* 110 * Class: sun_nio_ch_FileDispatcherImpl 111 * Method: size0 112 * Signature: (Ljava/io/FileDescriptor;)J 113 */ 114 JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileDispatcherImpl_size0 115 (JNIEnv *, jclass, jobject); 116 117 /* 118 * Class: sun_nio_ch_FileDispatcherImpl 119 * Method: lock0 120 * Signature: (Ljava/io/FileDescriptor;ZJJZ)I 121 */ 122 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_lock0 123 (JNIEnv *, jclass, jobject, jboolean, jlong, jlong, jboolean); 124 125 /* 126 * Class: sun_nio_ch_FileDispatcherImpl 127 * Method: release0 128 * Signature: (Ljava/io/FileDescriptor;JJ)V 129 */ 130 JNIEXPORT void JNICALL Java_sun_nio_ch_FileDispatcherImpl_release0 131 (JNIEnv *, jclass, jobject, jlong, jlong); 132 133 /* 134 * Class: sun_nio_ch_FileDispatcherImpl 135 * Method: close0 136 * Signature: (Ljava/io/FileDescriptor;)V 137 */ 138 JNIEXPORT void JNICALL Java_sun_nio_ch_FileDispatcherImpl_close0 139 (JNIEnv *, jclass, jobject); 140 141 /* 142 * Class: sun_nio_ch_FileDispatcherImpl 143 * Method: preClose0 144 * Signature: (Ljava/io/FileDescriptor;)V 145 */ 146 JNIEXPORT void JNICALL Java_sun_nio_ch_FileDispatcherImpl_preClose0 147 (JNIEnv *, jclass, jobject); 148 149 /* 150 * Class: sun_nio_ch_FileDispatcherImpl 151 * Method: closeIntFD 152 * Signature: (I)V 153 */ 154 JNIEXPORT void JNICALL Java_sun_nio_ch_FileDispatcherImpl_closeIntFD 155 (JNIEnv *, jclass, jint); 156 157 /* 158 * Class: sun_nio_ch_FileDispatcherImpl 159 * Method: init 160 * Signature: ()V 161 */ 162 JNIEXPORT void JNICALL Java_sun_nio_ch_FileDispatcherImpl_init 163 (JNIEnv *, jclass); 164 165 #ifdef __cplusplus 166 } 167 #endif 168 #endif 169