summaryrefslogtreecommitdiffstats
path: root/server/reds.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-03-30 11:28:50 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-05-19 11:22:06 +0200
commit10e6d8b53cf89b9e7c58b0696f078d18af21827e (patch)
treefd1c50faa573c34737f601dc7f607659f9fb32a5 /server/reds.c
parent30c740201d1b111ca28e7881ddbcc91f259b8a11 (diff)
downloadspice-10e6d8b53cf89b9e7c58b0696f078d18af21827e.tar.gz
spice-10e6d8b53cf89b9e7c58b0696f078d18af21827e.tar.xz
spice-10e6d8b53cf89b9e7c58b0696f078d18af21827e.zip
s/CoreInterface/SpiceCoreInterface/
Diffstat (limited to 'server/reds.c')
-rw-r--r--server/reds.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/server/reds.c b/server/reds.c
index b81e0b35..740de361 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -54,7 +54,7 @@
#include "red_tunnel_worker.h"
#endif
-CoreInterface *core = NULL;
+SpiceCoreInterface *core = NULL;
static MigrationInterface *mig = NULL;
static KeyboardInterface *keyboard = NULL;
static MouseInterface *mouse = NULL;
@@ -4267,11 +4267,11 @@ static void init_vd_agent_resources()
const char *version_string = VERSION;
-static void do_spice_init(CoreInterface *core_interface)
+static void do_spice_init(SpiceCoreInterface *core_interface)
{
red_printf("starting %s", version_string);
- if (core_interface->base.major_version != VD_INTERFACE_CORE_MAJOR) {
+ if (core_interface->base.major_version != SPICE_INTERFACE_CORE_MAJOR) {
red_error("bad core interface version");
}
core = core_interface;
@@ -4335,12 +4335,6 @@ static void do_spice_init(CoreInterface *core_interface)
atexit(reds_exit);
}
-__visible__ void spice_init(CoreInterface *core_interface)
-{
- spice_server_new();
- do_spice_init(core_interface);
-}
-
/* new interface */
__visible__ SpiceServer *spice_server_new(void)
{
@@ -4351,7 +4345,7 @@ __visible__ SpiceServer *spice_server_new(void)
return reds;
}
-__visible__ int spice_server_init(SpiceServer *s, CoreInterface *core)
+__visible__ int spice_server_init(SpiceServer *s, SpiceCoreInterface *core)
{
ASSERT(reds == s);
do_spice_init(core);