/builddir/build/BUILD/gfal2-2.0.0/src/common/srm/gfal_common_srm_access.c File Reference

file for the access function on the srm url type More...

#include <string.h>
#include <common/srm/gfal_common_srm_access.h>
#include <common/gfal_constants.h>
#include <common/gfal_common_errverbose.h>
#include <common/gfal_common_plugin.h>
#include <common/srm/gfal_common_srm_internal_layer.h>
#include <common/srm/gfal_common_srm_endpoint.h>

Functions

int gfal_access_srmv2_internal (gfal_srmv2_opt *opts, char *endpoint, const char *surl, int mode, GError **err)
int gfal_srm_accessG (plugin_handle ch, const char *surl, int mode, GError **err)
 access method for SRMv2 check the right for a given SRM url, work only for SRMv2, V1 deprecated.

Detailed Description

file for the access function on the srm url type

Author:
Devresse Adrien
Version:
2.0
Date:
05/05/2011

Function Documentation

int gfal_srm_accessG ( plugin_handle  ch,
const char *  surl,
int  mode,
GError **  err 
)

access method for SRMv2 check the right for a given SRM url, work only for SRMv2, V1 deprecated.

Parameters:
ch the handle of the plugin
surl srm url of a given file
mode access mode to check
err : GError error reprot system
Warning:
: not safe, surl must be verified

References gfal_srm_determine_endpoint().


Generated on 15 May 2012 for CERN org.glite.Gfal by  doxygen 1.6.1