Commit 2b147235 authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

protobuf: Add rpc.proto file with messages description

Signed-off-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent eb79300d
......@@ -56,6 +56,7 @@ proto-obj-y += file-lock.o
proto-obj-y += rlimit.o
proto-obj-y += pagemap.o
proto-obj-y += siginfo.o
proto-obj-y += rpc.o
proto := $(proto-obj-y:.o=)
proto-c := $(proto-obj-y:.o=.pb-c.c)
......
message criu_dump_req {
required int32 pid = 1; //if not set, will dump requesting process
required bool leave_running = 2;
required bool ext_unix_sk = 3;
required bool tcp_established = 4;
required bool evasive_devices = 5;
required bool shell_job = 6;
required bool file_locks = 7;
required int32 images_dir_fd = 8;
required int32 log_level = 9 [default = 2];
}
message criu_dump_resp {
required bool success = 1;
required bool restored = 2;
}
message criu_msg {
enum Type {
EMPTY = 0;
DUMPREQ = 1;
DUMPRESP = 2;
}
required Type type = 1;
optional criu_dump_req dump_req = 2;
optional criu_dump_resp dump_resp = 3;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment