Copyright (C) 2000-2012 |
Manpages Browsing supportSection: C Library Functions (3)Updated: 15 Oct 2001 Index Return to Main Contents NAMEBrowsing support -ModulesData StructuresDefines
Functions
DEFINE DOCUMENTATION#define MRLS_DUPLICATE(s, d)Value:
{ int i = 0; assert((s) != NULL); assert((d) != NULL); while((s) != NULL) { d[i] = (mrl_t *) malloc(sizeof(mrl_t)); MRL_DUPLICATE(s[i], d[i]); i++; } }Duplicate two arrays of mrls (s = source, d = destination). See also: mrl_t, xine_get_browse_mrls() #define MRL_DUPLICATE(s, d)Duplicate two mrls entries (s = source, d = destination). See also: mrl_t, xine_get_browse_mrls() #define MRL_ZERO(m)Value:
{ if((m)) { if((m)->origin) free((m)->origin); if((m)->mrl) free((m)->mrl); if((m)->link) free((m)->link); (m)->origin = NULL; (m)->mrl = NULL; (m)->link = NULL; (m)->type = 0; (m)->size = (off_t) 0; } }Freeing/zeroing all of entries of given mrl. See also: mrl_t, xine_get_browse_mrls() FUNCTION DOCUMENTATIONchar ** xine_get_browsable_input_plugin_ids (xine_t * self)Request list of browsable featured plugins. Parameters:
Returns: List of plugins Some input plugins are browseable, get the list of ids of these plugins. Parameters:
mrl_t ** xine_get_browse_mrls (xine_t * self, char * plugin_id, char * start_mrl, int * num_mrls)Request available MRLs from plugins. Parameters:
Returns: start_mrl on success, NULL on failure. Asks input plugin named <plugin_id> to return a list of available MRLs in domain/directory <start_mrl>. <start_mrl> may be NULL indicating the toplevel domain/dir returns <start_mrl> if <start_mrl> is a valid MRL, not a directory returns NULL if <start_mrl> is an invalid MRL, not even a directory. Parameters:
IndexThis document was created by man2html, using the manual pages. Time: 20:14:33 GMT, March 28, 2024 |