EGEE
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

fts-simple.h File Reference

#include <glite/data/transfer/c/transfer-simple.h>

Go to the source code of this file.

Defines

#define GLITE_FTS_SURL_DEFAULT   GLITE_FTS_SURL_LFN
#define GLITE_FTS_PARAM_GRIDFTP   "gridftp"
#define GLITE_FTS_PARAM_MYPROXY   "myproxy"
#define GLITE_FTS_PARAM_DELEGATIONID   "delegationid"
#define GLITE_FTS_PARAM_SPACETOKEN   "spacetoken"
#define GLITE_FTS_PARAM_SPACETOKEN_SOURCE   "source_spacetoken"
#define GLITE_FTS_PARAM_COPY_PIN_LIFETIME   "copy_pin_lifetime"
#define GLITE_FTS_PARAM_LAN_CONNECTION   "lan_connection"
#define GLITE_FTS_PARAM_FAIL_NEARLINE   "fail_nearline"
#define GLITE_FTS_PARAM_OVERWRITEFLAG   "overwrite"
#define GLITE_FTS_SD_PATTERN   "surl_pattern"
#define GLITE_FTS_SD_SURL_PREFIX   "surl_prefix"
#define GLITE_FTS_SD_SRM_ENDPOINT   "srm_endpoint"
#define GLITE_FTS_SD_TYPE   "org.glite.FileTransfer"
#define GLITE_CA_SD_TYPE   "org.glite.ChannelAgent"
#define GLITE_FTS_SD_ENV   "GLITE_SD_FTS_TYPE"

Enumerations

enum  glite_fts_surl_pattern { GLITE_FTS_SURL_LFN, GLITE_FTS_SURL_DAY, GLITE_FTS_SURL_HOUR, GLITE_FTS_SURL_FLAT }
 Copyright (c) Members of the EGEE Collaboration. More...

Functions

const char * glite_fts_get_endpoint (glite_transfer_ctx *ctx)
char * glite_fts_getVersion (glite_transfer_ctx *ctx)
 Get the version of the remote endpoint.
char * glite_fts_getSchemaVersion (glite_transfer_ctx *ctx)
 Get the schema version of the remote endpoint.
char * glite_fts_getInterfaceVersion (glite_transfer_ctx *ctx)
 Get the interface version of the remote endpoint.
char * glite_fts_getServiceMetadata (glite_transfer_ctx *ctx, const char *key)
 Get the service metadata for a given key.
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)
 Submit a FileTransfer job.
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_JobStatusglite_fts_getTransferJobStatus (glite_transfer_ctx *ctx, const char *requestId)
 Get the summary state for the whole job.
glite_transfer_TransferJobSummaryglite_fts_getTransferJobSummary (glite_transfer_ctx *ctx, const char *requestId)
 Get a summary status of the job.
glite_transfer_TransferJobSummary2glite_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_Rolesglite_fts_getRoles (glite_transfer_ctx *ctx)
 Get roles of the client on this service.
glite_transfer_Rolesglite_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.


Define Documentation

#define GLITE_CA_SD_TYPE   "org.glite.ChannelAgent"
 

Definition at line 76 of file fts-simple.h.

#define GLITE_FTS_PARAM_COPY_PIN_LIFETIME   "copy_pin_lifetime"
 

Definition at line 60 of file fts-simple.h.

#define GLITE_FTS_PARAM_DELEGATIONID   "delegationid"
 

Definition at line 54 of file fts-simple.h.

#define GLITE_FTS_PARAM_FAIL_NEARLINE   "fail_nearline"
 

Definition at line 62 of file fts-simple.h.

#define GLITE_FTS_PARAM_GRIDFTP   "gridftp"
 

Definition at line 48 of file fts-simple.h.

#define GLITE_FTS_PARAM_LAN_CONNECTION   "lan_connection"
 

Definition at line 61 of file fts-simple.h.

#define GLITE_FTS_PARAM_MYPROXY   "myproxy"
 

Definition at line 51 of file fts-simple.h.

#define GLITE_FTS_PARAM_OVERWRITEFLAG   "overwrite"
 

Definition at line 65 of file fts-simple.h.

#define GLITE_FTS_PARAM_SPACETOKEN   "spacetoken"
 

Definition at line 57 of file fts-simple.h.

#define GLITE_FTS_PARAM_SPACETOKEN_SOURCE   "source_spacetoken"
 

Definition at line 58 of file fts-simple.h.

#define GLITE_FTS_SD_ENV   "GLITE_SD_FTS_TYPE"
 

Definition at line 79 of file fts-simple.h.

#define GLITE_FTS_SD_PATTERN   "surl_pattern"
 

Definition at line 68 of file fts-simple.h.

#define GLITE_FTS_SD_SRM_ENDPOINT   "srm_endpoint"
 

Definition at line 70 of file fts-simple.h.

#define GLITE_FTS_SD_SURL_PREFIX   "surl_prefix"
 

Definition at line 69 of file fts-simple.h.

#define GLITE_FTS_SD_TYPE   "org.glite.FileTransfer"
 

Definition at line 73 of file fts-simple.h.

#define GLITE_FTS_SURL_DEFAULT   GLITE_FTS_SURL_LFN
 

Definition at line 45 of file fts-simple.h.


Enumeration Type Documentation

enum glite_fts_surl_pattern
 

Copyright (c) Members of the EGEE Collaboration.

2004-2008. See http://www.eu-egee.org/partners/ for details on the copyright holders. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. GLite Data Management - Simple file fts API Authors: Gabor Gombas <Gabor.Gombas@cern.ch> Zoltan Farkas <Zoltan.Farkas@cern.ch> Paolo Tedesco <paolo.tedesco@cern.ch> Version info:

Id
fts-simple.h,v 1.20 2008/11/27 15:01:16 ptedesco Exp
Release:
Name
glite-data-transfer-cli_R_3_6_3_1
Enumeration values:
GLITE_FTS_SURL_LFN 
GLITE_FTS_SURL_DAY 
GLITE_FTS_SURL_HOUR 
GLITE_FTS_SURL_FLAT 

Definition at line 36 of file fts-simple.h.


Function Documentation

const char* glite_fts_get_endpoint glite_transfer_ctx ctx  ) 
 

The GLite Project. All rights reserved.