1 /* 2 * Copyright (C) 2015 Citrix Ltd. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License as published 6 * by the Free Software Foundation; version 2.1 only. with the special 7 * exception on linking described in file LICENSE. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU Lesser General Public License for more details. 13 */ 14 15 #include "libxl_osdeps.h" 16 17 #include "libxl_internal.h" 18 libxl__conversion_helper_init(libxl__conversion_helper_state * chs)19void libxl__conversion_helper_init(libxl__conversion_helper_state *chs) 20 { 21 libxl__ev_child_init(&chs->child); 22 } 23 libxl__convert_legacy_stream(libxl__egc * egc,libxl__conversion_helper_state * chs)24int libxl__convert_legacy_stream(libxl__egc *egc, 25 libxl__conversion_helper_state *chs) 26 { 27 return ERROR_FAIL; 28 } 29 libxl__conversion_helper_abort(libxl__egc * egc,libxl__conversion_helper_state * chs,int rc)30void libxl__conversion_helper_abort(libxl__egc *egc, 31 libxl__conversion_helper_state *chs, 32 int rc) 33 { 34 /* no op */ 35 } 36