/builddir/build/BUILD/gfal2-2.8.4/src/core/common/gfal_common_plugin_interface.h File Reference

#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

Defines

#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)

Detailed Description

Author:
Devresse Adrien plugin specific related API

Define Documentation

#define GFAL_PLUGIN_PRIORITY_DATA   0;

classical data access plugin


Typedef Documentation

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

Parameters:
handle : gfal2_context_t of the current call
err : Error report in case of fatal error while the plugin load.

Function Documentation

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


Generated on 3 Mar 2015 for GFAL2 by  doxygen 1.6.1