Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
globus_gass_copy.h File Reference

GASS Copy Library. More...

#include <openssl/evp.h>
#include "globus_gass_transfer.h"
#include "globus_ftp_client.h"
#include "globus_io.h"

Go to the source code of this file.

Data Structures

struct  globus_gass_copy_handle_s
 Copy Handle. More...
 
struct  globus_gass_copy_attr_s
 Attributes. More...
 
struct  globus_gass_copy_handleattr_s
 Handle Attributes. More...
 
struct  globus_gass_copy_glob_stat_t
 Glob expanded entry information. More...
 

Macros

#define GLOBUS_GASS_COPY_MODULE   (&globus_i_gass_copy_module)
 Module Descriptor.
 

Typedefs

typedef void(* globus_gass_copy_performance_cb_t )(void *user_arg, globus_gass_copy_handle_t *handle, globus_off_t total_bytes, float instantaneous_throughput, float avg_throughput)
 Performance Callback. More...
 
typedef void(* globus_gass_copy_callback_t )(void *callback_arg, globus_gass_copy_handle_t *handle, globus_object_t *error)
 Copy Callback. More...
 
typedef struct
globus_gass_copy_attr_s 
globus_gass_copy_attr_t
 Attributes. More...
 
typedef struct
globus_gass_copy_handleattr_s 
globus_gass_copy_handleattr_t
 Handle Attributes. More...
 
typedef void(* globus_gass_copy_glob_entry_cb_t )(const char *url, const globus_gass_copy_glob_stat_t *info_stat, void *user_arg)
 Gass copy glob entry callback. More...
 

Enumerations

enum  globus_gass_copy_status_t
 Status States.
 
enum  globus_gass_copy_url_mode_t
 URL Modes.
 
enum  globus_gass_copy_glob_entry_t
 

Functions

globus_result_t globus_gass_copy_handle_init (globus_gass_copy_handle_t *handle, globus_gass_copy_handleattr_t *handle_attr)
 Initialize a GASS Copy handle. More...
 
globus_result_t globus_gass_copy_handle_destroy (globus_gass_copy_handle_t *handle)
 Destroy a GASS Copy handle. More...
 
globus_result_t globus_gass_copy_set_buffer_length (globus_gass_copy_handle_t *handle, int length)
 Set the size of the buffer to be used for doing transfers. More...
 
globus_result_t globus_gass_copy_get_buffer_length (globus_gass_copy_handle_t *handle, int *length)
 Get the size of the transfer buffer. More...
 
globus_result_t globus_gass_copy_set_no_third_party_transfers (globus_gass_copy_handle_t *handle, globus_bool_t no_third_party_transfers)
 Enable/Disable third-party transfers. More...
 
globus_result_t globus_gass_copy_get_no_third_party_transfers (globus_gass_copy_handle_t *handle, globus_bool_t *no_third_party_transfers)
 Query third-party transfer status. More...
 
globus_result_t globus_gass_copy_get_partial_offsets (globus_gass_copy_handle_t *handle, globus_off_t *offset, globus_off_t *end_offset)
 Get partial transfer offsets. More...
 
globus_result_t globus_gass_copy_set_partial_offsets (globus_gass_copy_handle_t *handle, globus_off_t offset, globus_off_t end_offset)
 Set partial file offsets. More...
 
globus_result_t globus_gass_copy_set_allocate (globus_gass_copy_handle_t *handle, globus_bool_t send_allo)
 Set allo on or off.
 
globus_result_t globus_gass_copy_set_stat_on_expand (globus_gass_copy_handle_t *handle, globus_bool_t always_stat)
 Make globus_gass_copy_expand_url() always send stat info.
 
globus_result_t globus_gass_copy_set_checksum_algo (globus_gass_copy_handle_t *handle, char *algo, globus_gass_copy_handle_t *cksm_handle)
 Stores the checksum algorithm to use with all checksum operations. More...
 
globus_result_t globus_gass_copy_set_checksum (globus_gass_copy_handle_t *handle, char *cksm)
 Copies the checksum to the handle's checksum parameter. More...
 
globus_result_t globus_gass_copy_get_url_mode (char *url, globus_gass_copy_url_mode_t *mode)
 Get URL scheme. More...
 
