/***********************************************************************
* Service Discovery
***********************************************************************/
-/* XXX: no need to inline */
-/* XXX: no need to inline */
-/* Return the number of services_discovery available */
+
+/* Get the services discovery modules names to use in Create(), in a null
+ * terminated string array. Array and string must be freed after use. */
+VLC_EXPORT( char **, services_discovery_GetServicesNames, ( vlc_object_t * p_super ) );
/* Creation of a service_discovery object */
VLC_EXPORT( services_discovery_t *, services_discovery_Create, ( vlc_object_t * p_super, const char * psz_service_name ) );
* That's how the playlist get's Service Discovery information
*/
+/***********************************************************************
+ * GetServicesNames
+ ***********************************************************************/
+char ** services_discovery_GetServicesNames( vlc_object_t * p_super )
+{
+ return module_GetModulesNamesForCapability( p_super, "services_discovery" );
+}
+
/***********************************************************************
* Create
***********************************************************************/