xref: /aosp_15_r20/libcore/ojluni/src/main/native/java_io_FileSystem.h (revision 89a6322812dc8573315e60046e7959c50dad91d4)
1  /* This file was generated from java/io/FileSystem.java and is licensed under
2   * the same terms. The copyright and license information for
3   * java/io/FileSystem.java follows.
4   *
5   * Copyright (c) 1998, 2005, 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_FileSystem */
31  
32  #ifndef _Included_java_io_FileSystem
33  #define _Included_java_io_FileSystem
34  #ifdef __cplusplus
35  extern "C" {
36  #endif
37  #undef java_io_FileSystem_BA_EXISTS
38  #define java_io_FileSystem_BA_EXISTS 1L
39  #undef java_io_FileSystem_BA_REGULAR
40  #define java_io_FileSystem_BA_REGULAR 2L
41  #undef java_io_FileSystem_BA_DIRECTORY
42  #define java_io_FileSystem_BA_DIRECTORY 4L
43  #undef java_io_FileSystem_BA_HIDDEN
44  #define java_io_FileSystem_BA_HIDDEN 8L
45  #undef java_io_FileSystem_ACCESS_OK
46  #define java_io_FileSystem_ACCESS_OK 8L
47  #undef java_io_FileSystem_ACCESS_READ
48  #define java_io_FileSystem_ACCESS_READ 4L
49  #undef java_io_FileSystem_ACCESS_WRITE
50  #define java_io_FileSystem_ACCESS_WRITE 2L
51  #undef java_io_FileSystem_ACCESS_EXECUTE
52  #define java_io_FileSystem_ACCESS_EXECUTE 1L
53  #undef java_io_FileSystem_SPACE_TOTAL
54  #define java_io_FileSystem_SPACE_TOTAL 0L
55  #undef java_io_FileSystem_SPACE_FREE
56  #define java_io_FileSystem_SPACE_FREE 1L
57  #undef java_io_FileSystem_SPACE_USABLE
58  #define java_io_FileSystem_SPACE_USABLE 2L
59  /*
60   * Class:     java_io_FileSystem
61   * Method:    getFileSystem
62   * Signature: ()Ljava/io/FileSystem;
63   */
64  JNIEXPORT jobject JNICALL Java_java_io_FileSystem_getFileSystem
65    (JNIEnv *, jclass);
66  
67  #ifdef __cplusplus
68  }
69  #endif
70  #endif
71