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/Transaction/index.html

Module Xenstore_server.TransactionSource

Sourceval debug : ('a, unit, string, unit) format4 -> 'a
Sourceval none : int32
Sourceval test_eagain : bool ref
Sourceval check_parents_perms_identical : Store.Node.t -> Store.Node.t -> Store.Path.t -> bool
Sourceval get_lowest : Store.Path.t -> Store.Path.t option -> Store.Path.t option
Sourceval test_coalesce : Store.Node.t -> Store.Node.t -> Store.Path.t -> bool
Sourceval can_coalesce : Store.Node.t -> Store.Node.t -> Store.Path.t -> bool
Sourcetype ty =
  1. | No
  2. | Full of int32 * Store.Node.t * Store.t
Sourcetype t = {
  1. ty : ty;
  2. store : Store.t;
  3. quota : Quota.t;
  4. mutable paths : (Xs_protocol.Op.t * Store.Name.t) list;
  5. mutable operations : (Xs_protocol.Request.payload * Xs_protocol.Response.payload) list;
  6. mutable read_lowpath : Store.Path.t option;
  7. mutable write_lowpath : Store.Path.t option;
}
Sourceval make : int32 -> Store.t -> t
Sourceval get_id : t -> int32
Sourceval get_store : t -> Store.t
Sourceval get_paths : t -> (Xs_protocol.Op.t * Store.Name.t) list
Sourceval add_wop : t -> Xs_protocol.Op.t -> Store.Path.t -> unit
Sourceval set_read_lowpath : t -> Store.Path.t -> unit
Sourceval set_write_lowpath : t -> Store.Path.t -> unit
Sourceval exists : t -> 'a -> Store.Path.t -> bool
Sourceval write : t -> int -> Perms.t -> Store.Path.t -> string -> unit
Sourceval mkdir : ?with_watch:bool -> t -> int -> Perms.t -> Store.Path.t -> unit
Sourceval setperms : t -> Perms.t -> Store.Path.t -> Xs_protocol.ACL.t -> unit
Sourceval rm : t -> Perms.t -> Store.Path.t -> unit
Sourceval list : t -> Perms.t -> Store.Path.t -> string list
Sourceval read : t -> Perms.t -> Store.Path.t -> string
Sourceval commit : con:string -> t -> bool
OCaml

Innovation. Community. Security.