#ifndef VLC_LIBVLC_MEDIA_DISCOVERER_H
#define VLC_LIBVLC_MEDIA_DISCOVERER_H 1
+# ifdef __cplusplus
+extern "C" {
+# endif
+
/*****************************************************************************
* Services/Media Discovery
*****************************************************************************/
*
* \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
/**
* 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 );
/**@} */
+# ifdef __cplusplus
+}
+# endif
+
#endif /* <vlc/libvlc.h> */