* This file implements plugin (module) macros used to define a vlc module.
*/
-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, ...) );
VLC_EXPORT( module_config_t *, vlc_config_create, (module_t *, int type) );
vlc_list_release
vlc_memcpy
vlc_memset
-vlc_module_create
vlc_module_set
vlc_mutex_destroy
vlc_mutex_init
bool b_loaded; /* Set to true if the dll is loaded */
};
+module_t *vlc_module_create (vlc_object_t *);
+
#define module_InitBank(a) __module_InitBank(VLC_OBJECT(a))
void __module_InitBank ( vlc_object_t * );
#define module_LoadBuiltins(a) __module_LoadBuiltins(VLC_OBJECT(a))
/* Make sure libvlccore is in the global namespace */
static void load_libvlccore( void )
{
- if( !dlsym( RTLD_DEFAULT, "vlc_module_create" )
+ if( !dlsym( RTLD_DEFAULT, "libvlc_Quit" )
&& !dlopen( "libvlccore.so", RTLD_GLOBAL|RTLD_NOLOAD ) )
fprintf( stderr, "ERROR: failed loading libvlccore\n" );
}