CERN org.glite.Gfal
2.0.1
|
header file for the lfc plugin module More...
#include <sys/types.h>
#include <glib.h>
#include "../gfal_common_plugin.h"
#include "../gfal_prototypes.h"
#include "../gfal_types.h"
#include "../../externals/gsimplecache/gcachemain.h"
Go to the source code of this file.
Defines | |
#define | _GNU_SOURCE |
#define | GFAL_LFC_LIBRARY_NAME "liblfc.so.1" |
#define | GFAL_LFC_PREFIX "lfn:" |
#define | GFAL_LFC_GUID_PREFIX "guid:" |
#define | GFAL_LFC_GUID_PREFIX_LEN 5 |
#define | GFAL_LFC_PREFIX_LEN 4 |
#define | LFC_XATTR_GUID "user.guid" |
#define | LFC_XATTR_SURLS "user.replicas" |
#define | LFC_MAX_XATTR_LEN 2048 |
#define | LFC_BUFF_SIZE 2048 |
#define | LFC_PARAMETER_NAMESPACE "lfc" |
#define | LFC_PARAMETER_HOST "host" |
Functions | |
gboolean | gfal_checker_guid (const char *guid, GError **err) |
gfal_plugin_interface | lfc_initG (gfal_handle, GError **) |
gboolean | gfal_lfc_check_lfn_url (plugin_handle handle, const char *lfn_url, plugin_mode mode, GError **err) |
char ** | lfc_getSURLG (plugin_handle handle, const char *path, GError **err) |
void | lfc_set_session_timeout (int timeout) |
header file for the lfc plugin module
gboolean gfal_checker_guid | ( | const char * | guid, |
GError ** | err | ||
) |
parse a guid to check the validity
Referenced by gfal_lfc_check_lfn_url().
gboolean gfal_lfc_check_lfn_url | ( | plugin_handle | handle, |
const char * | url, | ||
plugin_mode | mode, | ||
GError ** | err | ||
) |
Check if the passed url and operation is compatible with lfc
References gfal_checker_guid().
Referenced by gfal_plugin_init().
char** lfc_getSURLG | ( | plugin_handle | handle, |
const char * | path, | ||
GError ** | err | ||
) |
resolve the lfc link to the surls
References gfal_lfc_init_thread(), and gfal_lfc_getSURL().
Referenced by lfc_getxattr_getsurl(), and lfc_openG().