mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 18:34:19 +00:00
new watch api: kill old api
This commit is contained in:
parent
a5145cc93e
commit
536212322b
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user