aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ocaml/libs/xb/xs_ring.ml
blob: 00c18d5dbc3fe23dcd2882462cbaab6437b53a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(*
 * Copyright (C) 2006-2007 XenSource Ltd.
 * Copyright (C) 2008      Citrix Ltd.
 * Author Vincent Hanquez <vincent.hanquez@eu.citrix.com>
 *
 * 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.
 *)

external read: Mmap.mmap_interface -> string -> int -> int = "ml_interface_read"
external write: Mmap.mmap_interface -> string -> int -> int = "ml_interface_write"