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: NAnthony Liguori <aliguori@us.ibm.com>
---
v1 -> v2
- Do not do memory allocations by placing list nodes in notifier
Showing
notify.c
0 → 100644
notify.h
0 → 100644
想要评论请 注册 或 登录