VLC_EXPORT( void, module_list_free, (module_t **) );
VLC_EXPORT( module_t **, module_list_get, (size_t *n) );
-/* 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( bool, module_provides, ( const module_t *m, const char *cap ) );
VLC_EXPORT( const char *, module_get_object, ( const module_t *m ) );
VLC_EXPORT( const char *, module_get_name, ( const module_t *m, bool long_name ) );
#define vlc_custom_create(o, s, t, n) \
__vlc_custom_create(VLC_OBJECT(o), s, t, n)
-
+/*
+ * To be cleaned-up module stuff:
+ */
extern char *psz_vlcpath;
+/* 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. */
+VLC_EXPORT(char **, module_GetModulesNamesForCapability,
+ ( const char * psz_capability, char ***psz_longname ) );
+
#ifdef LIBVLC_USE_PTHREAD
# include <semaphore.h> /* TODO: get rid of vlc_thread_ready and this */
#endif
module_exists
module_find
module_get_help
-__module_GetModulesNamesForCapability
module_get_name
module_get_object
module_hold
* 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.
- * \param p_this vlc object structure
* \param psz_capability the capability asked
* \param pppsz_longname an pointer to an array of string to contain
the long names of the modules. If set to NULL the function don't use it.
* \return the NULL terminated array
*/
-char ** __module_GetModulesNamesForCapability( vlc_object_t *p_this,
- const char *psz_capability,
- char ***pppsz_longname )
+char ** module_GetModulesNamesForCapability( const char *psz_capability,
+ char ***pppsz_longname )
{
size_t count = 0;
char **psz_ret;
char ** __services_discovery_GetServicesNames( vlc_object_t * p_super,
char ***pppsz_longnames )
{
- return module_GetModulesNamesForCapability( p_super, "services_discovery",
+ return module_GetModulesNamesForCapability( "services_discovery",
pppsz_longnames );
}