Changes in kernel/generic/include/ipc/event.h [0496c17:97d42d5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/event.h
r0496c17 r97d42d5 41 41 #include <ipc/ipc.h> 42 42 43 typedef void (*event_callback_t)(void); 44 43 45 /** Event notification structure. */ 44 46 typedef struct { … … 51 53 /** Counter. */ 52 54 size_t counter; 55 53 56 /** Masked flag. */ 54 57 bool masked; 55 58 /** Unmask callback. */ 56 void (*unmask_cb)(void);59 event_callback_t unmask_callback; 57 60 } event_t; 58 61 59 62 extern void event_init(void); 60 63 extern void event_cleanup_answerbox(answerbox_t *); 61 extern void event_set_unmask_callback(event_type_t, void (*)(void));64 extern void event_set_unmask_callback(event_type_t, event_callback_t); 62 65 63 66 #define event_notify_0(e, m) \
Note:
See TracChangeset
for help on using the changeset viewer.