/**
* Module descriptor
*/
-#ifndef __PLUGIN__
+#ifndef __PLUGIN__FIXME___
/* FIXME: scheduled for privatization */
struct module_t
{
#define module_Exists(a,b) __module_Exists(VLC_OBJECT(a),b)
VLC_EXPORT( vlc_bool_t, __module_Exists, ( vlc_object_t *, const char * ) );
+/* Use only if you know what you're doing... */
+#define module_FindName(a,b) __module_FindName(VLC_OBJECT(a),b)
+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,c) \
+ __module_GetModulesNamesForCapability(VLC_OBJECT(a),b,c)
+VLC_EXPORT(char **, __module_GetModulesNamesForCapability,
+ ( 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 * ) );
VLC_EXPORT( int, vlc_module_set, (module_t *module, int propid, void *value) );