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:
David Scott committed 2011-03-30 18:54:28 +01:00
1 parent 1b5d4b16cd
commit be7e7eaaa5
2 files changed
+30 -26

No files matched your search

+15 -13
View File
@@ -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
View File
@@ -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 =
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.