new watch api: kill old api

This commit is contained in:
Gerd Hoffmann 2010-03-29 15:46:58 +02:00
parent a5145cc93e
commit 536212322b
2 changed files with 0 additions and 7 deletions

View File

@ -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);

View File

@ -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);