From 3f4d6c6ad6d8cc7f43e970da2b49e76be147e3d7 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 18 May 2010 15:07:41 +0200 Subject: vd_interface.h cleanups. Drop leftover bits which are not used any more. Rename DrawArea to QXLDrawArea. --- server/reds.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'server/reds.c') 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; -- cgit