1 #ifndef __ORG_APACHE_HARMONY_LUNI_PLATFORM_IFILESYSTEM__
2 #define __ORG_APACHE_HARMONY_LUNI_PLATFORM_IFILESYSTEM__
3 
4 #include "xmlvm.h"
5 
6 // Preprocessor constants for interfaces:
7 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_read___long_byte_1ARRAY_int_int 7
8 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_write___long_byte_1ARRAY_int_int 17
9 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_readv___long_long_1ARRAY_int_1ARRAY_int_1ARRAY_int 8
10 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_writev___long_java_lang_Object_1ARRAY_int_1ARRAY_int_1ARRAY_int 18
11 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_readDirect___long_long_int_int 6
12 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_writeDirect___long_long_int_int 16
13 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_lock___long_long_long_int_boolean 4
14 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_unlock___long_long_long 15
15 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_seek___long_long_int 9
16 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_fflush___long_boolean 2
17 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_close___long 1
18 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_truncate___long_long 12
19 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_getAllocGranularity__ 3
20 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_open___byte_1ARRAY_int 5
21 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_transfer___long_java_io_FileDescriptor_long_long 11
22 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_ttyAvailable__ 13
23 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_available___long 0
24 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_size___long 10
25 #define XMLVM_ITABLE_IDX_org_apache_harmony_luni_platform_IFileSystem_ttyRead___byte_1ARRAY_int_int 14
26 // Implemented interfaces:
27 // Super Class:
28 #include "java_lang_Object.h"
29 
30 // Circular references:
31 #ifndef XMLVM_FORWARD_DECL_java_io_FileDescriptor
32 #define XMLVM_FORWARD_DECL_java_io_FileDescriptor
33 XMLVM_FORWARD_DECL(java_io_FileDescriptor)
34 #endif
35 
36 XMLVM_DEFINE_CLASS(org_apache_harmony_luni_platform_IFileSystem, 0, 0)
37 
38 extern JAVA_OBJECT __CLASS_org_apache_harmony_luni_platform_IFileSystem;
39 extern JAVA_OBJECT __CLASS_org_apache_harmony_luni_platform_IFileSystem_1ARRAY;
40 extern JAVA_OBJECT __CLASS_org_apache_harmony_luni_platform_IFileSystem_2ARRAY;
41 extern JAVA_OBJECT __CLASS_org_apache_harmony_luni_platform_IFileSystem_3ARRAY;
42 #ifndef XMLVM_FORWARD_DECL_org_apache_harmony_luni_platform_IFileSystem
43 #define XMLVM_FORWARD_DECL_org_apache_harmony_luni_platform_IFileSystem
44 typedef struct org_apache_harmony_luni_platform_IFileSystem org_apache_harmony_luni_platform_IFileSystem;
45 #endif
46 
47 void __INIT_org_apache_harmony_luni_platform_IFileSystem();
48 void __INIT_IMPL_org_apache_harmony_luni_platform_IFileSystem();
49 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_SHARED_LOCK_TYPE();
50 void org_apache_harmony_luni_platform_IFileSystem_PUT_SHARED_LOCK_TYPE(JAVA_INT v);
51 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_EXCLUSIVE_LOCK_TYPE();
52 void org_apache_harmony_luni_platform_IFileSystem_PUT_EXCLUSIVE_LOCK_TYPE(JAVA_INT v);
53 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_SEEK_SET();
54 void org_apache_harmony_luni_platform_IFileSystem_PUT_SEEK_SET(JAVA_INT v);
55 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_SEEK_CUR();
56 void org_apache_harmony_luni_platform_IFileSystem_PUT_SEEK_CUR(JAVA_INT v);
57 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_SEEK_END();
58 void org_apache_harmony_luni_platform_IFileSystem_PUT_SEEK_END(JAVA_INT v);
59 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_RDONLY();
60 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_RDONLY(JAVA_INT v);
61 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_WRONLY();
62 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_WRONLY(JAVA_INT v);
63 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_RDWR();
64 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_RDWR(JAVA_INT v);
65 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_RDWRSYNC();
66 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_RDWRSYNC(JAVA_INT v);
67 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_APPEND();
68 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_APPEND(JAVA_INT v);
69 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_CREAT();
70 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_CREAT(JAVA_INT v);
71 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_EXCL();
72 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_EXCL(JAVA_INT v);
73 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_NOCTTY();
74 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_NOCTTY(JAVA_INT v);
75 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_NONBLOCK();
76 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_NONBLOCK(JAVA_INT v);
77 JAVA_INT org_apache_harmony_luni_platform_IFileSystem_GET_O_TRUNC();
78 void org_apache_harmony_luni_platform_IFileSystem_PUT_O_TRUNC(JAVA_INT v);
79 
80 #endif
81