X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc%2Flibvlc_media_discoverer.h;h=2552d6b39b311a3d35d72b7eebf0e180ff3d54aa;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=dabf51a3bb1f2075e0a799a53a588fc58b6405fb;hpb=14f37b2101842fa6e427f962f689db74eff6faba;p=vlc diff --git a/include/vlc/libvlc_media_discoverer.h b/include/vlc/libvlc_media_discoverer.h index dabf51a3bb..2552d6b39b 100644 --- a/include/vlc/libvlc_media_discoverer.h +++ b/include/vlc/libvlc_media_discoverer.h @@ -31,12 +31,17 @@ #ifndef VLC_LIBVLC_MEDIA_DISCOVERER_H #define VLC_LIBVLC_MEDIA_DISCOVERER_H 1 -/***************************************************************************** - * Services/Media Discovery - *****************************************************************************/ -/** \defgroup libvlc_media_discoverer libvlc_media_discoverer +# ifdef __cplusplus +extern "C" { +# endif + +/** \defgroup libvlc_media_discoverer LibVLC media discovery * \ingroup libvlc - * LibVLC Media Discoverer + * LibVLC media discovery finds available media via various means. + * This corresponds to the service discovery functionality in VLC media player. + * Different plugins find potential medias locally (e.g. user media directory), + * from peripherals (e.g. video capture device), on the local network + * (e.g. SAP) or on the Internet (e.g. Internet radios). * @{ */ @@ -47,13 +52,11 @@ typedef struct libvlc_media_discoverer_t libvlc_media_discoverer_t; * * \param p_inst libvlc instance * \param psz_name service name - * \param p_e an initialized exception object - * \return media discover object + * \return media discover object or NULL in case of error */ VLC_PUBLIC_API libvlc_media_discoverer_t * libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst, - const char * psz_name, - libvlc_exception_t * p_e ); + const char * psz_name ); /** * Release media discover object. If the reference count reaches 0, then @@ -66,7 +69,7 @@ VLC_PUBLIC_API void libvlc_media_discoverer_release( libvlc_media_discoverer_t /** * Get media service discover object its localized name. * - * \param media discover object + * \param p_mdis media discover object * \return localized name */ VLC_PUBLIC_API char * libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis ); @@ -99,4 +102,8 @@ VLC_PUBLIC_API int /**@} */ +# ifdef __cplusplus +} +# endif + #endif /* */