CERN GFAL 2.0  2.0.1
Macros | Functions
gfal_config.h File Reference

gfal2 configuration API set/get option for the running configuration of GFAL 2.0 More...

#include <glib.h>
#include <global/gfal_global.h>

Functions

gchar * gfal2_get_opt_string (gfal2_context_t handle, const gchar *group_name, const gchar *key, GError **error)
 get a string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values
gint gfal2_set_opt_string (gfal2_context_t handle, const gchar *group_name, const gchar *key, gchar *value, GError **error)
 set a string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values
gint gfal2_get_opt_integer (gfal2_context_t handle, const gchar *group_name, const gchar *key, GError **error)
 get an integer parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values
gint gfal2_set_opt_integer (gfal2_context_t handle, const gchar *group_name, const gchar *key, gint value, GError **error)
 set an integer parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values
gint gfal2_set_opt_boolean (gfal2_context_t handle, const gchar *group_name, const gchar *key, gboolean value, GError **error)
 set a boolean parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values
gboolean gfal2_get_opt_boolean (gfal2_context_t handle, const gchar *group_name, const gchar *key, GError **error)
 get a boolean parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values
gint gfal2_set_opt_string_list (gfal_handle handle, const gchar *group_name, const gchar *key, const gchar *const list[], gsize length, GError **error)
 set a list of string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values
gchar ** gfal2_get_opt_string_list (gfal_handle handle, const gchar *group_name, const gchar *key, gsize *length, GError **error)
 get a list of string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Detailed Description

gfal2 configuration API set/get option for the running configuration of GFAL 2.0

Author
Adrien Devresse

Function Documentation

gboolean gfal2_get_opt_boolean ( gfal2_context_t  handle,
const gchar *  group_name,
const gchar *  key,
GError **  error 
)

get a boolean parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
error: GError error report system
Returns
parameter value
gint gfal2_get_opt_integer ( gfal2_context_t  handle,
const gchar *  group_name,
const gchar *  key,
GError **  error 
)

get an integer parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
error: GError error report system
Returns
parameter value
gchar* gfal2_get_opt_string ( gfal2_context_t  handle,
const gchar *  group_name,
const gchar *  key,
GError **  error 
)

get a string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
error: GError error report system
Returns
parameter value
gchar** gfal2_get_opt_string_list ( gfal_handle  handle,
const gchar *  group_name,
const gchar *  key,
gsize *  length,
GError **  error 
)

get a list of string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
error: GError error report system
Returns
parameter value
gint gfal2_set_opt_boolean ( gfal2_context_t  handle,
const gchar *  group_name,
const gchar *  key,
gboolean  value,
GError **  error 
)

set a boolean parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
value: value to set
error: GError error report system
Returns
parameter value
gint gfal2_set_opt_integer ( gfal2_context_t  handle,
const gchar *  group_name,
const gchar *  key,
gint  value,
GError **  error 
)

set an integer parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
value: value to set
error: GError error report system
Returns
parameter value
gint gfal2_set_opt_string ( gfal2_context_t  handle,
const gchar *  group_name,
const gchar *  key,
gchar *  value,
GError **  error 
)

set a string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
value: value to set
error: GError error report system
Returns
parameter value
gint gfal2_set_opt_string_list ( gfal_handle  handle,
const gchar *  group_name,
const gchar *  key,
const gchar *const  list[],
gsize  length,
GError **  error 
)

set a list of string parameter in the current GFAL 2.0 configuration see gfal2.d configuration files or gfal 2.0 documentation to know group/key/values

Parameters
handle: context of gfal 2.0
group_name: group name of the parameter
key: key of the parameter
value: value to set
error: GError error report system
Returns
parameter value