Sets
[HTTP Interface]

Collaboration diagram for Sets:
Sets are an application of the macro variables. More...

Functions

mvar_tmvar_IntegerSetNew (const char *name, const char *arg)
 This function creates a set variable which represents a series of integer The arg parameter must be of the form "start[:stop[:step]]".
mvar_tmvar_ObjectSetNew (intf_thread_t *p_intf, char *name, const char *arg)
 This function creates a set variable with a list of VLC objects.
mvar_tmvar_PlaylistSetNew (intf_thread_t *p_intf, char *name, playlist_t *p_pl)
 This function creates a set variable with the contents of the playlist.
mvar_tmvar_InfoSetNew (char *name, input_thread_t *p_input)
 This function creates a set variable with the contents of the Stream and media info box.
mvar_tmvar_InputVarSetNew (intf_thread_t *p_intf, char *name, input_thread_t *p_input, const char *psz_variable)
 This function creates a set variable with the input parameters.
mvar_tmvar_FileSetNew (intf_thread_t *p_intf, char *name, char *psz_dir)
 This function creates a set variable representing the files of the psz_dir directory.
mvar_tmvar_VlmSetNew (char *name, vlm_t *vlm)
 This function creates a set variable representing the VLM streams.
void PlaylistListNode (intf_thread_t *p_intf, playlist_t *p_pl, playlist_item_t *p_node, char *name, mvar_t *s, int i_depth)
 This function converts the listing of a playlist node into a mvar set.

Detailed Description

Sets are an application of the macro variables.

There are a number of predefined functions that will give you variables whose children represent VLC internal data (playlist, stream info, ...)


Function Documentation

mvar_t* mvar_FileSetNew ( intf_thread_t p_intf,
char *  name,
char *  psz_dir 
)

This function creates a set variable representing the files of the psz_dir directory.

References DIR_SEP, Filter(), InsensitiveAlphasort(), msg_Warn, mvar_AppendNewVar(), mvar_AppendVar(), mvar_New(), psz_ext, psz_name, RealPath(), strdup(), utf8_scandir(), and utf8_stat().

Referenced by Execute().

mvar_t* mvar_InfoSetNew ( char *  name,
input_thread_t p_input 
)

mvar_t* mvar_InputVarSetNew ( intf_thread_t p_intf,
char *  name,
input_thread_t p_input,
const char *  psz_variable 
)

mvar_t* mvar_IntegerSetNew ( const char *  name,
const char *  arg 
)

This function creates a set variable which represents a series of integer The arg parameter must be of the form "start[:stop[:step]]".

References i, mvar_New(), mvar_PushNewVar(), gen_builder::str, and strdup().

Referenced by Execute().

mvar_t* mvar_ObjectSetNew ( intf_thread_t p_intf,
char *  name,
const char *  arg 
)

This function creates a set variable with a list of VLC objects.

References i, module_get_name(), module_get_object(), module_list_free(), module_list_get(), module_provides(), mvar_AppendNewVar(), mvar_AppendVar(), mvar_New(), and VLC_UNUSED.

Referenced by Execute().

mvar_t* mvar_PlaylistSetNew ( intf_thread_t p_intf,
char *  name,
playlist_t p_pl 
)

This function creates a set variable with the contents of the playlist.

References mvar_New(), playlist_t::p_root_category, playlist_Lock(), playlist_Unlock(), and PlaylistListNode().

Referenced by Execute().

mvar_t* mvar_VlmSetNew ( char *  name,
vlm_t vlm 
)

This function creates a set variable representing the VLM streams.

References vlm_message_t::child, vlm_message_t::i_child, msg, mvar_New(), mvar_VlmSetNewLoop(), vlm_message_t::psz_name, vlm_ExecuteCommand(), and vlm_MessageDelete().

Referenced by Execute().

void PlaylistListNode ( intf_thread_t p_intf,
playlist_t p_pl,
playlist_item_t p_node,
char *  name,
mvar_t s,
int  i_depth 
)


Generated on Sat Nov 21 08:06:05 2009 for VLC by  doxygen 1.5.6