Modules | |
Types of available mrls | |
Data Structures | |
struct | mrl_t |
struct | mrl_t |
Defines | |
#define | MRL_ZERO(m) |
#define | MRL_DUPLICATE(s, d) |
#define | MRLS_DUPLICATE(s, d) |
Functions | |
char** | xine_get_browsable_input_plugin_ids (xine_t *self) |
Request list of browsable featured plugins. | |
mrl_t** | xine_get_browse_mrls (xine_t *self, char *plugin_id, char *start_mrl, int *num_mrls) |
Request available MRLs from plugins. |
|
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 mrls entries (s = source, d = destination).
|
|
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; \ } \ }
|
|
Request list of browsable featured plugins.
|
|
Request available MRLs from plugins.
<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.
|