VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
interface.c File Reference

This file contains functions related to interface management. More...

Include dependency graph for interface.c:

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

Detailed Description

This file contains functions related to interface management.

Function Documentation

static int AddIntfCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static
int intf_Create ( ((vlc_object_t *)(vlc_object_t *p_this))  ,
const char *  chain 
)
void intf_DestroyAll ( libvlc_int_t p_libvlc)

Stops and destroys all interfaces.

Parameters
p_libvlcthe 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().

Variable Documentation

vlc_mutex_t lock = PTHREAD_MUTEX_INITIALIZER
static