CERN GFAL 2.0  2.0.1
Functions
/builddir/build/BUILD/gfal2-2.0.0/src/common/gfal_common_parameter.h File Reference

header for internal settings set/get More...

#include <stdlib.h>
#include <glib.h>
#include <common/gfal_prototypes.h>
#include <common/gfal_types.h>

Functions

int gfal_common_parameter_set_string (gfal_handle handle, const char *nmespace, const char *key, const char *value, GError **err)
char * gfal_common_parameter_get_string (gfal_handle handle, const char *nmespace, const char *key, GError **err)
gboolean gfal_common_parameter_get_boolean (gfal_handle handle, const char *nmespace, const char *key, GError **err)
int gfal_common_parameter_set_boolean (gfal_handle handle, const char *nmespace, const char *key, gboolean value, GError **err)

Detailed Description

header for internal settings set/get

Author:
Devresse Adrien
Version:
2.0
Date:
02/10/2011

Function Documentation

char* gfal_common_parameter_get_string ( gfal_handle  handle,
const char *  namespace,
const char *  key,
GError **  err 
)

get a GFAL 2.0 the value string parameter

Parameters:
namespaceof the parameter, NULL for the core parameters, equal to the plugin_name for the plugin specific parameter
key: key of the parameter to set
value: value of the parameter to set
err: GError report

getter for string value

int gfal_common_parameter_set_string ( gfal_handle  handle,
const char *  namespace,
const char *  key,
const char *  value,
GError **  err 
)

set the value of a GFAL 2.0 string parameter

Parameters:
namespaceof the parameter, NULL for the core parameters, equal to the plugin_name for the plugin specific parameter
key: key of the parameter to set
value: value of the parameter to set
err: GError report

setter for string value