Commit [d1e70c] Maximize Restore History

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

Anthony Liguori Anthony Liguori 2010-03-09

added notify.c
added notify.h
changed Makefile.objs
notify.c Diff Switch to side-by-side view
Loading...
notify.h Diff Switch to side-by-side view
Loading...
Makefile.objs Diff Switch to side-by-side view
Loading...