criu/images/remote-image.proto
Dmitry Safonov 1fe3523aca images: add proto2 syntax specification to remote-image.proto
To suppress protobuf's warning:
> [libprotobuf WARNING google/protobuf/compiler/parser.cc:546]
> No syntax specified for the proto file: remote-image.proto.
> Please use 'syntax = "proto2";' or 'syntax = "proto3";'
> to specify a syntax version. (Defaulted to proto2 syntax.)

Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-11-30 01:22:15 +03:00

22 lines
438 B
Protocol Buffer

syntax = "proto2";
message local_image_entry {
required string name = 1;
required string snapshot_id = 2;
required uint32 open_mode = 3;
}
message remote_image_entry {
required string name = 1;
required string snapshot_id = 2;
required uint32 open_mode = 3;
required uint64 size = 4;
}
message local_image_reply_entry {
required uint32 error = 1;
}
message snapshot_id_entry {
required string snapshot_id = 1;
}