package xenstore

  1. Overview
  2. Docs

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.