VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ml_result_t Struct Reference

Main communication struct between GUI and sql_media_library. More...

Collaboration diagram for ml_result_t:
Collaboration graph
[legend]

Data Fields

int32_t id
 Media/Album/Artist...
ml_result_type_e type
 Type of value.
union {
   int   i
   char *   psz
   mtime_t   time
   ml_media_t *   p_media
value
 Value of the result obtained.

Detailed Description

Main communication struct between GUI and sql_media_library.

Generic representation of an ML/SQL query result.

Field Documentation

int ml_result_t::i

Referenced by __ml_GetInt().

int32_t ml_result_t::id

Media/Album/Artist...

ID (if any)

ml_media_t* ml_result_t::p_media

Referenced by ml_FreeResult().

char* ml_result_t::psz

Referenced by __ml_GetPsz(), and ml_FreeResult().

mtime_t ml_result_t::time
ml_result_type_e ml_result_t::type

Type of value.

Referenced by ml_FreeResult().

union { ... } ml_result_t::value

Value of the result obtained.

Referenced by __ml_GetInt(), __ml_GetPsz(), and ml_FreeResult().


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