package nbd

  1. Overview
  2. Docs

In the 'newstyle' negotiation there is an opportunity for the client to negotiate options with the server. These are the known options.

type t =
  1. | ExportName
    (*

    The client would like to connect to a given disk/export by name

    *)
  2. | Abort
    (*

    The client would like to quit.

    *)
  3. | List
    (*

    The client would like to receive a list of known disk/exports.

    *)
  4. | Unknown of int32
    (*

    This option is unknown to this implementation

    *)
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val to_string : t -> string