xenstore.server
Xenstore_server.Store
xenstore
xenstore.client
xenstore.unix
exception Already_exists of string
thrown when a (watch) name already exists
module Node : sig ... end
A Node in the main xenstore tree
module Name : sig ... end
module Path : sig ... end
val lookup : Node.t -> Path.t -> Node.t option
lookup node path follows path from node and returns the node it finds, or None
lookup node path
path
node
type t = {
mutable stat_transaction_coalesce : int;
mutable stat_transaction_abort : int;
mutable root : Node.t;
mutable quota : Quota.t;
}
val set_root : t -> Node.t -> unit
val set_quota : t -> Quota.t -> unit
val create : unit -> t
val copy : t -> t
val exists : t -> Path.t -> bool
val write : t -> int -> Perms.t -> Path.t -> string -> unit
val mkdir : t -> int -> Perms.t -> Path.t -> unit
val setperms : t -> Perms.t -> Path.t -> Xs_protocol.ACL.t -> unit
val rm : t -> Perms.t -> Path.t -> unit
val ls : t -> Perms.t -> Path.t -> string list
val read : t -> Perms.t -> Path.t -> string
val getperms : t -> Perms.t -> Path.t -> Xs_protocol.ACL.t
val set_node : t -> Path.t -> Node.t -> Quota.t -> Quota.t -> unit
val mark_symbols : t -> unit