summaryrefslogtreecommitdiffstats
path: root/server/reds.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-05-18 15:07:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-05-19 11:22:07 +0200
commit3f4d6c6ad6d8cc7f43e970da2b49e76be147e3d7 (patch)
tree19643ccd2015b99de465b63f9050290331eb9b5e /server/reds.c
parent5b0bc279c952d0677f83e2c09faa30639cbd0579 (diff)
downloadspice-3f4d6c6ad6d8cc7f43e970da2b49e76be147e3d7.tar.gz
spice-3f4d6c6ad6d8cc7f43e970da2b49e76be147e3d7.tar.xz
spice-3f4d6c6ad6d8cc7f43e970da2b49e76be147e3d7.zip
vd_interface.h cleanups.
Drop leftover bits which are not used any more. Rename DrawArea to QXLDrawArea.
Diffstat (limited to 'server/reds.c')
-rw-r--r--server/reds.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/server/reds.c b/server/reds.c
index 4fc0392b..e9bf7164 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -254,7 +254,6 @@ typedef struct RedsState {
VDIPortState agent_state;
InputsState *inputs_state;
- VDObjectRef mig_notifier;
int mig_wait_connect;
int mig_wait_disconnect;
int mig_inprogress;
@@ -372,21 +371,6 @@ static int default_channel_security =
static RedSSLParameters ssl_parameters;
-static int args_is_empty(const VDICmdArg* args)
-{
- return !args || args[0].descriptor.type == ARG_TYPE_INVALID;
-}
-
-const int args_is_string(const VDICmdArg* args)
-{
- return !args_is_empty(args) && args->descriptor.type == ARG_TYPE_STRING;
-}
-
-const int args_is_int(const VDICmdArg* args)
-{
- return !args_is_empty(args) && args->descriptor.type == ARG_TYPE_INT;
-}
-
static ChannelSecurityOptions *find_channel_security(int id)
{
ChannelSecurityOptions *now = channels_security;