Functions | |
char * | glite_fts_submit (glite_transfer_ctx *ctx, const glite_transfer_TransferJob *job) |
Submit a FileTransfer job. | |
char * | glite_fts_transferSubmit (glite_transfer_ctx *ctx, const glite_transfer_TransferJob *job, int withDelegation, int withChecksums) |
Submit a FileTransfer job with optional checskum information. | |
char * | glite_fts_placementSubmit (glite_transfer_ctx *ctx, const glite_transfer_PlacementJob *job, int withDelegation) |
Submit a FilePlacement job. | |
glite_transfer_JobStatus ** | glite_fts_listRequests (glite_transfer_ctx *ctx, int numStates, const char *const states[], const char *channelName, int *resultCount) |
Get a list of jobIDs matching the given states on the given channel. | |
glite_transfer_JobStatus ** | glite_fts_listRequests2 (glite_transfer_ctx *ctx, int numStates, const char *const states[], const char *channelName, const char *restrict_dn, const char *restrict_vo, int *resultCount) |
Get a list of jobIDs matching the given states on the given channel. | |
glite_transfer_FileTransferStatus ** | glite_fts_getFileStatus (glite_transfer_ctx *ctx, const char *requestId, int offset, int limit, int *resultCount) |
Get the statuses of all the files with the given requestID. | |
glite_transfer_JobStatus * | glite_fts_getTransferJobStatus (glite_transfer_ctx *ctx, const char *requestId) |
Get the summary state for the whole job. | |
glite_transfer_TransferJobSummary * | glite_fts_getTransferJobSummary (glite_transfer_ctx *ctx, const char *requestId) |
Get a summary status of the job. | |
glite_transfer_TransferJobSummary2 * | glite_fts_getTransferJobSummary2 (glite_transfer_ctx *ctx, const char *requestId) |
int | glite_fts_cancel (glite_transfer_ctx *ctx, int nitems, const char **requestIds) |
Attempt to cancel the given job on the service. | |
int | glite_fts_addVOManager (glite_transfer_ctx *ctx, const char *VOname, const char *principal) |
Add a manager to the given VO. | |
int | glite_fts_removeVOManager (glite_transfer_ctx *ctx, const char *VOname, const char *principal) |
Remove a manager from the given VO. | |
char ** | glite_fts_listVOManagers (glite_transfer_ctx *ctx, const char *VOname, int *resultcount) |
Lists managers of a given VO. | |
glite_transfer_Roles * | glite_fts_getRoles (glite_transfer_ctx *ctx) |
Get roles of the client on this service. | |
glite_transfer_Roles * | glite_fts_getRolesOf (glite_transfer_ctx *ctx, const char *otherDN) |
Get roles of the specified user on this service. | |
int | glite_fts_setJobPriority (glite_transfer_ctx *ctx, const char *requestID, const int priority) |
Set priority of a job. |
int glite_fts_addVOManager | ( | glite_transfer_ctx * | ctx, | |
const char * | VOname, | |||
const char * | principal | |||
) |
Add a manager to the given VO.
ctx | The transfer context. | |
VOname | The name of the VO. | |
principal | The principal to add. |
int glite_fts_cancel | ( | glite_transfer_ctx * | ctx, | |
int | nitems, | |||
const char ** | requestIds | |||
) |
Attempt to cancel the given job on the service.
The only semantics defined are 'best effort':
ctx | The transfer context. | |
nitem | Number of job IDs passed in requestIds | |
requestIds | The IDs of the request. |
glite_transfer_FileTransferStatus** glite_fts_getFileStatus | ( | glite_transfer_ctx * | ctx, | |
const char * | requestId, | |||
int | offset, | |||
int | limit, | |||
int * | resultCount | |||
) |
Get the statuses of all the files with the given requestID.
ctx | The transfer context. | |
requestId | The ID of the request. | |
offset | Number of results to skip. | |
limit | Number of results to return. | |
resultCount | Number of items in the result array. |
glite_transfer_Roles* glite_fts_getRoles | ( | glite_transfer_ctx * | ctx | ) |
Get roles of the client on this service.
ctx | The transfer context. |
glite_transfer_Roles* glite_fts_getRolesOf | ( | glite_transfer_ctx * | ctx, | |
const char * | otherDN | |||
) |
Get roles of the specified user on this service.
ctx | The transfer context. |
glite_transfer_JobStatus* glite_fts_getTransferJobStatus | ( | glite_transfer_ctx * | ctx, | |
const char * | requestId | |||
) |
Get the summary state for the whole job.
Possible answers: SUBMITTED, PENDING, ACTIVE, CANCELLING, CANCELLED, DONE, FINISHED, TRANSFERFAILED.
ctx | The transfer context. | |
requestId | The ID of the request. |
glite_transfer_TransferJobSummary* glite_fts_getTransferJobSummary | ( | glite_transfer_ctx * | ctx, | |
const char * | requestId | |||
) |
Get a summary status of the job.
Including the job state and some summary statistics.
ctx | The transfer context. | |
requestId | The ID of the request. |
glite_transfer_TransferJobSummary2* glite_fts_getTransferJobSummary2 | ( | glite_transfer_ctx * | ctx, | |
const char * | requestId | |||
) |
glite_transfer_JobStatus** glite_fts_listRequests | ( | glite_transfer_ctx * | ctx, | |
int | numStates, | |||
const char *const | states[], | |||
const char * | channelName, | |||
int * | resultCount | |||
) |
Get a list of jobIDs matching the given states on the given channel.
ctx | The transfer context. | |
numStates | The number of items in the states array. | |
states | Array of states we are interested in. | |
channelName | The name of the channel. | |
resultCount | [OUT] The number of items in the result array. |
glite_transfer_JobStatus** glite_fts_listRequests2 | ( | glite_transfer_ctx * | ctx, | |
int | numStates, | |||
const char *const | states[], | |||
const char * | channelName, | |||
const char * | restrict_dn, | |||
const char * | restrict_vo, | |||
int * | resultCount | |||
) |
Get a list of jobIDs matching the given states on the given channel.
ctx | The transfer context. | |
numStates | The number of items in the states array. | |
states | Array of states we are interested in. | |
channelName | The name of the channel. | |
restrict_dn | Restrict to this DN | |
restrict_vo | Restrict to this VO | |
resultCount | [OUT] The number of items in the result array. |
char** glite_fts_listVOManagers | ( | glite_transfer_ctx * | ctx, | |
const char * | VOname, | |||
int * | resultcount | |||
) |
Lists managers of a given VO.
ctx | The transfer context. | |
VOname | The name of the VO. | |
resultcount | [OUT] Number of returned items. |
char* glite_fts_placementSubmit | ( | glite_transfer_ctx * | ctx, | |
const glite_transfer_PlacementJob * | job, | |||
int | withDelegation | |||
) |
Submit a FilePlacement job.
ctx | The transfer context. | |
job | The object containing all the informations related to the job. |
int glite_fts_removeVOManager | ( | glite_transfer_ctx * | ctx, | |
const char * | VOname, | |||
const char * | principal | |||
) |
Remove a manager from the given VO.
ctx | The transfer context. | |
VOname | The name of the VO. | |
principal | The principal to add. |
int glite_fts_setJobPriority | ( | glite_transfer_ctx * | ctx, | |
const char * | requestID, | |||
const int | priority | |||
) |
Set priority of a job.
ctx | The transfer context. | |
requestID | ID of the transfer job. | |
priority | The new priority of the job. |
char* glite_fts_submit | ( | glite_transfer_ctx * | ctx, | |
const glite_transfer_TransferJob * | job | |||
) |
Submit a FileTransfer job.
This funcion is for backward compatibility here, so clients with a version number can use services with smaller version number. Only the minor and patch versions can differ!
ctx | The transfer context. | |
job | The object containing all the informations related to the job. |
char* glite_fts_transferSubmit | ( | glite_transfer_ctx * | ctx, | |
const glite_transfer_TransferJob * | job, | |||
int | withDelegation, | |||
int | withChecksums | |||
) |
Submit a FileTransfer job with optional checskum information.
ctx | The transfer context. | |
job | The object containing all the informations related to the job. | |
withDelegation | If the job should use delegated credentials. | |
withChecksums | If the job has checksum specified by the client. |