ffce92421b26a788ae7accc7b55301191422564b
[cacao.git] / src / native / vm / FileChannelImpl.c
1 /* nat/FileChannelImpl.c - java/nio/channels/FileChannelImpl
2
3    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4    R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser,
5    M. Probst, S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck,
6    P. Tomsich, J. Wenninger
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23    02111-1307, USA.
24
25    Contact: cacao@complang.tuwien.ac.at
26
27    Authors: Roman Obermaiser
28
29    Changes: Joseph Wenninger
30
31    $Id: FileChannelImpl.c 1067 2004-05-18 10:25:51Z stefan $
32
33 */
34
35
36 #include <stdlib.h>
37 #include "jni.h"
38 #include "types.h"
39 #include "toolbox/logging.h"
40 #include "gnu_classpath_RawData.h"
41 #include "java_nio_channels_FileChannelImpl.h"
42
43
44 /*
45  * Class:     java_nio_channels_FileChannelImpl
46  * Method:    implPosition
47  * Signature: ()J
48  */
49 JNIEXPORT s8 JNICALL Java_java_nio_channels_FileChannelImpl_implPosition(JNIEnv *env, java_nio_channels_FileChannelImpl *this) {
50         log_text("Java_java_nio_channels_FileChannelImpl_implPosition ");
51
52         return 0;
53 }
54
55
56 /*
57  * Class:     java_nio_channels_FileChannelImpl
58  * Method:    nio_mmap_file
59  * Signature: (JJI)Lgnu/classpath/RawData;
60  */
61 JNIEXPORT gnu_classpath_RawData* JNICALL Java_java_nio_channels_FileChannelImpl_nio_mmap_file(JNIEnv *env, java_nio_channels_FileChannelImpl *this, s8 par1, s8 par2, s4 par3)
62 {
63   log_text("Java_java_nio_channels_FileChannelImpl_nio_mmap_file");
64
65   return NULL;
66 }
67
68
69 /*
70  * Class:     java_nio_channels_FileChannelImpl
71  * Method:    nio_unmmap_file
72  * Signature: (Lgnu/classpath/RawData;I)V
73  */
74 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)
75 {
76         log_text("Java_java_nio_channels_FileChannelImpl_nio_unmmap_file");
77
78         return;
79 }
80
81
82 /*
83  * Class:     java_nio_channels_FileChannelImpl
84  * Method:    nio_msync
85  * Signature: (Lgnu/classpath/RawData;I)V
86  */
87 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)
88 {
89         log_text("Java_java_nio_channels_FileChannelImpl_nio_msync");
90
91         return;
92 }
93
94
95 /*
96  * These are local overrides for various environment variables in Emacs.
97  * Please do not remove this and leave it at the end of the file, where
98  * Emacs will automagically detect them.
99  * ---------------------------------------------------------------------
100  * Local variables:
101  * mode: c
102  * indent-tabs-mode: t
103  * c-basic-offset: 4
104  * tab-width: 4
105  * End:
106  */