vlc.c File Reference

Include dependency graph for vlc.c:


Defines

#define INTF_TEXT   N_("Lua interface")
#define INTF_LONGTEXT   N_("Lua interface module to load")
#define CONFIG_TEXT   N_("Lua interface configuration")
#define CONFIG_LONGTEXT   N_("Lua interface configuration string. Format is: '[\"<interface module name>\"] = { <option> = <value>, ...}, ...'.")
#define TRY_META(a, b)

Functions

int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int file_select (const char *file)
static int file_compare (const char **a, const char **b)
int vlclua_dir_list (const char *luadirname, char **ppsz_dir_list)
void vlclua_dir_list_free (char **ppsz_dir_list)
int vlclua_scripts_batch_execute (vlc_object_t *p_this, const char *luadirname, int(*func)(vlc_object_t *, const char *, lua_State *, void *), lua_State *L, void *user_data)
void __vlclua_read_meta_data (vlc_object_t *p_this, lua_State *L, input_item_t *p_input)
void __vlclua_read_custom_meta_data (vlc_object_t *p_this, lua_State *L, input_item_t *p_input)
void __vlclua_read_options (vlc_object_t *p_this, lua_State *L, int *pi_options, char ***pppsz_options)
 Playlist item table should be on top of the stack when this is called.
int __vlclua_playlist_add_internal (vlc_object_t *p_this, lua_State *L, playlist_t *p_playlist, input_item_t *p_parent, bool b_play)

Define Documentation

#define CONFIG_LONGTEXT   N_("Lua interface configuration string. Format is: '[\"<interface module name>\"] = { <option> = <value>, ...}, ...'.")

#define CONFIG_TEXT   N_("Lua interface configuration")

#define INTF_LONGTEXT   N_("Lua interface module to load")

#define INTF_TEXT   N_("Lua interface")

#define TRY_META ( a,
 ) 

Value:

lua_getfield( L, -1, a );                                   \
    if( lua_isstring( L, -1 ) )                                 \
    {                                                           \
        char *psz_value = strdup( lua_tostring( L, -1 ) );      \
        EnsureUTF8( psz_value );                                \
        msg_Dbg( p_this, #b ": %s", psz_value );                \
        input_item_Set ## b ( p_input, psz_value );             \
        free( psz_value );                                      \
    }                                                           \
    lua_pop( L, 1 );


Function Documentation

int __vlclua_playlist_add_internal ( vlc_object_t p_this,
lua_State *  L,
playlist_t p_playlist,
input_item_t p_parent,
bool  b_play 
)

void __vlclua_read_custom_meta_data ( vlc_object_t p_this,
lua_State *  L,
input_item_t p_input 
)

void __vlclua_read_meta_data ( vlc_object_t p_this,
lua_State *  L,
input_item_t p_input 
)

void __vlclua_read_options ( vlc_object_t p_this,
lua_State *  L,
int *  pi_options,
char ***  pppsz_options 
)

Playlist item table should be on top of the stack when this is called.

static int file_compare ( const char **  a,
const char **  b 
) [static]

static int file_select ( const char *  file  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

int vlclua_dir_list ( const char *  luadirname,
char **  ppsz_dir_list 
)

void vlclua_dir_list_free ( char **  ppsz_dir_list  ) 

int vlclua_scripts_batch_execute ( vlc_object_t p_this,
const char *  luadirname,
int(*)(vlc_object_t *, const char *, lua_State *, void *)  func,
lua_State *  L,
void *  user_data 
)


Generated on Wed Aug 13 08:05:52 2008 for VLC by  doxygen 1.5.1