summaryrefslogtreecommitdiffstats
path: root/server/spice-experimental.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-12-14 12:56:15 +0100
committerGerd Hoffmann <kraxel@redhat.com>2010-12-16 09:17:42 +0100
commitbca5403370df212fb3e39d36b1871a5079c31b96 (patch)
treeb69a7126193d5ea8e97c30d66c817301b6bd4201 /server/spice-experimental.h
parent215cd7f90314788fb8f6a9625bb788ece274a716 (diff)
downloadspice-bca5403370df212fb3e39d36b1871a5079c31b96.tar.gz
spice-bca5403370df212fb3e39d36b1871a5079c31b96.tar.xz
spice-bca5403370df212fb3e39d36b1871a5079c31b96.zip
move chardevs out of experimental
While we are at it: There is no reason for chardev support to stay in the experimental area, so move it out. qemu should not need the "spice-experimental.h" file. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> (cherry picked from commit 7bbc2ba090788d844573e044041480ff6e3cba7b)
Diffstat (limited to 'server/spice-experimental.h')
-rw-r--r--server/spice-experimental.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/server/spice-experimental.h b/server/spice-experimental.h
index f1b7385c..482ac44b 100644
--- a/server/spice-experimental.h
+++ b/server/spice-experimental.h
@@ -3,31 +3,6 @@
#include "spice.h"
-/* char device interfaces */
-#define SPICE_INTERFACE_CHAR_DEVICE "char_device"
-#define SPICE_INTERFACE_CHAR_DEVICE_MAJOR 1
-#define SPICE_INTERFACE_CHAR_DEVICE_MINOR 1
-typedef struct SpiceCharDeviceInterface SpiceCharDeviceInterface;
-typedef struct SpiceCharDeviceInstance SpiceCharDeviceInstance;
-typedef struct SpiceCharDeviceState SpiceCharDeviceState;
-
-struct SpiceCharDeviceInterface {
- SpiceBaseInterface base;
-
- void (*state)(SpiceCharDeviceInstance *sin, int connected);
- int (*write)(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len);
- int (*read)(SpiceCharDeviceInstance *sin, uint8_t *buf, int len);
-};
-
-struct SpiceCharDeviceInstance {
- SpiceBaseInstance base;
- const char* subtype;
- SpiceCharDeviceState *st;
-};
-
-void spice_server_char_device_wakeup(SpiceCharDeviceInstance *sin);
-const char** spice_server_char_device_recognized_subtypes(void);
-
/* tunnel interface */
#define SPICE_INTERFACE_NET_WIRE "net_wire"