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

Data Structures

struct  vlc_sd_internal_t
 

Typedefs

typedef struct vlc_sd_internal_t vlc_sd_internal_t
 

Functions

static void playlist_sd_item_added (services_discovery_t *sd, input_item_t *parent, input_item_t *p_input, const char *psz_cat)
 
static void playlist_sd_item_removed (services_discovery_t *sd, input_item_t *p_input)
 
int playlist_ServicesDiscoveryAdd (playlist_t *playlist, const char *chain)
 Add a service discovery module. More...
 
static void playlist_ServicesDiscoveryInternalRemove (playlist_t *playlist, vlc_sd_internal_t *sds)
 
int playlist_ServicesDiscoveryRemove (playlist_t *playlist, const char *name)
 Remove a services discovery module by name. More...
 
bool playlist_IsServicesDiscoveryLoaded (playlist_t *playlist, const char *psz_name)
 Check whether a given SD is loaded. More...
 
int playlist_ServicesDiscoveryControl (playlist_t *playlist, const char *psz_name, int i_control,...)
 Query a services discovery. More...
 
void playlist_ServicesDiscoveryKillAll (playlist_t *playlist)
 

Variables

static const struct services_discovery_callbacks playlist_sd_cbs
 

Typedef Documentation

◆ vlc_sd_internal_t

Function Documentation

◆ playlist_sd_item_added()

static void playlist_sd_item_added ( services_discovery_t sd,
input_item_t parent,
input_item_t p_input,
const char *  psz_cat 
)
static

◆ playlist_sd_item_removed()

static void playlist_sd_item_removed ( services_discovery_t sd,
input_item_t p_input 
)
static

◆ playlist_ServicesDiscoveryInternalRemove()

static void playlist_ServicesDiscoveryInternalRemove ( playlist_t playlist,
vlc_sd_internal_t sds 
)
static

Variable Documentation

◆ playlist_sd_cbs

const struct services_discovery_callbacks playlist_sd_cbs
static
Initial value:
= {
.item_added = playlist_sd_item_added,
.item_removed = playlist_sd_item_removed,
}
static void playlist_sd_item_removed(services_discovery_t *sd, input_item_t *p_input)
Definition: services_discovery.c:79
static void playlist_sd_item_added(services_discovery_t *sd, input_item_t *parent, input_item_t *p_input, const char *psz_cat)
Definition: services_discovery.c:42

Referenced by playlist_ServicesDiscoveryAdd().