VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

bool media_library_t::b_force

set by the outside (eg.

module_need())

struct { ... } media_library_t::functions
int media_library_t::i_flags
libvlc_int_t* media_library_t::p_libvlc

(root of all evil) - 1

module_t* media_library_t::p_module

the media library module

vlc_object_t* media_library_t::p_parent

our parent

media_library_sys_t* media_library_t::p_sys

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)
input_item_t*( * media_library_t::pf_InputItemFromMedia)(media_library_t *p_media_library, int i_media)

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().

char* media_library_t::psz_header
const char* media_library_t::psz_object_type

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