|
VLC
2.1.0-git
|
This file contains functions related to interface management. More...

Functions | |
| static int | AddIntfCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| int | intf_Create (((vlc_object_t *)(vlc_object_t *p_this)), const char *chain) |
| Create and start an interface. | |
| void | intf_DestroyAll (libvlc_int_t *p_libvlc) |
| Stops and destroys all interfaces. | |
Variables | |
| static vlc_mutex_t | lock = PTHREAD_MUTEX_INITIALIZER |
This file contains functions related to interface management.
|
static |
< Not enough memory
References asprintf(), intf_Create, msg_Err, vlc_object_t::p_libvlc, vlc_value_t::psz_string, VLC_ENOMEM, and VLC_OBJECT.
Referenced by intf_Create().
| int intf_Create | ( | ((vlc_object_t *)(vlc_object_t *p_this)) | , |
| const char * | chain | ||
| ) |
Create and start an interface.
| p_this | the calling vlc_object_t |
| chain | configuration chain string |
< Not enough memory
< No error
< Unspecified error
References _, AddIntfCallback(), config_ChainCreate(), config_ChainDestroy(), libvlc_priv(), lock, module_need, module_unneed, msg_Err, intf_thread_t::p_cfg, libvlc_priv_t::p_intf, vlc_object_t::p_libvlc, intf_thread_t::p_module, intf_thread_t::p_next, vlc_value_t::psz_string, strdup(), text, var_AddCallback, var_Change, var_Create, var_CreateGetString, vlc_custom_create, VLC_EGENERIC, VLC_ENOMEM, vlc_mutex_lock(), vlc_mutex_unlock(), vlc_object_release, VLC_SUCCESS, VLC_VAR_ADDCHOICE, VLC_VAR_HASCHOICE, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, and VLC_VAR_STRING.
| void intf_DestroyAll | ( | libvlc_int_t * | p_libvlc | ) |
Stops and destroys all interfaces.
| p_libvlc | the LibVLC instance |
References config_ChainDestroy(), libvlc_priv(), lock, module_unneed, libvlc_priv_t::p_intf, intf_thread_t::p_next, vlc_mutex_lock(), vlc_mutex_unlock(), vlc_object_kill, and vlc_object_release.
Referenced by libvlc_InternalCleanup().
|
static |
1.8.1.2