[Yunq] First pass at parsing the yunq idl for ipc.
Writing my own idl to make ipc simpler and allow easy passing of capabilities between processes.
This commit is contained in:
parent
ee603b7478
commit
19f7ba44c4
2 changed files with 269 additions and 0 deletions
14
yunq/example.yunq
Normal file
14
yunq/example.yunq
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
interface File {
|
||||
method open (OpenFileRequest) -> (FileResponse);
|
||||
}
|
||||
|
||||
message OpenFileRequest {
|
||||
string path;
|
||||
u64 options;
|
||||
}
|
||||
|
||||
message File {
|
||||
string path;
|
||||
u64 attrs;
|
||||
capability mem_cap;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue