VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_medialibrary_module_t Struct Reference

#include <vlc_media_library.h>

Collaboration diagram for vlc_medialibrary_module_t:
[legend]

Data Fields

struct vlc_object_t obj
 
module_tp_module
 
void * p_sys
 
int(* pf_control )(struct vlc_medialibrary_module_t *p_ml, int i_query, va_list args)
 
int(* pf_list )(struct vlc_medialibrary_module_t *p_ml, int i_query, const vlc_ml_query_params_t *p_params, va_list args)
 List some entities from the medialibrary.
 
void *(* pf_get )(struct vlc_medialibrary_module_t *p_ml, int i_query, va_list args)
 Get a specific entity by its id or another unique value.
 
const vlc_medialibrary_callbacks_tcbs
 

Field Documentation

◆ cbs

const vlc_medialibrary_callbacks_t* vlc_medialibrary_module_t::cbs

Referenced by libvlc_MlCreate().

◆ obj

struct vlc_object_t vlc_medialibrary_module_t::obj

◆ p_module

module_t* vlc_medialibrary_module_t::p_module

◆ p_sys

void* vlc_medialibrary_module_t::p_sys

◆ pf_control

int(* vlc_medialibrary_module_t::pf_control) (struct vlc_medialibrary_module_t *p_ml, int i_query, va_list args)

Referenced by vlc_ml_control().

◆ pf_get

void *(* vlc_medialibrary_module_t::pf_get) (struct vlc_medialibrary_module_t *p_ml, int i_query, va_list args)

Get a specific entity by its id or another unique value.

Returns
The required entity, or a NULL pointer if couldn't be found.

Refer to the list of queries for the specific return type

Referenced by vlc_ml_get().

◆ pf_list

int(* vlc_medialibrary_module_t::pf_list) (struct vlc_medialibrary_module_t *p_ml, int i_query, const vlc_ml_query_params_t *p_params, va_list args)

List some entities from the medialibrary.

Parameters
p_mlThe medialibrary module instance.
i_queryThe type search to be performed.
See also
vlc_ml_list enumeration
Parameters
p_paramsA pointer to a vlc_ml_query_params_t structure, or NULL for the default parameters (alphabetical ascending sort, no pagination)
Returns
VLC_SUCCESS or an error code

Refer to the individual list of vlc_ml_list requests for the additional per-query input/output parameters values & types

Referenced by vlc_ml_list().


The documentation for this struct was generated from the following file: