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

Module Xs_protocolSource

XenStore protocol.

Sourcetype t

A valid packet.

Sourcemodule Op : sig ... end
Sourcemodule ACL : sig ... end

Access control lists.

Sourcemodule Parser : sig ... end

Incrementally parse packets.

Sourcemodule type IO = sig ... end
Sourceexception Unknown_xenstore_operation of int32
Sourceexception Response_parser_failed of string
Sourcetype ('a, 'b) result =
  1. | Ok of 'a
  2. | Exception of 'b
Sourcemodule PacketStream (IO : IO) : sig ... end
Sourceval to_bytes : t -> bytes
Sourceval get_tid : t -> int32
Sourceval get_ty : t -> Op.t
Sourceval get_data : t -> string
Sourceval get_rid : t -> int32
Sourceval create : int32 -> int32 -> Op.t -> string -> t
Sourcemodule Token : sig ... end
Sourcemodule Response : sig ... end
Sourcemodule Request : sig ... end
Sourcemodule Unmarshal : sig ... end
Sourceexception Enoent of string
Sourceexception Eagain
Sourceexception Eexist
Sourceexception Invalid
Sourceexception Error of string
Sourceval response : string -> t -> t -> (t -> 'a option) -> 'a

response debug_hint sent received unmarshal returns the unmarshalled response corresponding to the received packet relative to the sent packet.

Sourcetype address =
  1. | Unix of string
  2. | Domain of int
Sourceval string_of_address : address -> string
Sourceval domain_of_address : address -> int
OCaml

Innovation. Community. Security.