]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc.h
libvlc event: Fix the various leaks and point indication on where locking should...
[vlc] / include / vlc / libvlc.h
index e3b8573138c4e74cad1acb91cf42d35a1b33b74f..c4e32e3756b6c755221963a7c0a6e336ca9eec4e 100644 (file)
@@ -813,6 +813,14 @@ VLC_PUBLIC_API void libvlc_event_add_callback( libvlc_instance_t *p_instance,
                                                void *user_data,
                                                libvlc_exception_t *p_e );
 
+/**
+ * Unregister all callbacks notification from an instance
+ * \param p_instance the libvlc instance
+ * \param p_e an initialized exception pointer
+ */
+VLC_PUBLIC_API void libvlc_event_remove_all_callbacks( libvlc_instance_t *p_instance,
+                                                       libvlc_exception_t *p_e );
+
 /**
  * Unregister a callback notification
  * \param p_instance the libvlc instance