summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
authorAaron Power <theaaronepower@gmail.com>2018-08-31 12:51:12 +0100
committerRyan Dahl <ry@tinyclouds.org>2018-08-31 13:18:24 -0400
commitf131445a46555f1634aecae0fc1d4979b4cefa6d (patch)
treefb9847c7f1b6aebc98bc8ef788366dd90b3f9b12 /src/msg.fbs
parent45dafe15ee87b34d0c3c9b4bc72905c176514051 (diff)
Implemented deno.env and refactored flags.rs
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index eb3753d75..ca2e16af7 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -10,6 +10,8 @@ union Any {
TimerStart,
TimerReady,
TimerClear,
+ Environ,
+ EnvironRes,
FetchReq,
FetchRes,
MakeTempDir,
@@ -18,6 +20,7 @@ union Any {
ReadFileSyncRes,
StatSync,
StatSyncRes,
+ SetEnv,
WriteFileSync,
}
@@ -124,6 +127,22 @@ table TimerClear {
id: uint;
}
+table Environ {}
+
+table SetEnv {
+ key: string;
+ value: string;
+}
+
+table EnvironRes {
+ map: [EnvPair];
+}
+
+table EnvPair {
+ key: string;
+ value: string;
+}
+
table FetchReq {
id: uint;
url: string;