Changes

Jump to navigation Jump to search
6 bytes added ,  18:57, 21 September 2013
no edit summary
Line 6: Line 6:  
== Protobuf messages ==
 
== Protobuf messages ==
 
criu_req/criu_resp -- wrappers for requests/responses. They are to be used for transferring messages. It is needed to provide compatibility with an older versions of rpc. Field type in them _must_ be set accordingly to type of request/response that is stored. Types of request/response are defined in enum criu_req_type.
 
criu_req/criu_resp -- wrappers for requests/responses. They are to be used for transferring messages. It is needed to provide compatibility with an older versions of rpc. Field type in them _must_ be set accordingly to type of request/response that is stored. Types of request/response are defined in enum criu_req_type.
 +
 +
=== criu_req_type ===
 +
There is only 1 request/response type for now.
 +
<pre>enum criu_req_type {
 +
EMPTY = 0;
 +
DUMP = 1;
 +
}
 +
</pre>
 +
    
=== criu_req ===
 
=== criu_req ===
Line 16: Line 25:  
</pre>
 
</pre>
   −
=== criu_req_type ===
+
==== criu_dump_req ====
There is only 1 request/response type for now.
  −
<pre>enum criu_req_type {
  −
EMPTY = 0;
  −
DUMP = 1;
  −
}
  −
</pre>
  −
=== criu_dump_req ===
   
criu_dump_req is used to store dump options.
 
criu_dump_req is used to store dump options.
 
<pre>message criu_dump_req {
 
<pre>message criu_dump_req {
Line 55: Line 57:  
}
 
}
 
</pre>
 
</pre>
=== criu_dump_resp ===
+
==== criu_dump_resp ====
 
criu_dump_resp is used to store response from CRIU.
 
criu_dump_resp is used to store response from CRIU.
 
<pre>
 
<pre>
85

edits

Navigation menu