GFAL2 2.22.1
api_change

GFAL 1.0 to GFAL 2.0 CHANGES

BRIEF OF THE API CHANGES

  • The old POSIX API is still unchanged and follow the same signature.
  • the old non-POSIX functions do not exist anymore, most of them are converted to a POSIX one ( ex : gfal_ls -> gfal_opendir, gfal_readdir; gfal_turlsfromsurls -> gfal_getxattr )
  • SRM related API is now in the gfal_plugin_lib. All the generic use case of the SRM API can be done with the POSIX API.
  • The old confusing error system disappear for a new GError system : gfal_posix_check_error , gfal_posix_print_error, gfal_posix_strerror_r
  • 32 bits GFAL 2.0 need the usage of the Large File Support in Linux

FEATURE CHANGES

  • LRC/EDG legacy support is dropped.
  • The LFC host parameter is not configured from the BDII value anymore. This feature is replaced by the usage of the lfc://server/path URL scheme.
  • The SRM plugin does not need the BDII by default, this one is used only if nor the port or a FULL SURL format is provided.
  • SRM specific feature can now be accessed by the extended attribute mechanism if needed (turl resolution)

ARCHITECTURE CHANGES

  • Lots of the old direct dependencies are no more needed and are removed ( globus, gsoap, ccheck )
  • The new File API is thread-safe
  • Any parameter can be overwriten at runtime by the Parameter API functions

OTHER DOCS

More informations about the GError system http://developer.gnome.org/glib/stable/glib-Error-Reporting.html