summaryrefslogtreecommitdiff
path: root/msg.proto
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-27 12:49:20 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-27 12:49:20 -0400
commit4e55928063b4f3378d2e9425c551ce0288ca39a2 (patch)
tree7c7959f3aaaf11ebd6f229ec9fd36d30035597f2 /msg.proto
parenta831d1e2391e67f6d6ad3284ab9858d9b8d610c1 (diff)
Add readFileSync
Diffstat (limited to 'msg.proto')
-rw-r--r--msg.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/msg.proto b/msg.proto
index 1c18c8018..ecd636618 100644
--- a/msg.proto
+++ b/msg.proto
@@ -19,6 +19,8 @@ message Msg {
TIMER_CLEAR = 8;
FETCH_REQ = 9;
FETCH_RES = 10;
+ READ_FILE_SYNC = 11;
+ READ_FILE_SYNC_RES = 12;
}
Command command = 1;
@@ -81,4 +83,10 @@ message Msg {
int32 fetch_res_status = 101;
repeated string fetch_res_header_line = 102;
bytes fetch_res_body = 103;
+
+ // READ_FILE_SYNC
+ string read_file_sync_filename = 110;
+
+ // READ_FILE_SYNC_RES
+ bytes read_file_sync_data = 120;
}