package xenstore

  1. Overview
  2. Docs

Parameters

module IO : IO

Signature

type client
val set_logger : (string -> unit) -> unit
val make : unit -> client IO.t
val set_watch_callback : client -> watch_callback -> unit
type handle
val immediate : client -> (handle -> 'a IO.t) -> 'a IO.t
val transaction : client -> (handle -> 'a IO.t) -> 'a IO.t
val wait : client -> (handle -> 'a IO.t) -> 'a Task.u
val directory : handle -> string -> string list IO.t
val read : handle -> string -> string IO.t
val write : handle -> string -> string -> unit IO.t
val rm : handle -> string -> unit IO.t
val mkdir : handle -> string -> unit IO.t
val setperms : handle -> string -> Xs_protocol.ACL.t -> unit IO.t
val debug : handle -> string list -> string list IO.t
val restrict : handle -> int -> unit IO.t
val getdomainpath : handle -> int -> string IO.t
val watch : handle -> string -> string -> unit IO.t
val unwatch : handle -> string -> string -> unit IO.t
val introduce : handle -> int -> nativeint -> int -> unit IO.t
val set_target : handle -> int -> int -> unit IO.t