1 /* Public domain. */ 2 3 #ifndef _LINUX_NOTIFIER_H 4 #define _LINUX_NOTIFIER_H 5 6 struct notifier_block { 7 int (*notifier_call)(struct notifier_block *, unsigned long, void *); 8 SLIST_ENTRY(notifier_block) link; 9 }; 10 11 struct blocking_notifier_head { 12 }; 13 14 #define ATOMIC_INIT_NOTIFIER_HEAD(x) 15 16 #define NOTIFY_DONE 0 17 #define NOTIFY_OK 1 18 #define NOTIFY_BAD 2 19 20 #endif 21