CERN GFAL 2.0  2.0.1
Macros | Typedefs | Functions
gfal_global.h File Reference

gfal2 context management functions More...

#include <glib.h>
#include <common/gfal_prototypes.h>

Typedefs

typedef gfal_handle gfal2_context_t
typedef gfal2_context_t gfal_context_t

Functions

gfal2_context_t gfal2_context_new (GError **err)
 create a gfal 2 context contexts are used for all gfal 2 operations
void gfal2_context_free (gfal2_context_t context)
gfal_context_t gfal_context_new (GError **err)
void gfal_context_free (gfal_context_t context)

Detailed Description

gfal2 context management functions

Author
Devresse Adrien

Typedef Documentation

typedef gfal_handle gfal2_context_t

a gfal context is a separated instance of the gfal library Each context owns his parameters, file descriptors Context allows to have separated instance of GFAL with differents parameters providing an advanced interface to GFAL

Function Documentation

void gfal2_context_free ( gfal2_context_t  context)

free a gfal 2 context

gfal2_context_t gfal2_context_new ( GError **  err)

create a gfal 2 context contexts are used for all gfal 2 operations

Parameters
err: GError error report system
Returns
gfal2 context
void gfal_context_free ( gfal_context_t  context)
gfal_context_t gfal_context_new ( GError **  err)
Deprecated:
same than gfal2_context_new but with old compatibility