/builddir/build/BUILD/gfal2-2.0.0/src/common/srm/gfal_common_srm_internal_layer.h File Reference

header file for the srm external function mapping for mocking purpose More...

#include <gfal_srm_ifce.h>
#include <gfal_srm_ifce_types.h>
#include <glib.h>
#include <common/gfal_types.h>
#include "gfal_common_srm_endpoint.h"
#include "gfal_common_srm.h"

Go to the source code of this file.

Data Structures

struct  _gfal_srm_external_call

Typedefs

typedef enum _srm_req_type srm_req_type

Enumerations

enum  _srm_req_type { SRM_GET, SRM_PUT }

Functions

int gfal_check_fullendpoint_in_surl (const char *surl, GError **err)
gboolean gfal_srm_surl_group_checker (gfal_srmv2_opt *opts, char **surls, GError **err)
int gfal_srm_getTURLS_plugin (plugin_handle ch, const char *surl, char *buff_turl, int size_turl, char **reqtoken, GError **err)
int gfal_srm_putTURLS_plugin (plugin_handle ch, const char *surl, char *buff_turl, int size_turl, char **reqtoken, GError **err)
int gfal_srm_getTURLS (gfal_srmv2_opt *opts, char **surls, gfal_srm_result **resu, GError **err)
 launch a surls-> turls translation in the synchronous mode
int gfal_srm_putTURLS (gfal_srmv2_opt *opts, char **surls, gfal_srm_result **resu, GError **err)
 launch a surls-> turls translation in the synchronous mode for file creation
int gfal_srm_putdone (gfal_srmv2_opt *opts, char **surls, char *token, GError **err)
int gfal_srm_unlinkG (plugin_handle ch, const char *path, GError **err)
void gfal_srm_report_error (char *errbuff, GError **err)

Variables

_gfal_srm_external_call gfal_srm_external_call


Detailed Description

header file for the srm external function mapping for mocking purpose

Author:
Devresse Adrien
Version:
2.0
Date:
09/06/2011

Function Documentation

int gfal_srm_getTURLS ( gfal_srmv2_opt *  opts,
char **  surls,
gfal_srm_result **  resu,
GError **  err 
)

launch a surls-> turls translation in the synchronous mode

Parameters:
opts : srmv2 opts initiated
surls : tab of string, last char* must be NULL
resu : pointer to a table of gfal_srm_result
err : GError** for error report
Returns:
return positive if success else -1, check GError for more information

int gfal_srm_getTURLS_plugin ( plugin_handle  ch,
const char *  surl,
char *  buff_turl,
int  size_turl,
char **  reqtoken,
GError **  err 
)

simple wrapper to getTURLs for the gfal_module layer

int gfal_srm_putTURLS ( gfal_srmv2_opt *  opts,
char **  surls,
gfal_srm_result **  resu,
GError **  err 
)

launch a surls-> turls translation in the synchronous mode for file creation

Parameters:
opts : srmv2 opts initiated
surls : tab of string, last char* must be NULL
resu : pointer to a table of gfal_srm_result
err : GError** for error report
Returns:
return positive if success else -1, check GError for more information

int gfal_srm_putTURLS_plugin ( plugin_handle  ch,
const char *  surl,
char *  buff_turl,
int  size_turl,
char **  reqtoken,
GError **  err 
)

simple wrapper to putTURLs for the gfal_module layer

gboolean gfal_srm_surl_group_checker ( gfal_srmv2_opt *  opts,
char **  surls,
GError **  err 
)

convenience func for a group of surls


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