|
GFAL2
2.9.3
|
#include <glib.h>#include <common/gfal_prototypes.h>#include <common/gfal_constants.h>#include <global/gfal_global.h>#include <transfer/gfal_transfer_types.h>#include <sys/stat.h>Data Structures | |
| struct | _gfal_plugin_interface |
Macros | |
| #define | _GFAL_PLUGIN_INTERFACE_ |
| #define | GFAL2_PLUGIN_VERSIONED(plugin, version) plugin "-" version |
| #define | GFAL_PLUGIN_PRIORITY_DATA 0; |
| #define | GFAL_PLUGIN_PRIORITY_CATALOG 100; |
| #define | GFAL_PLUGIN_PRIORITY_CACHE 200; |
Typedefs | |
| typedef gfal_plugin_interface *(* | gfal_plugin_init_t) (gfal2_context_t handle, GError **err) |
Functions | |
| int | gfal2_register_plugin (gfal2_context_t handle, const gfal_plugin_interface *ifce, GError **error) |
| #define GFAL_PLUGIN_PRIORITY_DATA 0; |
classical data access plugin
| typedef gfal_plugin_interface*(* gfal_plugin_init_t) (gfal2_context_t handle, GError **err) |
Prototype of the plugins entry point
return gfal_plugin_interface must be allocated with \ĂȘef gfal_plugin_interface_new
| handle | : gfal2_context_t of the current call |
| err | : Error report in case of fatal error while the plugin load. |
| int gfal2_register_plugin | ( | gfal2_context_t | handle, |
| const gfal_plugin_interface * | ifce, | ||
| GError ** | error | ||
| ) |
Trigger plugin instantiation from the client code The passed interface is copied, so you can, if needed, free it after the call
1.8.9.1