VLC  3.0.15
Data Structures | Macros | Typedefs | Functions
playlist_internal.h File Reference
Include dependency graph for playlist_internal.h:

Go to the source code of this file.

Data Structures

struct  playlist_private_t
 

Macros

#define pl_priv(pl)   container_of(pl, playlist_private_t, public_data)
 
#define PLAYLIST_DELETE_FORCE   0x01
 delete node even if read-only More...
 
#define PLAYLIST_DELETE_STOP_IF_CURRENT   0x02
 stop playlist playback if node is currently the one played More...
 
#define PLAYLIST_DEBUG   1
 
#define PL_DEBUG(...)   msg_Dbg( p_playlist, __VA_ARGS__ )
 
#define PL_DEBUG2(msg, ...)   {}
 
#define PLI_NAME(p)   p && p->p_input ? p->p_input->psz_name : "null"
 
#define PL_LOCK_IF(cond)   pl_lock_if( p_playlist, cond )
 
#define PL_UNLOCK_IF(cond)   pl_unlock_if( p_playlist, cond )
 

Typedefs

typedef struct vlc_sd_internal_t vlc_sd_internal_t
 
typedef struct playlist_private_t playlist_private_t
 

Functions

void playlist_ServicesDiscoveryKillAll (playlist_t *p_playlist)
 
playlist_tplaylist_Create (vlc_object_t *)
 Create playlist. More...
 
void playlist_Destroy (playlist_t *)
 Destroy playlist. More...
 
void playlist_Activate (playlist_t *)
 Creates the main playlist thread. More...
 
playlist_item_tplaylist_ItemNewFromInput (playlist_t *p_playlist, input_item_t *p_input)
 
playlist_item_tget_current_status_item (playlist_t *p_playlist)
 Accessor for status item and status nodes. More...
 
playlist_item_tget_current_status_node (playlist_t *p_playlist)
 
void set_current_status_item (playlist_t *, playlist_item_t *)
 
void set_current_status_node (playlist_t *, playlist_item_t *)
 
int playlist_MLLoad (playlist_t *p_playlist)
 
int playlist_MLDump (playlist_t *p_playlist)
 
void playlist_SendAddNotify (playlist_t *p_playlist, playlist_item_t *item)
 Send a notification that an item has been added to a node. More...
 
int playlist_InsertInputItemTree (playlist_t *, playlist_item_t *, input_item_node_t *, int, bool)
 Insert a tree of input items into a given playlist node. More...
 
int playlist_NodeInsert (playlist_item_t *, playlist_item_t *, int)
 
void playlist_NodeDeleteExplicit (playlist_t *, playlist_item_t *, int flags)
 Delete a node with explicit semantics. More...
 
void playlist_ItemRelease (playlist_t *, playlist_item_t *)
 Release an item. More...
 
void ResetCurrentlyPlaying (playlist_t *p_playlist, playlist_item_t *p_cur)
 Reset the currently playing playlist. More...
 
void ResyncCurrentIndex (playlist_t *p_playlist, playlist_item_t *p_cur)
 Synchronise the current index of the playlist to match the index of the current item. More...
 
playlist_item_tplaylist_GetNextLeaf (playlist_t *, playlist_item_t *p_root, playlist_item_t *p_item, bool b_ena, bool b_unplayed)
 Finds the next item to play. More...
 
static void pl_lock_if (playlist_t *p_playlist, bool cond)
 
static void pl_unlock_if (playlist_t *p_playlist, bool cond)
 

Detailed Description

VLC playlist internal interface