package xenstore

  1. Overview
  2. Docs
Xenstore protocol in pure OCam

Install

Dune Dependency

Authors

Maintainers

Sources

xenstore-2.4.0.tbz
sha256=11b63bb2a5a8bc487d36f36ecb195b2a2135aa13ab401cbc73da67505c08faa4
sha512=b921aa4265503677f4984007efee6865461a18031dc49583be040781307cc6cbfcd84bc11e9ebc0a23e9b0cf281bd94528c475624bc30471ad8ff70607e0732f

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.