]> git.proxmox.com Git - mirror_qemu.git/commit - util/notify.c
Add support for generic notifier lists
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Mar 2010 19:16:14 +0000 (13:16 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Mar 2010 20:27:32 +0000 (15:27 -0500)
commitd1e70c5e6d1472856c52969301247fe8c3c8389d
treecf8518783ecd1737ea4eb00ac1be7c7ed4d048f0
parentddbda4323e2bdc7cb3925b0f4080f9eb836a09e8
Add support for generic notifier lists

Notifiers are data-less callbacks and a notifier list is a list of registered
notifiers that all are interested in a particular event.

We'll use this in a few patches to implement mouse change notification.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
v1 -> v2
 - Do not do memory allocations by placing list nodes in notifier
Makefile.objs
notify.c [new file with mode: 0644]
notify.h [new file with mode: 0644]