summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/vcl_event.h')
-rw-r--r--src/vcl/vcl_event.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vcl/vcl_event.h b/src/vcl/vcl_event.h
index 9380f73f77d..7b64ede6ae1 100644
--- a/src/vcl/vcl_event.h
+++ b/src/vcl/vcl_event.h
@@ -51,6 +51,7 @@ typedef struct vce_event_handler_reg_
pthread_mutex_t handler_lock;
pthread_cond_t handler_cond;
u32 ev_idx;
+ u64 evk; //Event key
u32 replaced_handler_idx;
} vce_event_handler_reg_t;
@@ -124,10 +125,11 @@ vce_event_handler_reg_t * vce_register_handler (vce_event_thread_t *evt,
* - if this handler replaced an existing one, re-instate it.
*
* @param evt - vce_event_thread_t - event system state
- * @param ev - vce_event_t - event to remove
+ * @param handler - handler to be unregistered
* @return success/failure rv
*/
-int vce_unregister_handler (vce_event_thread_t *evt, vce_event_t *ev);
+int vce_unregister_handler (vce_event_thread_t *evt,
+ vce_event_handler_reg_t *handler);
/**
* @brief vce_event_thread_fn