RygelPluginLoader

RygelPluginLoader — This class is responsible for plugin loading.

Types and Values

Description

It probes for shared library files in a specific directory, tries to find a module_init() function with this signature: void module_init (RygelPluginLoader* loader);

It then calls that function, passing a pointer to itself. The loaded module can then add plugins to Rygel by calling the rygel_plugin_loader_add_plugin() function.

Functions

Types and Values

RYGEL_TYPE_PLUGIN_LOADER

#define RYGEL_TYPE_PLUGIN_LOADER (rygel_plugin_loader_get_type ())

The type for RygelPluginLoader.


struct RygelPluginLoader

struct RygelPluginLoader {
	RygelRecursiveModuleLoader parent_instance;
	RygelPluginLoaderPrivate * priv;
};

This class is responsible for plugin loading.

It probes for shared library files in a specific directory, tries to find a module_init() function with this signature: void module_init (RygelPluginLoader* loader);

It then calls that function, passing a pointer to itself. The loaded module can then add plugins to Rygel by calling the rygel_plugin_loader_add_plugin() function.


struct RygelPluginLoaderClass

struct RygelPluginLoaderClass {
	RygelRecursiveModuleLoaderClass parent_class;
};

The class structure for RYGEL_TYPE_PLUGIN_LOADER. All the fields in this structure are private and should never be accessed directly.

Members