X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=filetree.mli;h=9730fef49dede99aabe09db8ffbc2dc65a48cd4a;hb=3b2348f5f4b770e3e7f886d851eeadc59bbd2357;hp=9207cf71bb263b7951da5603e3d3fac884c37106;hpb=c79fc07ff71926b3bf956ff296336f6f71bb3b1e;p=guestfs-browser.git diff --git a/filetree.mli b/filetree.mli index 9207cf7..9730fef 100644 --- a/filetree.mli +++ b/filetree.mli @@ -38,8 +38,10 @@ val create : packing:(GObj.widget -> unit) -> unit -> t val clear : t -> unit (** Clear out all rows in existing widget. *) -val add : t -> string -> Slave.inspection_data -> unit +val add : t -> string -> Slave_types.inspection_data -> unit (** [add t name data] clears out the widget and adds the operating - system and/or filesystems described by the [data] struct. The - [name] parameter should be some host-side (verifiable) name; - usually we pass the name of the guest from libvirt here. *) + system and/or filesystems described by the [data] struct. + + The [name] parameter should be some host-side (verifiable) name, + not any untrusted string from the guest; usually we pass the + name of the guest from libvirt here. *)