/builddir/build/BUILD/gfal2-2.0.0/src/common/lfc/gfal_common_lfc.h File Reference

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)


Detailed Description

header file for the lfc plugin module

Author:
Adrien Devresse
Version:
0.0.1
Date:
29/04/2011

Function Documentation

gboolean gfal_checker_guid ( const char *  guid,
GError **  err 
)

parse a guid to check the validity

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

char** lfc_getSURLG ( plugin_handle  handle,
const char *  path,
GError **  err 
)

resolve the lfc link to the surls


Generated on Wed May 16 16:46:34 2012 for CERN org.glite.Gfal by  doxygen 1.4.7