Content-type: text/html
Man page of GFAL_GET_IDS
GFAL_GET_IDS
Section: Library Functions (3)
Updated: $Date: 2008/12/18 13:19:12 $
Index
Return to Main Contents
NAME
gfal_get_ids - Extracts the SRM file/request ids from the 'gfal_internal' object
SYNOPSIS
import gfal
int gfal_get_ids (gfal_internal gfal,
int *srm_reqid,
int **srm_fileids,
char **srmv2_reqtoken);
int gfal_get_ids_setype (gfal_internal gfal,
enum se_type *setype,
int *srm_reqid,
int **srm_fileids,
char **srmv2_reqtoken);
DESCRIPTION
gfal_get_ids
Extracts the SRM file/request ids of the last called GFAL function from the
gfal_internal
object.
As it will return only a copy of different ids, you have to manually free variables
srm_fileids
and
srmv2_reqtoken
if the corresponding value is not
NULL
- gfal
-
gfal_internal
object generated from user parameters.
- setype
-
The SE type which has been used to get the TURL. Possible values are: TYPE_SRM, TYPE_SRMv2, TYPE_SE.
- srm_reqid
-
The request id returned by a SRMv1 SE.
- srm_fileids
-
The table of file ids returned by a SRMv1 SE.
- srmv2_reqtoken
-
The request token returned by a SRMv2 SE.
RETURN VALUE
This routine returns the number of files (useful if srm_fileids is not NULL) on a success,
or -1 in case of error.
SEE ALSO
gfal(3),
gfal_request_new(3),
gfal_internal_free(3),
gfal_init(3),
gfal_deletesurls(3),
gfal_removedir(3),
gfal_turlsfromsurls(3),
gfal_ls(3),
gfal_get(3),
gfal_getstatus(3),
gfal_prestage(3),
gfal_prestagestatus(3),
gfal_pin(3),
gfal_release(3),
gfal_abortrequest(3),
gfal_abortfiles(3),
gfal_set_xfer_done(3),
gfal_set_xfer_running(3),
gfal_get_ids(3),
gfal_set_ids(3),
gfal_get_results(3),
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 14:16:31 GMT, July 14, 2009