VLC  4.0.0-dev
exit.c File Reference
Include dependency graph for exit.c:


void vlc_ExitInit (vlc_exit_t *exit)
void libvlc_SetExitHandler (libvlc_int_t *p_libvlc, void(*handler)(void *), void *opaque)
 Registers a callback for the LibVLC exit event. More...
void libvlc_Quit (libvlc_int_t *p_libvlc)
 Posts an exit signal to LibVLC instance. More...

Function Documentation

◆ libvlc_SetExitHandler()

void libvlc_SetExitHandler ( libvlc_int_t p_libvlc,
void(*)(void *)  handler,
void *  opaque 

Registers a callback for the LibVLC exit event.

References libvlc_priv_t::exit, vlc_exit::handler, libvlc_priv(), vlc_exit::lock, vlc_exit::opaque, vlc_mutex_lock(), and vlc_mutex_unlock().

◆ vlc_ExitInit()

void vlc_ExitInit ( vlc_exit_t exit)