]> git.sesse.net Git - vlc/blobdiff - include/vlc_modules.h
Add argument to module_GetModulesNamesForCapability (and services_discovery_GetServic...
[vlc] / include / vlc_modules.h
index ccecc3f8e560d536ea5d2e6bf813c6d13ef686af..70d0373398ebd5e7a0d8918d8d1369c3de6db99a 100644 (file)
@@ -116,10 +116,11 @@ VLC_EXPORT( module_t *, __module_FindName, ( vlc_object_t *, const char * ) );
 /* Return a NULL terminated array with the names of the modules that have a
  * certain capability.
  * Free after uses both the string and the table. */
- #define module_GetModulesNamesForCapability(a,b) \
-                    __module_GetModulesNamesForCapability(VLC_OBJECT(a),b)
+ #define module_GetModulesNamesForCapability(a,b,c) \
+                    __module_GetModulesNamesForCapability(VLC_OBJECT(a),b,c)
 VLC_EXPORT(char **, __module_GetModulesNamesForCapability,
-                    ( vlc_object_t *p_this, const char * psz_capability ) );
+                    ( vlc_object_t *p_this, const char * psz_capability,
+                      char ***psz_longname ) );
 
 VLC_EXPORT( module_t *, vlc_module_create, ( vlc_object_t * ) );
 VLC_EXPORT( module_t *, vlc_submodule_create, ( module_t * ) );