Line 140:
Line 140:
optional criu_notify notify = 5;
optional criu_notify notify = 5;
optional criu_page_server_info ps = 6;
optional criu_page_server_info ps = 6;
+
+
optional int32 cr_errno = 7;
}
}
</pre>
</pre>
−
Field "success" reports result of processing request, while criu_***_resp store some request-specific information. The response type is set to the corresponding request type or to <code>EMPTY</code> to report a "generic" error.
+
Field "success" reports result of processing request, while criu_***_resp store some request-specific information. The response type is set to the corresponding request type or to <code>EMPTY</code> to report a "generic" error. If success == false one should check cr_errno field to get a more detailed error code(see [https://github.com/xemul/criu/blob/master/include/cr-errno.h#L8 include/cr-errno.h]).
;The criu_dump_resp is used to store response from DUMP request.
;The criu_dump_resp is used to store response from DUMP request.