CERN org.glite.Gfal
2.0.1
|
the file of the common lib for error management and verbose display More...
Functions | |
int | gfal_get_verbose () |
return verbose mode level | |
int | gfal_set_verbose (int value) |
set the verbose mode for the current program | |
void | gfal_print_verbose (int verbose_lvl, const char *msg,...) |
display a verbose message | |
void | gfal_release_GError (GError **err) |
display the full GError message on stderr and free the memory associated | |
char * | gfal_str_GError (GError **err) |
char * | gfal_str_GError_r (GError **err, char *buff_err, size_t s_err) |
gboolean | gfal_check_GError (GError **err) |
convenient way to manage Gerror If error does not exist, just return FALSE else print error on stderr, clear it and return TRUE | |
Variables | |
__thread char | _gfal_err [GFAL_ERRMSG_LEN] |
the file of the common lib for error management and verbose display
void gfal_print_verbose | ( | int | verbose_lvl, |
const char * | msg, | ||
... | |||
) |
display a verbose message
msg is displayed if current verbose level is superior to verbose mode specified
References gfal_get_verbose().
Referenced by gfal_release_GError(), gfal_str_GError_r(), gfal_list_directory_plugins(), gfal_localize_plugins(), gfal_modules_resolve(), gfal_plugin_openG(), lfc_notify_change_parameter(), gfal_plugin_init(), lfc_openG(), gfal_mds_bdii_get_srm_endpoint(), gfal_srm_getxattrG(), gfal_srm_statG(), gfal_posix_internal_open(), gfal_set_parameter_boolean_internal(), gfal_set_parameter_string_internal(), gfal_get_parameter_string_internal(), and gfal_get_parameter_boolean_internal().
char* gfal_str_GError | ( | GError ** | err | ) |
return a valid string of the current error,
References gfal_str_GError_r().
char* gfal_str_GError_r | ( | GError ** | err, |
char * | buff_err, | ||
size_t | s_err | ||
) |
set buff_err to the current gfal error, reentrant function
References gfal_print_verbose().
Referenced by gfal_str_GError(), and gfal_posix_strerror_r().