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

Module Xs_handleSource

Sourcetype 'a t

A 'handle' is a sub-connection used for a particular purpose. The handle is a convenient place to store sub-connection state

Sourceval make : 'a -> 'a t
Sourceval get_tid : 'a t -> int32

return the transaction id (typically for debug printing)

Sourceval get_client : 'a t -> 'a

return the client instance wrapped in a handle

Sourceval no_transaction : 'a -> 'a t

Handle used for 'immediate' non-transactional read/writes

Sourceval transaction : 'a -> int32 -> 'a t

Handle used for transactional read/writes

Sourceval watching : 'a -> 'a t

Handle used to store watch-related information

Sourceval accessed_path : 'a t -> string -> 'a t

Get the list of recorded path accesses

Sourcemodule StringSet : sig ... end
Sourceval get_accessed_paths : 'a t -> StringSet.t

Get the list of paths we have accessed

Sourceval watch : 'a t -> string -> 'a t

Declare that we are watching a path

Sourceval unwatch : 'a t -> string -> 'a t

Declare that we are nolonger watching a path

Sourceval get_watched_paths : 'a t -> StringSet.t

Get the list of paths we're currently watching

OCaml

Innovation. Community. Security.