CERN GFAL 2.0
2.0.1
|
gfal2 configuration API set/get option for the running configuration of GFAL 2.0 More...
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 More... | |
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 More... | |
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 More... | |
gint | gfal2_get_opt_integer_with_default (gfal2_context_t context, const gchar *group_name, const gchar *key, gint default_value) |
similar to gfal2_get_opt_integer but return a default value if an error occures More... | |
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 More... | |
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 More... | |
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 More... | |
gboolean | gfal2_get_opt_boolean_with_default (gfal2_context_t handle, const gchar *group_name, const gchar *key, gboolean default_value) |
similar to gfal2_get_opt_boolean but return a default value if an error occures More... | |
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 More... | |
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 More... | |
gchar ** | gfal2_get_opt_string_list_with_default (gfal_handle handle, const gchar *group_name, const gchar *key, gsize *length, char **default_value) |
gfal2 configuration API set/get option for the running configuration of GFAL 2.0
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
handle | : context of gfal 2.0 |
group_name | : group name of the parameter |
key | : key of the parameter |
error | : GError error report system |
gboolean gfal2_get_opt_boolean_with_default | ( | gfal2_context_t | handle, |
const gchar * | group_name, | ||
const gchar * | key, | ||
gboolean | default_value | ||
) |
similar to gfal2_get_opt_boolean but return a default value if an error occures
handle | : context of gfal 2.0 |
group_name | : group name of the parameter |
key | : key of the parameter |
bool | : default value returned if not present |
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
handle | : context of gfal 2.0 |
group_name | : group name of the parameter |
key | : key of the parameter |
error | : GError error report system |
gint gfal2_get_opt_integer_with_default | ( | gfal2_context_t | context, |
const gchar * | group_name, | ||
const gchar * | key, | ||
gint | default_value | ||
) |
similar to gfal2_get_opt_integer but return a default value if an error occures
handle | : context of gfal 2.0 |
group_name | : group name of the parameter |
key | : key of the parameter |
default_value | : default value returned if not present |
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
handle | : context of gfal 2.0 |
group_name | : group name of the parameter |
key | : key of the parameter |
error | : GError error report system |
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
handle | : context of gfal 2.0 |
group_name | : group name of the parameter |
key | : key of the parameter |
error | : GError error report system |
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
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 |
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
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 |
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
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 |
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
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 |