Content-type: text/html Man page of GFAL_ABORTFILES

GFAL_ABORTFILES

Section: Library Functions (3)
Updated: $Date: 2008/12/18 13:19:12 $
Index Return to Main Contents
 

NAME

gfal_abortfiles - Aborts selective file requests (SRMv2 only!)  

SYNOPSIS

import gfal

(int returncode, gfal_internal gfal, string errmsg ) gfal_abortfiles (gfal_internal gfal )

 

DESCRIPTION

gfal_abortfiles Aborts selective file requests from asynchronous requests: gfal_get(3), gfal_prestage(3). This is only supported by SRMv2, so do not forget to specify 'srmv2' for defaultsetype or setype parameter in the GFAL request. This function needs a list of SURLs (to abort).

See gfal_get_results_python(3) to be able to access results.

gfal
gfal_internal object generated from user parameters.
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
The gfal_internal object is incorrect. It may be caused by freeing a user parameter which was in use in it, or by modifying this object by hand.
EPROTONOSUPPORT
You try to make an action with a protocol which is not supported by the system.
ENOMEM
Not enough free memory.

 

SEE ALSO

gfal_python(3), gfal_init_python(3), gfal_internal_free_python(3), gfal_deletesurls_python(3), gfal_removedir_python(3), gfal_get_python(3), gfal_getstatus_python(3), gfal_ls_python(3), gfal_pin_python(3), gfal_prestage_python(3), gfal_prestagestatus_python(3), gfal_release_python(3), gfal_abortrequest_python(3), gfal_abortfiles_python(3), gfal_set_xfer_done_python(3), gfal_set_xfer_running_python(3), gfal_turlsfromsurls_python(3), gfal_get_ids_python(3), gfal_set_ids_python(3), gfal_get_results_python(3), gfal_access_python(3), gfal_chmod_python(3), gfal_close_python(3), gfal_closedir_python(3), gfal_creat_python(3), gfal_get_timeout_connect_python(3), gfal_get_timeout_sendreceive_python(3), gfal_get_timeout_bdii_python(3), gfal_get_timeout_srm_python(3), gfal_set_timeout_connect_python(3), gfal_set_timeout_sendreceive_python(3), gfal_set_timeout_bdii_python(3), gfal_set_timeout_srm_python(3), gfal_lseek_python(3), gfal_mkdir_python(3), gfal_open_python(3), gfal_opendir_python(3), gfal_read_python(3), gfal_rename_python(3), gfal_rmdir_python(3), gfal_stat_python(3), gfal_unlink_python(3), gfal_write_python(3), gfal_set_verbose_python(3), gfal_get_errno_python(3),


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO

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