summaryrefslogtreecommitdiff
path: root/cli/msg.fbs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/msg.fbs')
-rw-r--r--cli/msg.fbs22
1 files changed, 22 insertions, 0 deletions
diff --git a/cli/msg.fbs b/cli/msg.fbs
index def17fed3..8fb92fee9 100644
--- a/cli/msg.fbs
+++ b/cli/msg.fbs
@@ -48,8 +48,10 @@ union Any {
PermissionRevoke,
Permissions,
PermissionsRes,
+ Read,
ReadDir,
ReadDirRes,
+ ReadRes,
Readlink,
ReadlinkRes,
Remove,
@@ -81,6 +83,8 @@ union Any {
WorkerGetMessage,
WorkerGetMessageRes,
WorkerPostMessage,
+ Write,
+ WriteRes,
}
enum ErrorKind: byte {
@@ -487,6 +491,24 @@ table OpenRes {
rid: uint32;
}
+table Read {
+ rid: uint32;
+ // (ptr, len) is passed as second parameter to Deno.core.send().
+}
+
+table ReadRes {
+ nread: uint;
+ eof: bool;
+}
+
+table Write {
+ rid: uint32;
+}
+
+table WriteRes {
+ nbyte: uint;
+}
+
table Close {
rid: uint32;
}