VLC  4.0.0-dev
Data Structures | Functions
services_discovery.c File Reference
Include dependency graph for services_discovery.c:

Data Structures

struct  vlc_sd_probe_t


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_tvlc_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)

Function Documentation

◆ vlc_sd_Create()

services_discovery_t* vlc_sd_Create ( vlc_object_t parent,
const char *  cfg,
const struct services_discovery_owner_t *restrict  owner 

◆ vlc_sd_Destroy()

void vlc_sd_Destroy ( services_discovery_t sd)

◆ vlc_sd_GetNames()

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.

◆ vlc_sd_probe_Add()

int vlc_sd_probe_Add ( vlc_probe_t probe,
const char *  name,
const char *  longname,
int  category