Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/event.h

    r97d42d5 r0496c17  
    4141#include <ipc/ipc.h>
    4242
    43 typedef void (*event_callback_t)(void);
    44 
    4543/** Event notification structure. */
    4644typedef struct {
     
    5351        /** Counter. */
    5452        size_t counter;
    55        
    5653        /** Masked flag. */
    5754        bool masked;
    5855        /** Unmask callback. */
    59         event_callback_t unmask_callback;
     56        void (*unmask_cb)(void);
    6057} event_t;
    6158
    6259extern void event_init(void);
    6360extern void event_cleanup_answerbox(answerbox_t *);
    64 extern void event_set_unmask_callback(event_type_t, event_callback_t);
     61extern void event_set_unmask_callback(event_type_t, void (*)(void));
    6562
    6663#define event_notify_0(e, m) \
Note: See TracChangeset for help on using the changeset viewer.