Plugin Functions
Functions that load modules of compiled code into memory. More...Functions | |
| EAPI Ecore_Plugin * | ecore_plugin_load (Ecore_Path_Group *group, const char *plugin_name, const char *version) |
| Loads the specified plugin from the specified path group. | |
| EAPI void | ecore_plugin_unload (Ecore_Plugin *plugin) |
| Unloads the given plugin from memory. | |
| EAPI Ecore_List * | ecore_plugin_available_get (Ecore_Path_Group *group) |
| Retrieves a list of all available plugins in the given path. | |
Detailed Description
Functions that load modules of compiled code into memory.
Function Documentation
| EAPI Ecore_List* ecore_plugin_available_get | ( | Ecore_Path_Group * | group | ) |
Retrieves a list of all available plugins in the given path.
- Parameters:
-
group_id The identifier for the given path.
- Returns:
- A pointer to a newly allocated list of all plugins found in the paths identified by
group_id.NULLotherwise.
References ecore_hash_destroy(), ecore_hash_free_key_cb_set(), ecore_hash_get(), ecore_hash_keys(), ecore_hash_new(), ecore_hash_set(), ecore_list_empty_is(), ecore_list_first_goto(), ecore_list_free_cb_set(), ecore_list_next(), ecore_str_compare(), and ecore_str_hash().
| EAPI Ecore_Plugin* ecore_plugin_load | ( | Ecore_Path_Group * | group, | |
| const char * | plugin_name, | |||
| const char * | version | |||
| ) |
Loads the specified plugin from the specified path group.
- Parameters:
-
group The path group to search for the plugin to load plugin_name The name of the plugin to load. version The interface version of the plugin. With version equal to NULL the default will be loaded.
- Returns:
- A pointer to the newly loaded plugin on success,
NULLon failure.
References ecore_list_append(), ecore_list_new(), and ecore_path_group_find().
| EAPI void ecore_plugin_unload | ( | Ecore_Plugin * | plugin | ) |
Unloads the given plugin from memory.
- Parameters:
-
plugin The given plugin.
References ecore_list_destroy(), ecore_list_empty_is(), ecore_list_goto(), and ecore_list_remove().