package xenstore

  1. Overview
  2. Docs
Xenstore protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

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

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

Module Xenstore_server.StoreSource

Sourceexception Already_exists of string

thrown when a (watch) name already exists

Sourcemodule Node : sig ... end

A Node in the main xenstore tree

Sourcemodule Name : sig ... end
Sourcemodule Path : sig ... end
Sourceval lookup : Node.t -> Path.t -> Node.t option

lookup node path follows path from node and returns the node it finds, or None

Sourcetype t = {
  1. mutable stat_transaction_coalesce : int;
  2. mutable stat_transaction_abort : int;
  3. mutable root : Node.t;
  4. mutable quota : Quota.t;
}
Sourceval set_root : t -> Node.t -> unit
Sourceval set_quota : t -> Quota.t -> unit
Sourceval create : unit -> t
Sourceval copy : t -> t
Sourceval exists : t -> Path.t -> bool
Sourceval write : t -> int -> Perms.t -> Path.t -> string -> unit
Sourceval mkdir : t -> int -> Perms.t -> Path.t -> unit
Sourceval setperms : t -> Perms.t -> Path.t -> Xs_protocol.ACL.t -> unit
Sourceval rm : t -> Perms.t -> Path.t -> unit
Sourceval ls : t -> Perms.t -> Path.t -> string list
Sourceval read : t -> Perms.t -> Path.t -> string
Sourceval getperms : t -> Perms.t -> Path.t -> Xs_protocol.ACL.t
Sourceval set_node : t -> Path.t -> Node.t -> Quota.t -> Quota.t -> unit
Sourceval mark_symbols : t -> unit
OCaml

Innovation. Community. Security.