package xenstore

  1. Overview
  2. Docs
Xenstore protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

xenstore-2.3.0.tbz
sha256=d63c6bbcb2d3c297767d83c0a0f6dd46cecfd4e691f1cf5c5b6554445ec1b3f4
sha512=5cea990ab16ef708e53605172f708dde6ed15981cca6890939274db6efde1e5b2f9ec5c659d4d2f4115c5e0c3b69bcacc798a0d7fd5c1b75b83ddccd699de189

doc/src/xenstore.server/introduce.ml.html

Source file introduce.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(*
 * Copyright (C) Citrix Systems Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published
 * by the Free Software Foundation; version 2.1 only. with the special
 * exception on linking described in file LICENSE.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *)

type address = {
  domid: int;
  mfn: nativeint;
  remote_port: int;
}

let (stream: address Lwt_stream.t), introduce_fn = Lwt_stream.create ()

let introduce x = introduce_fn (Some x)

OCaml

Innovation. Community. Security.