]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc_media_discoverer.h
libvlc: fix doxygen documentation.
[vlc] / include / vlc / libvlc_media_discoverer.h
index dabf51a3bb1f2075e0a799a53a588fc58b6405fb..f6aee418cbd5f43cae4460f3b3f1ae047895b9fa 100644 (file)
 #ifndef VLC_LIBVLC_MEDIA_DISCOVERER_H
 #define VLC_LIBVLC_MEDIA_DISCOVERER_H 1
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 /*****************************************************************************
  * Services/Media Discovery
  *****************************************************************************/
@@ -47,13 +51,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 +68,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 +101,8 @@ VLC_PUBLIC_API int
 
 /**@} */
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif /* <vlc/libvlc.h> */