Content-type: text/html Man page of GFAL_SET_IDS

GFAL_SET_IDS

Section: Library Functions (3)
Updated: $Date: 2009/04/16 15:42:49 $
Index Return to Main Contents
 

NAME

gfal_set_ids - Sets the SRM file/request ids in the 'gfal_internal' object  

SYNOPSIS

#include "gfal_api.h"

int gfal_set_ids (gfal_internal gfal, int nbfileids, int *srm_fileids, int srm_reqid, char *srmv2_reqtoken, char *errbuf, int errbufsz);  

DESCRIPTION

gfal_set_ids Sets the SRM file/request ids (or request token for SRMv2) in the gfal_internal object.

These values can be retrieve with the function gfal_get_ids(3).

gfal
gfal_internal object generated from user parameters.
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.
errbuf
allocated char * pointer in which a detailed error message may be stored.
errbufsz
size allocated ofr the pointer errbuf

 

RETURN VALUE

This routine returns 0 on a success, or -1 in case of error. In the latter case, errno is set appropriately. Moreover, you can get an error message from errbuf , if specified.  

ERRORS

errno indicates the type of error, but for detailled error message, you have to look into errbuf.
EINVAL
One or more parameter in req have a wrong value.

 

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
ERRORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:16:32 GMT, July 14, 2009