VLC 4.0.0-dev
No Matches
interface.c File Reference

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

Include dependency graph for interface.c:


static int AddIntfCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static void PlaylistConfigureFromVariables (vlc_playlist_t *playlist, vlc_object_t *obj)
static vlc_playlist_tlibvlc_GetMainPlaylist (libvlc_int_t *libvlc)
vlc_playlist_tvlc_intf_GetMainPlaylist (intf_thread_t *intf)
 Recover the main playlist from an interface module.
int intf_Create (libvlc_int_t *libvlc, const char *chain)
 Create and start an interface.
int intf_InsertItem (libvlc_int_t *libvlc, const char *mrl, unsigned optc, const char *const *optv, unsigned flags)
 Inserts an item in the playlist.
void libvlc_InternalPlay (libvlc_int_t *libvlc)
static void libvlc_AutoRun (libvlc_int_t *libvlc)
int libvlc_InternalAddIntf (libvlc_int_t *libvlc, const char *name)
 Starts an interface plugin.
void intf_DestroyAll (libvlc_int_t *libvlc)
 Stops and destroys all interfaces, then the playlist.

Detailed Description

This file contains functions related to interface management.

Function Documentation

◆ AddIntfCallback()

static int AddIntfCallback ( vlc_object_t obj,
char const *  var,
vlc_value_t  old,
vlc_value_t  cur,
void *  data 

◆ intf_DestroyAll()

void intf_DestroyAll ( libvlc_int_t libvlc)

◆ intf_InsertItem()

int intf_InsertItem ( libvlc_int_t libvlc,
const char *  mrl,
unsigned  optc,
const char *const *  optv,
unsigned  flags 

Inserts an item in the playlist.

This function is used during initialization. It inserts an item to the beginning of the playlist. That is meant to compensate for the reverse parsing order of the command line.

References input_item_AddOptions(), input_item_New, input_item_Release(), libvlc_GetMainPlaylist(), unlikely, vlc_playlist_InsertOne(), vlc_playlist_Lock(), vlc_playlist_Unlock(), and VLC_SUCCESS.

Referenced by GetFilenames(), and libvlc_InternalInit().

◆ libvlc_AutoRun()

static void libvlc_AutoRun ( libvlc_int_t libvlc)

◆ libvlc_GetMainPlaylist()

◆ libvlc_InternalAddIntf()

int libvlc_InternalAddIntf ( libvlc_int_t libvlc,
const char *  name 

◆ libvlc_InternalPlay()

◆ PlaylistConfigureFromVariables()