ableos_userland/programs/aidl/assets/vfs.idl

24 lines
381 B
Plaintext
Raw Normal View History

2023-05-04 11:19:32 +00:00
Use core;
2023-05-04 07:27:04 +00:00
Constant VERSION Version{
major: 1,
minor: 0,
patch: 0,
}
Type Path = String;
Structure File {
name: String,
data: Vector<Byte>,
}
Interface File{
function new accepts(Path) returns(None);
// Open in this iteration assumes the file exists
function open accepts(Path) returns(File);
function close accepts(File) returns(None);
2023-05-04 11:19:32 +00:00
}