summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-03-29 15:46:58 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-05-19 11:22:06 +0200
commit536212322b64af7900da170878244cdd97b6f7aa (patch)
tree3434db1a3cd8474757937444a2e168c81d24a276 /server
parenta5145cc93e8ca9594b7fedc81ffd36d7a5e982af (diff)
downloadspice-536212322b64af7900da170878244cdd97b6f7aa.tar.gz
spice-536212322b64af7900da170878244cdd97b6f7aa.tar.xz
spice-536212322b64af7900da170878244cdd97b6f7aa.zip
new watch api: kill old api
Diffstat (limited to 'server')
-rw-r--r--server/reds.c2
-rw-r--r--server/vd_interface.h5
2 files changed, 0 insertions, 7 deletions
diff --git a/server/reds.c b/server/reds.c
index 6f5957ff..ff90f5dc 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -494,8 +494,6 @@ static void __reds_release_link(RedLinkInfo *link)
if (link->peer->watch) {
core->watch_remove(link->peer->watch);
link->peer->watch = NULL;
- } else {
- core->set_file_handlers(core, link->peer->socket, NULL, NULL, NULL);
}
free(link->link_mess);
BN_free(link->tiTicketing.bn);
diff --git a/server/vd_interface.h b/server/vd_interface.h
index a370431a..2bb3bcc3 100644
--- a/server/vd_interface.h
+++ b/server/vd_interface.h
@@ -82,11 +82,6 @@ struct CoreInterface {
void (*disarm_timer)(CoreInterface *core, VDObjectRef timer);
void (*destroy_timer)(CoreInterface *core, VDObjectRef timer);
- int (*set_file_handlers)(CoreInterface *core, int fd,
- void (*on_read)(void *),
- void (*on_write)(void *),
- void *opaque);
-
SpiceWatch *(*watch_add)(int fd, int event_mask, SpiceWatchFunc func, void *opaque);
void (*watch_update_mask)(SpiceWatch *watch, int event_mask);
void (*watch_remove)(SpiceWatch *watch);