X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_xdr.ml;h=b44e2ef107745fec9d6935e5b1c3335371f7a01a;hp=494214996842031e6ef018c4108624fb74989326;hb=bf3b9e2e236b4dd2216200993ba39545ad5160bb;hpb=14490c3e1aac61c6ac90f28828896683f64f0dc9 diff --git a/generator/generator_xdr.ml b/generator/generator_xdr.ml index 4942149..b44e2ef 100644 --- a/generator/generator_xdr.ml +++ b/generator/generator_xdr.ml @@ -157,7 +157,7 @@ let generate_xdr () = */ const GUESTFS_PROGRAM = 0x2000F5F5; -const GUESTFS_PROTOCOL_VERSION = 2; +const GUESTFS_PROTOCOL_VERSION = 3; /* These constants must be larger than any possible message length. */ const GUESTFS_LAUNCH_FLAG = 0xf5f55ff5; @@ -181,7 +181,8 @@ enum guestfs_message_status { pr "\ struct guestfs_message_error { - int linux_errno; /* Linux errno if available. */ + string errno_string<32>; /* errno eg. \"EINVAL\", empty string + if errno not available */ string error_message; };