package xenstore

  1. Overview
  2. Docs
Xenstore protocol in pure OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

xenstore-2.3.0.tbz
sha256=d63c6bbcb2d3c297767d83c0a0f6dd46cecfd4e691f1cf5c5b6554445ec1b3f4
sha512=5cea990ab16ef708e53605172f708dde6ed15981cca6890939274db6efde1e5b2f9ec5c659d4d2f4115c5e0c3b69bcacc798a0d7fd5c1b75b83ddccd699de189

doc/xenstore.server/Xenstore_server/Store/index.html

Module Xenstore_server.Store

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

type t = {
  1. mutable stat_transaction_coalesce : int;
  2. mutable stat_transaction_abort : int;
  3. mutable root : Node.t;
  4. 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