VLC  4.0.0-dev
Data Structures | Macros | Typedefs | Functions

VLC playlist internal interface. More...

Include dependency graph for playlist_internal.h:

Go to the source code of this file.

Data Structures

struct  playlist_private_t


#define pl_priv(pl)   container_of(pl, playlist_private_t, public_data)
 delete node even if read-only More...
 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 )


typedef struct playlist_private_t playlist_private_t


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 *)
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...
void playlist_AddSubtree (playlist_t *, input_item_t *, input_item_node_t *)
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) VLC_USED
 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.