Method
GPluginLoaderquery_plugin
Declaration [src]
GPluginPlugin*
gplugin_loader_query_plugin (
GPluginLoader* loader,
const gchar* filename,
GError** error
)
Description [src]
This function is called by the plugin manager to ask loader to query
filename and determine if it’s a usable plugin.
Parameters
filename |
const gchar* |
The filename to query. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GPluginPlugin |
A plugin instance or |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |