Data Fields

media_library_t Struct Reference

Main structure of the media library. More...

Collaboration diagram for media_library_t:
Collaboration graph
[legend]

Data Fields

module_tp_module
 the media library module
media_library_sys_tp_sys
 internal struture
struct {
   int(*   pf_Find )(media_library_t *p_media_library, vlc_array_t *p_result_array, va_list args)
 < Search in the database
   int(*   pf_FindAdv )(media_library_t *p_media_library, vlc_array_t *p_result_array, ml_select_e selected_type, const char *psz_lvalue, ml_ftree_t *tree)
 Update the database using an array of arguments.
   int(*   pf_Update )(media_library_t *p_media_library, ml_select_e selected_type, const char *psz_lvalue, ml_ftree_t *where, vlc_array_t *changes)
 Delete many medias in the database.
   int(*   pf_Delete )(media_library_t *p_media_library, vlc_array_t *p_array)
 Control the media library.
   int(*   pf_Control )(media_library_t *p_media_library, int i_query, va_list args)
 Create associated input item.
   input_item_t *(*   pf_InputItemFromMedia )(media_library_t *p_media_library, int i_media)
 Get a media.
   ml_media_t *(*   pf_GetMedia )(media_library_t *p_media_library, int i_media, ml_select_e select, bool reload)
functions
 Member functions.
VLC_COMMON_MEMBERS \ * these members are common for all vlc objects \

const char * psz_object_type
char * psz_header
int i_flags
bool b_force
 set by the outside (eg.
libvlc_int_tp_libvlc
 (root of all evil) - 1
vlc_object_tp_parent
 our parent

Detailed Description

Main structure of the media library.

VLC object.


Field Documentation

set by the outside (eg.

module_need())

(root of all evil) - 1

the media library module

our parent

internal struture

int( * media_library_t::pf_Control)(media_library_t *p_media_library, int i_query, va_list args)

Create associated input item.

Referenced by ml_ControlVa().

int( * media_library_t::pf_Delete)(media_library_t *p_media_library, vlc_array_t *p_array)

Control the media library.

Referenced by ml_Delete(), and ml_DeleteSimple().

int( * media_library_t::pf_Find)(media_library_t *p_media_library, vlc_array_t *p_result_array, va_list args)

< Search in the database

Search in the database using an array of arguments

Referenced by __ml_Find(), and __ml_GetValue().

int( * media_library_t::pf_FindAdv)(media_library_t *p_media_library, vlc_array_t *p_result_array, ml_select_e selected_type, const char *psz_lvalue, ml_ftree_t *tree)

Update the database using an array of arguments.

Referenced by ml_FindAdv().

ml_media_t*( * media_library_t::pf_GetMedia)(media_library_t *p_media_library, int i_media, ml_select_e select, bool reload)

Get a media.

Referenced by ml_CreateInputItem().

int( * media_library_t::pf_Update)(media_library_t *p_media_library, ml_select_e selected_type, const char *psz_lvalue, ml_ftree_t *where, vlc_array_t *changes)

Delete many medias in the database.

Referenced by ml_Update().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines