/builddir/build/BUILD/gfal2-2.0.0/src/common/gfal_common_all.c File Reference

core file for the utility function of gfal common part More...

#include <dlfcn.h>
#include <regex.h>
#include <stdlib.h>
#include "gfal_prototypes.h"
#include "gfal_types.h"
#include "gfal_common_plugin.h"
#include "gfal_common_errverbose.h"
#include "gfal_common_dir_handle.h"
#include "gfal_common_file_handle.h"
#include "gfal_common_config.h"

Defines

#define XVERSION_STR(x)   #x
#define VERSION_STR(x)   XVERSION_STR(x)

Functions

gfal_handle gfal_initG (GError **err)
void gfal_handle_freeG (gfal_handle handle)
 free a gfal's handle, safe if null
char ** gfal_GList_to_tab (GList *surls)
 convert glist of surl char* to char**
int * gfal_GList_to_tab_int (GList *int_list)
 convert glist of int to a table of int
int resolve_dlsym_listG (void *handle, void ***flist, const char **sym_list, int num, GError **err)
 open dynamycally a list of symbols resolve all symbols from sym_list to flist with the associated dlhandle set GError properly if error
char * gfal_version ()
gboolean is_valid_access_result (int status)


Detailed Description

core file for the utility function of gfal common part

Author:
Devresse Adrien
Version:
1.0
Date:
02/05/2011

Function Documentation

char** gfal_GList_to_tab ( GList *  surls  ) 

convert glist of surl char* to char**

Returns:
return NULL if error or pointer to char**

int* gfal_GList_to_tab_int ( GList *  int_list  ) 

convert glist of int to a table of int

Returns:
return NULL if error or pointer to int*

gfal_handle gfal_initG ( GError **  err  ) 

initiate a gfal's context with default parameters for use

Returns:
a gfal_handle, need to be free after usage. return NULL if errors

gboolean is_valid_access_result ( int  status  ) 

check the validity of a result for a "access" standard call

Returns:
TRUE if status is a valid and standard access methode error, else return FALSE


Generated on Wed May 16 16:46:34 2012 for CERN org.glite.Gfal by  doxygen 1.4.7