struct afb_eventid *closure; /* the closure argument for functions of 'itf' */
};
+/*
+ * Converts the 'event' to an afb_eventid.
+ */
+static inline struct afb_eventid *afb_event_to_eventid(struct afb_event event)
+{
+ return event.closure;
+}
+
/*
* Checks wether the 'event' is valid or not.
*