1 /* This file was generated from java/io/UnixFileSystem.java and is licensed
2  * under the same terms. The copyright and license information for
3  * java/io/UnixFileSystem.java follows.
4  *
5  * Copyright (c) 1998, 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 java_io_UnixFileSystem */
31 
32 #ifndef _Included_java_io_UnixFileSystem
33 #define _Included_java_io_UnixFileSystem
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 #undef java_io_UnixFileSystem_BA_EXISTS
38 #define java_io_UnixFileSystem_BA_EXISTS 1L
39 #undef java_io_UnixFileSystem_BA_REGULAR
40 #define java_io_UnixFileSystem_BA_REGULAR 2L
41 #undef java_io_UnixFileSystem_BA_DIRECTORY
42 #define java_io_UnixFileSystem_BA_DIRECTORY 4L
43 #undef java_io_UnixFileSystem_BA_HIDDEN
44 #define java_io_UnixFileSystem_BA_HIDDEN 8L
45 #undef java_io_UnixFileSystem_ACCESS_READ
46 #define java_io_UnixFileSystem_ACCESS_READ 4L
47 #undef java_io_UnixFileSystem_ACCESS_WRITE
48 #define java_io_UnixFileSystem_ACCESS_WRITE 2L
49 #undef java_io_UnixFileSystem_ACCESS_EXECUTE
50 #define java_io_UnixFileSystem_ACCESS_EXECUTE 1L
51 #undef java_io_UnixFileSystem_SPACE_TOTAL
52 #define java_io_UnixFileSystem_SPACE_TOTAL 0L
53 #undef java_io_UnixFileSystem_SPACE_FREE
54 #define java_io_UnixFileSystem_SPACE_FREE 1L
55 #undef java_io_UnixFileSystem_SPACE_USABLE
56 #define java_io_UnixFileSystem_SPACE_USABLE 2L
57 /*
58  * Class:     java_io_UnixFileSystem
59  * Method:    canonicalize0
60  * Signature: (Ljava/lang/String;)Ljava/lang/String;
61  */
62 JNIEXPORT jstring JNICALL Java_java_io_UnixFileSystem_canonicalize0
63   (JNIEnv *, jobject, jstring);
64 
65 /*
66  * Class:     java_io_UnixFileSystem
67  * Method:    getBooleanAttributes0
68  * Signature: (Ljava/io/File;)I
69  */
70 JNIEXPORT jint JNICALL Java_java_io_UnixFileSystem_getBooleanAttributes0
71   (JNIEnv *, jobject, jobject);
72 
73 /*
74  * Class:     java_io_UnixFileSystem
75  * Method:    checkAccess
76  * Signature: (Ljava/io/File;I)Z
77  */
78 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_checkAccess
79   (JNIEnv *, jobject, jobject, jint);
80 
81 /*
82  * Class:     java_io_UnixFileSystem
83  * Method:    getLastModifiedTime
84  * Signature: (Ljava/io/File;)J
85  */
86 JNIEXPORT jlong JNICALL Java_java_io_UnixFileSystem_getLastModifiedTime
87   (JNIEnv *, jobject, jobject);
88 
89 /*
90  * Class:     java_io_UnixFileSystem
91  * Method:    getLength
92  * Signature: (Ljava/io/File;)J
93  */
94 JNIEXPORT jlong JNICALL Java_java_io_UnixFileSystem_getLength
95   (JNIEnv *, jobject, jobject);
96 
97 /*
98  * Class:     java_io_UnixFileSystem
99  * Method:    setPermission
100  * Signature: (Ljava/io/File;IZZ)Z
101  */
102 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_setPermission
103   (JNIEnv *, jobject, jobject, jint, jboolean, jboolean);
104 
105 /*
106  * Class:     java_io_UnixFileSystem
107  * Method:    createFileExclusively
108  * Signature: (Ljava/lang/String;)Z
109  */
110 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_createFileExclusively
111   (JNIEnv *, jobject, jstring);
112 
113 /*
114  * Class:     java_io_UnixFileSystem
115  * Method:    delete0
116  * Signature: (Ljava/io/File;)Z
117  */
118 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_delete0
119   (JNIEnv *, jobject, jobject);
120 
121 /*
122  * Class:     java_io_UnixFileSystem
123  * Method:    list
124  * Signature: (Ljava/io/File;)[Ljava/lang/String;
125  */
126 JNIEXPORT jobjectArray JNICALL Java_java_io_UnixFileSystem_list
127   (JNIEnv *, jobject, jobject);
128 
129 /*
130  * Class:     java_io_UnixFileSystem
131  * Method:    createDirectory
132  * Signature: (Ljava/io/File;)Z
133  */
134 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_createDirectory
135   (JNIEnv *, jobject, jobject);
136 
137 /*
138  * Class:     java_io_UnixFileSystem
139  * Method:    rename0
140  * Signature: (Ljava/io/File;Ljava/io/File;)Z
141  */
142 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_rename0
143   (JNIEnv *, jobject, jobject, jobject);
144 
145 /*
146  * Class:     java_io_UnixFileSystem
147  * Method:    setLastModifiedTime
148  * Signature: (Ljava/io/File;J)Z
149  */
150 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_setLastModifiedTime
151   (JNIEnv *, jobject, jobject, jlong);
152 
153 /*
154  * Class:     java_io_UnixFileSystem
155  * Method:    setReadOnly
156  * Signature: (Ljava/io/File;)Z
157  */
158 JNIEXPORT jboolean JNICALL Java_java_io_UnixFileSystem_setReadOnly
159   (JNIEnv *, jobject, jobject);
160 
161 /*
162  * Class:     java_io_UnixFileSystem
163  * Method:    getSpace
164  * Signature: (Ljava/io/File;I)J
165  */
166 JNIEXPORT jlong JNICALL Java_java_io_UnixFileSystem_getSpace
167   (JNIEnv *, jobject, jobject, jint);
168 
169 /*
170  * Class:     java_io_UnixFileSystem
171  * Method:    initIDs
172  * Signature: ()V
173  */
174 JNIEXPORT void JNICALL Java_java_io_UnixFileSystem_initIDs
175   (JNIEnv *, jclass);
176 
177 #ifdef __cplusplus
178 }
179 #endif
180 #endif
181