QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vlc_services_discovery.h File Reference
#include <vlc_input.h>
#include <vlc_events.h>
#include <vlc_probe.h>

Go to the source code of this file.

Classes

struct  services_discovery_t
 
struct  services_discovery_descriptor_t
 
#define vlc_sd_GetNames(obj, pln, pcat)   vlc_sd_GetNames(VLC_OBJECT(obj), pln, pcat)
 
#define VLC_SD_PROBE_SUBMODULE
 
#define VLC_SD_PROBE_HELPER(name, longname, cat)
 
enum  services_discovery_category_e { SD_CAT_DEVICES = 1, SD_CAT_LAN, SD_CAT_INTERNET, SD_CAT_MYCOMPUTER }
 
enum  services_discovery_command_e { SD_CMD_SEARCH = 1, SD_CMD_DESCRIPTOR }
 
enum  services_discovery_capability_e { SD_CAP_SEARCH = 1 }
 
VLC_API char ** vlc_sd_GetNames (vlc_object_t *, char ***, int **) VLC_USED
 
VLC_API services_discovery_tvlc_sd_Create (vlc_object_t *, const char *) VLC_USED
 
VLC_API bool vlc_sd_Start (services_discovery_t *)
 
VLC_API void vlc_sd_Stop (services_discovery_t *)
 
VLC_API void vlc_sd_Destroy (services_discovery_t *)
 
VLC_API char * services_discovery_GetLocalizedName (services_discovery_t *p_this) VLC_USED
 
VLC_API vlc_event_manager_tservices_discovery_EventManager (services_discovery_t *p_this) VLC_USED
 
VLC_API void services_discovery_AddItem (services_discovery_t *p_this, input_item_t *p_item, const char *psz_category)
 
VLC_API void services_discovery_RemoveItem (services_discovery_t *p_this, input_item_t *p_item)
 
VLC_API void services_discovery_RemoveAll (services_discovery_t *p_sd)
 
VLC_API int vlc_sd_probe_Add (vlc_probe_t *, const char *, const char *, int category)
 

Detailed Description

This file lists functions and structures for service discovery (SD) in vlc

Macro Definition Documentation

#define VLC_SD_PROBE_HELPER (   name,
  longname,
  cat 
)
Value:
static int vlc_sd_probe_Open (vlc_object_t *obj) \
{ \
return vlc_sd_probe_Add ((struct vlc_probe_t *)obj, \
name "{longname=\"" longname "\"}", \
longname, cat); \
}
Definition: vlc_objects.h:42
Definition: vlc_probe.h:39
#define VLC_SD_PROBE_SUBMODULE
Value:
add_submodule() \
set_capability( "services probe", 100 ) \
set_callbacks( vlc_sd_probe_Open, NULL )

Enumeration Type Documentation

Service discovery capabilities

Enumerator
SD_CAP_SEARCH 

One can search in the SD

Service discovery categories

See also
vlc_sd_probe_Add
Enumerator
SD_CAT_DEVICES 

Devices, like portable music players

SD_CAT_LAN 

LAN/WAN services, like Upnp or SAP

SD_CAT_INTERNET 

Internet or Website channels services

SD_CAT_MYCOMPUTER 

Computer services, like Discs or Apps

Service discovery control commands

Enumerator
SD_CMD_SEARCH 

arg1 = query

SD_CMD_DESCRIPTOR 

arg1 = services_discovery_descriptor_t*