summaryrefslogtreecommitdiff
path: root/qemu-spice.h
blob: ceb3db2cbaa68142a9073464faa6bf3b7cb43e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef QEMU_SPICE_H
#define QEMU_SPICE_H

#ifdef CONFIG_SPICE

#include <spice.h>

#include "qemu-option.h"
#include "qemu-config.h"

extern SpiceServer *spice_server;
extern int using_spice;

void qemu_spice_init(void);
void qemu_spice_input_init(void);

#else  /* CONFIG_SPICE */

#define using_spice 0

#endif /* CONFIG_SPICE */

#endif /* QEMU_SPICE_H */