12e31e210SGerd Hoffmann /* 22e31e210SGerd Hoffmann * Copyright (C) 2010 Red Hat, Inc. 32e31e210SGerd Hoffmann * 42e31e210SGerd Hoffmann * This program is free software; you can redistribute it and/or 52e31e210SGerd Hoffmann * modify it under the terms of the GNU General Public License as 62e31e210SGerd Hoffmann * published by the Free Software Foundation; either version 2 or 72e31e210SGerd Hoffmann * (at your option) version 3 of the License. 82e31e210SGerd Hoffmann * 92e31e210SGerd Hoffmann * This program is distributed in the hope that it will be useful, 102e31e210SGerd Hoffmann * but WITHOUT ANY WARRANTY; without even the implied warranty of 112e31e210SGerd Hoffmann * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 122e31e210SGerd Hoffmann * GNU General Public License for more details. 132e31e210SGerd Hoffmann * 142e31e210SGerd Hoffmann * You should have received a copy of the GNU General Public License 152e31e210SGerd Hoffmann * along with this program; if not, see <http://www.gnu.org/licenses/>. 162e31e210SGerd Hoffmann */ 172e31e210SGerd Hoffmann 182e31e210SGerd Hoffmann #ifndef QEMU_SPICE_MODULE_H 192e31e210SGerd Hoffmann #define QEMU_SPICE_MODULE_H 202e31e210SGerd Hoffmann 217477477cSGerd Hoffmann struct QemuSpiceOps { 22*63be30e6SGerd Hoffmann void (*init)(void); 237477477cSGerd Hoffmann int (*migrate_info)(const char *h, int p, int t, const char *s); 247477477cSGerd Hoffmann }; 257477477cSGerd Hoffmann 262e31e210SGerd Hoffmann extern int using_spice; 277477477cSGerd Hoffmann extern struct QemuSpiceOps qemu_spice; 282e31e210SGerd Hoffmann 292e31e210SGerd Hoffmann #endif 30