VLC
3.0.15
|
Data Structures | |
struct | vlc_sd_probe_t |
Functions | |
int | vlc_sd_probe_Add (vlc_probe_t *probe, const char *name, const char *longname, int category) |
char ** | vlc_sd_GetNames (vlc_object_t *obj, char ***pppsz_longnames, int **pp_categories) |
Gets the list of available services discovery plugins. More... | |
services_discovery_t * | vlc_sd_Create (vlc_object_t *parent, const char *cfg, const struct services_discovery_owner_t *restrict owner) |
void | vlc_sd_Destroy (services_discovery_t *sd) |
services_discovery_t* vlc_sd_Create | ( | vlc_object_t * | parent, |
const char * | cfg, | ||
const struct services_discovery_owner_t *restrict | owner | ||
) |
References config_ChainCreate(), services_discovery_t::description, module_need, msg_Err, services_discovery_t::owner, services_discovery_t::p_cfg, services_discovery_t::p_module, services_discovery_t::psz_name, unlikely, vlc_custom_create, and vlc_sd_Destroy().
Referenced by playlist_ServicesDiscoveryAdd().
void vlc_sd_Destroy | ( | services_discovery_t * | sd | ) |
char** vlc_sd_GetNames | ( | vlc_object_t * | obj, |
char *** | pppsz_longnames, | ||
int ** | pp_categories | ||
) |
Gets the list of available services discovery plugins.
References vlc_sd_probe_t::category, count, vlc_sd_probe_t::longname, vlc_sd_probe_t::name, unlikely, vlc_alloc(), and vlc_probe.
int vlc_sd_probe_Add | ( | vlc_probe_t * | probe, |
const char * | name, | ||
const char * | longname, | ||
int | category | ||
) |
< Not enough memory
< Unspecified error
References vlc_sd_probe_t::longname, vlc_sd_probe_t::name, name, strdup(), unlikely, VLC_ENOMEM, vlc_probe_add(), and VLC_PROBE_CONTINUE.