aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_types.idl
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-03-01 12:26:14 +0000
committerIan Campbell <ian.campbell@citrix.com>2012-03-01 12:26:14 +0000
commit50cbda0d0b1bffa4a7af91b5ff8a65d88191fdbb (patch)
treefcc97d3b3fbf51bdccae615127ae6c94e4ff6a0c /tools/libxl/libxl_types.idl
parent966deb4db61ea44e2487c84daa0939f52416fa83 (diff)
downloadxen-50cbda0d0b1bffa4a7af91b5ff8a65d88191fdbb.tar.gz
xen-50cbda0d0b1bffa4a7af91b5ff8a65d88191fdbb.tar.bz2
xen-50cbda0d0b1bffa4a7af91b5ff8a65d88191fdbb.zip
libxl: add new "defbool" built in type.
This type is a but like a "boolean" but with a third state "default" (so really I suppose it's a tristate). Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r--tools/libxl/libxl_types.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl
index b8a39efd95..95c7d52dda 100644
--- a/tools/libxl/libxl_types.idl
+++ b/tools/libxl/libxl_types.idl
@@ -5,6 +5,8 @@
namespace("libxl_")
+libxl_defbool = Builtin("defbool", passby=PASS_BY_REFERENCE)
+
libxl_domid = Builtin("domid", json_fn = "yajl_gen_integer", autogenerate_json = False)
libxl_uuid = Builtin("uuid", passby=PASS_BY_REFERENCE)
libxl_mac = Builtin("mac", passby=PASS_BY_REFERENCE)