1 /* 2 * Copyright (C) 2013 Citrix Ltd. 3 * Author Ian Campbell <ian.campbell@citrix.com> 4 * Author Rob Hoes <rob.hoes@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 struct caml_xtl { 18 xentoollog_logger vtable; 19 char *vmessage_cb; 20 char *progress_cb; 21 }; 22 23 #define Xtl_val(x)(*((struct caml_xtl **) Data_custom_val(x))) 24 25