初版完成等待和服务器调试
1. 完成虚拟root节点的使用 2. 完成基础接口的实现和转发 等待完善自动获取登录IP的功能,config暂时需要配置端口
This commit is contained in:
16
proto/lws.proto
Normal file → Executable file
16
proto/lws.proto
Normal file → Executable file
@ -49,7 +49,7 @@ message HelloRequest { string name = 1; }
|
||||
message HelloReply { string message = 1; }
|
||||
|
||||
message file_info {
|
||||
int32 flags = 1;
|
||||
uint32 flags = 1;
|
||||
uint32 fh_old = 2;
|
||||
bool direct_io = 3;
|
||||
uint64 fh = 10;
|
||||
@ -102,9 +102,14 @@ message access {
|
||||
int32 ret = 15;
|
||||
}
|
||||
|
||||
message direntry {
|
||||
string name = 1;
|
||||
uint32 kind = 2;
|
||||
}
|
||||
|
||||
message readdir {
|
||||
string path = 1;
|
||||
repeated string dirs = 2;
|
||||
repeated direntry dirs = 2;
|
||||
uint32 offset = 3;
|
||||
file_info fi = 4;
|
||||
int32 ret = 15;
|
||||
@ -120,7 +125,7 @@ message read {
|
||||
string path = 1;
|
||||
bytes buff = 2;
|
||||
int64 size = 3;
|
||||
int64 offset = 4;
|
||||
uint64 offset = 4;
|
||||
file_info fi = 5;
|
||||
int32 ret = 15;
|
||||
}
|
||||
@ -128,8 +133,8 @@ message read {
|
||||
message write {
|
||||
string path = 1;
|
||||
bytes buff = 2;
|
||||
int64 size = 3;
|
||||
int64 offset = 4;
|
||||
uint64 size = 3;
|
||||
uint64 offset = 4;
|
||||
file_info fi = 5;
|
||||
int32 ret = 15;
|
||||
}
|
||||
@ -160,6 +165,7 @@ message chown {
|
||||
message release {
|
||||
string path = 1;
|
||||
file_info fi = 2;
|
||||
uint32 flush = 3;
|
||||
int32 ret = 15;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user