mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
tools: ocaml: rename the create_info types and functions
The aims are: 1. make the records instantiable if they have field names in common; and 2. to make it easier to derive the names programatically from the IDL Signed-off-by: David Scott <dave.scott@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
This commit is contained in:
1 parent
1b5d4b16cd
commit
be7e7eaaa5
2 files changed
+30
-26
No files matched your search
+15
-13
@@ -15,19 +15,21 @@
|
||||
|
||||
exception Error of string
|
||||
|
||||
type create_info =
|
||||
{
|
||||
hvm : bool;
|
||||
hap : bool;
|
||||
oos : bool;
|
||||
ssidref : int32;
|
||||
name : string;
|
||||
uuid : int array;
|
||||
xsdata : (string * string) list;
|
||||
platformdata : (string * string) list;
|
||||
poolid : int32;
|
||||
poolname : string;
|
||||
}
|
||||
module Domain_create_info = struct
|
||||
type t =
|
||||
{
|
||||
hvm : bool;
|
||||
hap : bool;
|
||||
oos : bool;
|
||||
ssidref : int32;
|
||||
name : string;
|
||||
uuid : int array;
|
||||
xsdata : (string * string) list;
|
||||
platformdata : (string * string) list;
|
||||
poolid : int32;
|
||||
poolname : string;
|
||||
}
|
||||
end
|
||||
|
||||
type build_pv_info =
|
||||
{
|
||||
|
||||
+15
-13
@@ -15,19 +15,21 @@
|
||||
|
||||
exception Error of string
|
||||
|
||||
type create_info =
|
||||
{
|
||||
hvm : bool;
|
||||
hap : bool;
|
||||
oos : bool;
|
||||
ssidref : int32;
|
||||
name : string;
|
||||
uuid : int array;
|
||||
xsdata : (string * string) list;
|
||||
platformdata : (string * string) list;
|
||||
poolid : int32;
|
||||
poolname : string;
|
||||
}
|
||||
module Domain_create_info : sig
|
||||
type t =
|
||||
{
|
||||
hvm : bool;
|
||||
hap : bool;
|
||||
oos : bool;
|
||||
ssidref : int32;
|
||||
name : string;
|
||||
uuid : int array;
|
||||
xsdata : (string * string) list;
|
||||
platformdata : (string * string) list;
|
||||
poolid : int32;
|
||||
poolname : string;
|
||||
}
|
||||
end
|
||||
|
||||
type build_pv_info =
|
||||
{
|
||||
|
||||