package mirage-qubes

  1. Overview
  2. Docs

A QubesDB client

include S.DB
type t
module KeyMap : Map.S with type key = string
val read : t -> string -> string option

read t key is the last known value of key.

val write : t -> string -> string -> unit Lwt.t

write t key value sets key to value.

val bindings : t -> string KeyMap.t

bindings t is the bindings of t at the time of the call.

val after : t -> string KeyMap.t -> string KeyMap.t Lwt.t

after prev waits until the current bindings are different to prev and then returns the new bindings.

val connect : domid:int -> unit -> t Lwt.t

connect ~domid () is a QubesDB agent which connects to a server in domid.

val disconnect : t -> unit Lwt.t

Close the underlying vchan.

OCaml

Innovation. Community. Security.