VLC 4.0.0-dev
|
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 | ||
) |
void vlc_sd_Destroy | ( | services_discovery_t * | sd | ) |
References config_ChainDestroy(), module_unneed, services_discovery_t::p_cfg, services_discovery_t::p_module, services_discovery_t::psz_name, and vlc_object_delete.
Referenced by vlc_media_source_Delete(), and vlc_sd_Create().
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 | ||
) |
References vlc_sd_probe_t::longname, vlc_sd_probe_t::name, name, strdup(), unlikely, VLC_ENOMEM, vlc_probe_add(), and VLC_PROBE_CONTINUE.