#include <glite/data/transfer/c/transfer-simple.h>
Go to the source code of this file.
Defines | |
#define | GLITE_CHANNEL_SD_TYPE "org.glite.ChannelManagement" |
#define | GLITE_CHANNEL_SD_ENV "GLITE_SD_CHANNEL_TYPE" |
Functions | |
const char * | glite_channel_get_endpoint (glite_transfer_ctx *ctx) |
Get the current endpoint used by the transfer context. | |
glite_channel_state | glite_channel_state_parse (glite_transfer_ctx *ctx, const char *state) |
Converts the state-string to the proper ENUM value. | |
const char * | glite_channel_state_str (glite_channel_state state) |
Converts the transfer-state variable to a human readable string. | |
char * | glite_channel_getVersion (glite_transfer_ctx *ctx) |
Get the version of the remote endpoint. | |
char * | glite_channel_getSchemaVersion (glite_transfer_ctx *ctx) |
Get the schema version of the remote endpoint. | |
char * | glite_channel_getInterfaceVersion (glite_transfer_ctx *ctx) |
Get the interface version of the remote endpoint. | |
char * | glite_channel_getServiceMetadata (glite_transfer_ctx *ctx, const char *key) |
Get the service metadata for a given key. | |
int | glite_channel_add (glite_transfer_ctx *ctx, const glite_transfer_Channel *channel) |
Add a new transfer channel to the database. | |
int | glite_channel_drop (glite_transfer_ctx *ctx, const char *name) |
Drop a channel from the database. | |
glite_transfer_Channel * | glite_channel_getChannel (glite_transfer_ctx *ctx, const char *name) |
Get a channel object by its name. | |
glite_transfer_Channel2 * | glite_channel_getChannel2 (glite_transfer_ctx *ctx, const char *name) |
char ** | glite_channel_listChannels (glite_transfer_ctx *ctx, int *resultCnt) |
List all channels in the database. | |
int | glite_channel_changeStateForHeldJob (glite_transfer_ctx *ctx, const char *jobId, glite_transfer_state state) |
Manual intervention command on channel. | |
int | glite_channel_changeStateForHeldJobsOnChannel (glite_transfer_ctx *ctx, const char *name, glite_transfer_state state) |
Manual intervention command on channel. | |
int | glite_channel_setBandwidth (glite_transfer_ctx *ctx, const char *name, int utilisation) |
Set the theoretical bandwidth of a channel. | |
int | glite_channel_setBandwidth2 (glite_transfer_ctx *ctx, const char *name, int utilisation, const char *message) |
int | glite_channel_setContact (glite_transfer_ctx *ctx, const char *name, const char *contact) |
Set the contact information of a channel which can be queried in case of a problem. | |
int | glite_channel_setContact2 (glite_transfer_ctx *ctx, const char *name, const char *contact, const char *message) |
int | glite_channel_setTCPBufferSize (glite_transfer_ctx *ctx, const char *name, const char *buffer_size) |
Set the default TCP buffer size for a channel. | |
int | glite_channel_setTCPBufferSize2 (glite_transfer_ctx *ctx, const char *name, const char *buffer_size, const char *message) |
int | glite_channel_setNominalThroughput (glite_transfer_ctx *ctx, const char *name, int nominalThroughput) |
Set the maximal throughput value of a channel which should not be overrun. | |
int | glite_channel_setNominalThroughput2 (glite_transfer_ctx *ctx, const char *name, int nominalThroughput, const char *message) |
int | glite_channel_setNumberOfFiles (glite_transfer_ctx *ctx, const char *name, int numberOfFiles) |
Set the maximal number of files that can be transfered simultanously on a channel. | |
int | glite_channel_setNumberOfFiles2 (glite_transfer_ctx *ctx, const char *name, int numberOfFiles, const char *message) |
int | glite_channel_setNumberOfStreams (glite_transfer_ctx *ctx, const char *name, int numberOfStreams) |
Set the maximal number of streams a file transfer can be split. | |
int | glite_channel_setNumberOfStreams2 (glite_transfer_ctx *ctx, const char *name, int numberOfStreams, const char *message) |
int | glite_channel_setState (glite_transfer_ctx *ctx, const char *name, glite_channel_state state) |
Set the state of a channel. | |
int | glite_channel_setState2 (glite_transfer_ctx *ctx, const char *name, glite_channel_state state, const char *message) |
int | glite_channel_addManager (glite_transfer_ctx *ctx, const char *name, const char *principal) |
Add a manager to the channel. | |
int | glite_channel_removeManager (glite_transfer_ctx *ctx, const char *name, const char *principal) |
Remove a manager from the channel. | |
char ** | glite_channel_listManagers (glite_transfer_ctx *ctx, const char *name, int *resultCnt) |
List all managers of the channel. | |
int | glite_channel_setVOShare (glite_transfer_ctx *ctx, const char *name, const char *VOname, int share) |
Sets the share of a VO on a given channel. | |
int | glite_channel_setVOLimit (glite_transfer_ctx *ctx, const char *name, const char *VOname, int limit) |
Sets the transfer limit of a VO on a given channel. | |
glite_transfer_ChannelAuditEntry ** | glite_channel_channelAudit (glite_transfer_ctx *ctx, const time_t startTime, const time_t endTime, const char *restrictType, const int lastNentries, const char *channelName, int *resultCount) |
Fetches the channel admin audit for the given period. |
|
Definition at line 29 of file channel-simple.h. |
|
Definition at line 26 of file channel-simple.h. |