1 /* 2 * Copyright (C) 2006-2007 XenSource Ltd. 3 * Copyright (C) 2008 Citrix Ltd. 4 * Author Vincent Hanquez <vincent.hanquez@eu.citrix.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU Lesser General Public License as published 8 * by the Free Software Foundation; version 2.1 only. with the special 9 * exception on linking described in file LICENSE. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU Lesser General Public License for more details. 15 */ 16 17 #ifndef C_MMAP_H 18 #define C_MMAP_H 19 20 #include <caml/mlvalues.h> 21 #include <caml/memory.h> 22 #include <caml/alloc.h> 23 #include <caml/custom.h> 24 #include <caml/fail.h> 25 #include <caml/callback.h> 26 27 struct mmap_interface 28 { 29 void *addr; 30 int len; 31 }; 32 33 #endif 34