VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_playlist_export.h File Reference
Include dependency graph for vlc_playlist_export.h:

Go to the source code of this file.

Data Structures

struct  vlc_playlist_export
 Structure received by playlist export module. More...
 

Functions

size_t vlc_playlist_view_Count (struct vlc_playlist_view *view)
 Return the number of items in the view.
 
vlc_playlist_item_tvlc_playlist_view_Get (struct vlc_playlist_view *view, size_t index)
 Return the item at a given index.
 

Function Documentation

◆ vlc_playlist_view_Count()

size_t vlc_playlist_view_Count ( struct vlc_playlist_view view)

Return the number of items in the view.

The underlying playlist must be locked.

Parameters
viewthe playlist view

References vlc_playlist_view::playlist, and vlc_playlist_Count().

◆ vlc_playlist_view_Get()

vlc_playlist_item_t * vlc_playlist_view_Get ( struct vlc_playlist_view view,
size_t  index 
)

Return the item at a given index.

The index must be in range (less than vlc_playlist_view_Count()).

The underlying playlist must be locked.

Parameters
viewthe playlist view
indexthe index
Returns
the playlist item

References vlc_playlist_view::playlist, and vlc_playlist_Get().