Home | History | Annotate | Download | only in native
      1 /* This file was generated from sun/nio/ch/FileChannelImpl.java and is
      2  * licensed under the same terms. The copyright and license information for
      3  * sun/nio/ch/FileChannelImpl.java follows.
      4  *
      5  * Copyright (c) 2000, 2011, 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_FileChannelImpl */
     31 
     32 #ifndef _Included_sun_nio_ch_FileChannelImpl
     33 #define _Included_sun_nio_ch_FileChannelImpl
     34 #ifdef __cplusplus
     35 extern "C" {
     36 #endif
     37 #undef sun_nio_ch_FileChannelImpl_MAPPED_TRANSFER_SIZE
     38 #define sun_nio_ch_FileChannelImpl_MAPPED_TRANSFER_SIZE 8388608LL
     39 #undef sun_nio_ch_FileChannelImpl_TRANSFER_SIZE
     40 #define sun_nio_ch_FileChannelImpl_TRANSFER_SIZE 8192L
     41 #undef sun_nio_ch_FileChannelImpl_MAP_RO
     42 #define sun_nio_ch_FileChannelImpl_MAP_RO 0L
     43 #undef sun_nio_ch_FileChannelImpl_MAP_RW
     44 #define sun_nio_ch_FileChannelImpl_MAP_RW 1L
     45 #undef sun_nio_ch_FileChannelImpl_MAP_PV
     46 #define sun_nio_ch_FileChannelImpl_MAP_PV 2L
     47 /*
     48  * Class:     sun_nio_ch_FileChannelImpl
     49  * Method:    map0
     50  * Signature: (IJJ)J
     51  */
     52 JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileChannelImpl_map0
     53   (JNIEnv *, jobject, jint, jlong, jlong);
     54 
     55 /*
     56  * Class:     sun_nio_ch_FileChannelImpl
     57  * Method:    unmap0
     58  * Signature: (JJ)I
     59  */
     60 JNIEXPORT jint JNICALL Java_sun_nio_ch_FileChannelImpl_unmap0
     61   (JNIEnv *, jclass, jlong, jlong);
     62 
     63 /*
     64  * Class:     sun_nio_ch_FileChannelImpl
     65  * Method:    transferTo0
     66  * Signature: (IJJI)J
     67  */
     68 JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileChannelImpl_transferTo0
     69   (JNIEnv *, jobject, jint, jlong, jlong, jint);
     70 
     71 /*
     72  * Class:     sun_nio_ch_FileChannelImpl
     73  * Method:    position0
     74  * Signature: (Ljava/io/FileDescriptor;J)J
     75  */
     76 JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileChannelImpl_position0
     77   (JNIEnv *, jobject, jobject, jlong);
     78 
     79 /*
     80  * Class:     sun_nio_ch_FileChannelImpl
     81  * Method:    initIDs
     82  * Signature: ()J
     83  */
     84 JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileChannelImpl_initIDs
     85   (JNIEnv *, jclass);
     86 
     87 #ifdef __cplusplus
     88 }
     89 #endif
     90 #endif
     91