globus_result_t globus_gass_copy_attr_init (globus_gass_copy_attr_t *attr)
 Initialize an attribute structure. More...
 
globus_result_t globus_gass_copy_attr_set_ftp (globus_gass_copy_attr_t *attr, globus_ftp_client_operationattr_t *ftp_attr)
 Set the attributes for ftp/gsiftp transfers. More...
 
globus_result_t globus_gass_copy_attr_set_io (globus_gass_copy_attr_t *attr, globus_io_attr_t *io_attr)
 Set file transfers attributes. More...
 
globus_result_t globus_gass_copy_attr_set_gass (globus_gass_copy_attr_t *attr, globus_gass_transfer_requestattr_t *gass_attr)
 Set the http/https attributes. More...
 
globus_result_t globus_gass_copy_url_to_url (globus_gass_copy_handle_t *handle, char *source_url, globus_gass_copy_attr_t *source_attr, char *dest_url, globus_gass_copy_attr_t *dest_attr)
 Blocking Transfer between URLs. More...
 
globus_result_t globus_gass_copy_url_to_handle (globus_gass_copy_handle_t *handle, char *source_url, globus_gass_copy_attr_t *source_attr, globus_io_handle_t *dest_handle)
 Blocking Transfer from an URL to an IO handle. More...
 
globus_result_t globus_gass_copy_handle_to_url (globus_gass_copy_handle_t *handle, globus_io_handle_t *source_handle, char *dest_url, globus_gass_copy_attr_t *dest_attr)
 Blocking transfer from an IO handle to an URL. More...
 
globus_result_t globus_gass_copy_register_url_to_url (globus_gass_copy_handle_t *handle, char *source_url, globus_gass_copy_attr_t *dest_attr, char *dest_url, globus_gass_copy_attr_t *source_attr, globus_gass_copy_callback_t callback_func, void *callback_arg)
 
globus_result_t globus_gass_copy_register_url_to_handle (globus_gass_copy_handle_t *handle, char *source_url, globus_gass_copy_attr_t *source_attr, globus_io_handle_t *dest_handle, globus_gass_copy_callback_t callback_func, void *callback_arg)
 Nonblocking transfer from an URL to an IO handle. More...
 
globus_result_t globus_gass_copy_register_handle_to_url (globus_gass_copy_handle_t *handle, globus_io_handle_t *source_handle, char *dest_url, globus_gass_copy_attr_t *dest_attr, globus_gass_copy_callback_t callback_func, void *callback_arg)
 
globus_result_t globus_gass_copy_get_status (globus_gass_copy_handle_t *handle, globus_gass_copy_status_t *status)
 Get the status code of a transfer. More...
 
const char * globus_gass_copy_get_status_string (globus_gass_copy_handle_t *handle)
 Get the status string of a transfer. More...
 
globus_result_t globus_gass_copy_cancel (globus_gass_copy_handle_t *handle, globus_gass_copy_callback_t cancel_callback, void *cancel_callback_arg)
 Cancel a transfer.
 
globus_result_t globus_gass_copy_cache_url_state (globus_gass_copy_handle_t *handle, char *url)
 Cache connections to an FTP or GridFTP server. More...
 
globus_result_t globus_gass_copy_flush_url_state (globus_gass_copy_handle_t *handle, char *url)
 Remove an FTP or GridFTP cached connection. More...
 
globus_result_t globus_gass_copy_set_user_pointer (globus_gass_copy_handle_t *handle, void *user_data)
 Set the user pointer in a handle.
 
globus_result_t globus_gass_copy_get_user_pointer (globus_gass_copy_handle_t *handle, void **user_data)
 Get the user pointer in a handle.
 
globus_result_t globus_gass_copy_register_performance_cb (globus_gass_copy_handle_t *handle, globus_gass_copy_performance_cb_t callback, void *user_arg)
 Register a performance information callback. More...
 
globus_result_t globus_gass_copy_glob_expand_url (globus_gass_copy_handle_t *handle, const char *url, globus_gass_copy_attr_t *attr, globus_gass_copy_glob_entry_cb_t entry_cb, void *user_arg)
 Expand globbed url. More...
 
globus_result_t globus_gass_copy_mkdir (globus_gass_copy_handle_t *handle, char *url, globus_gass_copy_attr_t *attr)
 Make directory. More...
 

Detailed Description

GASS Copy Library.