delay jni init til the firt NewGlobalRef call
[cacao.git] / nat / java_nio_channels_FileChannelImpl.h
1 /* This file is machine generated, don't edit it !*/
2
3 #ifndef _JAVA_NIO_CHANNELS_FILECHANNELIMPL_H
4 #define _JAVA_NIO_CHANNELS_FILECHANNELIMPL_H
5
6 /* Structure information for class: java/nio/channels/FileChannelImpl */
7
8 typedef struct java_nio_channels_FileChannelImpl {
9    java_objectheader header;
10    s4 opened;
11    struct gnu_classpath_RawData* map_address;
12    s4 length;
13    struct java_io_FileDescriptor* fd;
14    struct java_nio_MappedByteBuffer* buf;
15    struct java_lang_Object* file_obj;
16 } java_nio_channels_FileChannelImpl;
17
18
19 /*
20  * Class:     java/nio/channels/FileChannelImpl
21  * Method:    implPosition
22  * Signature: ()J
23  */
24 JNIEXPORT s8 JNICALL Java_java_nio_channels_FileChannelImpl_implPosition(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this);
25
26
27 /*
28  * Class:     java/nio/channels/FileChannelImpl
29  * Method:    implPosition
30  * Signature: (J)Ljava/nio/channels/FileChannel;
31  */
32 JNIEXPORT struct java_nio_channels_FileChannel* JNICALL Java_java_nio_channels_FileChannelImpl0_implPosition(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this, s8 par1);
33
34
35 /*
36  * Class:     java/nio/channels/FileChannelImpl
37  * Method:    implTruncate
38  * Signature: (J)Ljava/nio/channels/FileChannel;
39  */
40 JNIEXPORT struct java_nio_channels_FileChannel* JNICALL Java_java_nio_channels_FileChannelImpl_implTruncate(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this, s8 par1);
41
42
43 /*
44  * Class:     java/nio/channels/FileChannelImpl
45  * Method:    nio_mmap_file
46  * Signature: (JJI)Lgnu/classpath/RawData;
47  */
48 JNIEXPORT struct gnu_classpath_RawData* JNICALL Java_java_nio_channels_FileChannelImpl_nio_mmap_file(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this, s8 par1, s8 par2, s4 par3);
49
50
51 /*
52  * Class:     java/nio/channels/FileChannelImpl
53  * Method:    nio_unmmap_file
54  * Signature: (Lgnu/classpath/RawData;I)V
55  */
56 JNIEXPORT void JNICALL Java_java_nio_channels_FileChannelImpl_nio_unmmap_file(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this, struct gnu_classpath_RawData* par1, s4 par2);
57
58
59 /*
60  * Class:     java/nio/channels/FileChannelImpl
61  * Method:    nio_msync
62  * Signature: (Lgnu/classpath/RawData;I)V
63  */
64 JNIEXPORT void JNICALL Java_java_nio_channels_FileChannelImpl_nio_msync(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this, struct gnu_classpath_RawData* par1, s4 par2);
65
66
67 /*
68  * Class:     java/nio/channels/FileChannelImpl
69  * Method:    size
70  * Signature: ()J
71  */
72 JNIEXPORT s8 JNICALL Java_java_nio_channels_FileChannelImpl_size(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this);
73
74
75 /*
76  * Class:     java/nio/channels/FileChannelImpl
77  * Method:    implRead
78  * Signature: ([BII)I
79  */
80 JNIEXPORT s4 JNICALL Java_java_nio_channels_FileChannelImpl_implRead(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this, java_bytearray* par1, s4 par2, s4 par3);
81
82
83 /*
84  * Class:     java/nio/channels/FileChannelImpl
85  * Method:    implWrite
86  * Signature: ([BII)I
87  */
88 JNIEXPORT s4 JNICALL Java_java_nio_channels_FileChannelImpl_implWrite(JNIEnv *env, struct java_nio_channels_FileChannelImpl* this, java_bytearray* par1, s4 par2, s4 par3);
89
90 #endif
91