globus_ftp_client.h
Go to the documentation of this file.
/*
* Copyright 1999-2006 University of Chicago
*
* 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.
*/
#ifndef GLOBUS_FTP_CLIENT_H
#define GLOBUS_FTP_CLIENT_H
#ifndef GLOBUS_GLOBAL_DOCUMENT_SET
#endif
#include "globus_ftp_control.h"
#include "globus_priority_q.h"
#ifdef __cplusplus
extern "C" {
#endif
#define GLOBUS_FTP_CLIENT_MODULE (&globus_i_ftp_client_module)
extern globus_module_descriptor_t globus_i_ftp_client_module;
typedef enum
{
GLOBUS_FTP_CLIENT_ERROR_PARAMETER,
GLOBUS_FTP_CLIENT_ERROR_MEMORY,
GLOBUS_FTP_CLIENT_ERROR_ABORTED,
GLOBUS_FTP_CLIENT_ERROR_INTERNAL,
GLOBUS_FTP_CLIENT_ERROR_IN_USE,
GLOBUS_FTP_CLIENT_ERROR_NOT_IN_USE,
GLOBUS_FTP_CLIENT_ERROR_COMPLETED,
GLOBUS_FTP_CLIENT_ERROR_INVALID_OPERATION,
GLOBUS_FTP_CLIENT_ERROR_UNEXPECTED_EOF,
GLOBUS_FTP_CLIENT_ERROR_NO_SUCH_FILE,
GLOBUS_FTP_CLIENT_ERROR_PROTOCOL,
GLOBUS_FTP_CLIENT_ERROR_RESPONSE,
GLOBUS_FTP_CLIENT_ERROR_FEATURE,
GLOBUS_FTP_CLIENT_ERROR_NO_RESTART_MARKER
} globus_ftp_client_error_t;
typedef enum
{
GLOBUS_FTP_CLIENT_RESTART_NONE,
GLOBUS_FTP_CLIENT_RESTART_STREAM,
GLOBUS_FTP_CLIENT_RESTART_EXTENDED_BLOCK
}
globus_ftp_client_restart_type_t;
typedef struct
{
globus_ftp_client_restart_type_t type;
globus_off_t offset;
globus_off_t ascii_offset;
}
globus_ftp_client_restart_stream_t;
typedef struct
{
globus_ftp_client_restart_type_t type;
globus_fifo_t ranges;
}
globus_ftp_client_restart_extended_block_t;
typedef union
{
globus_ftp_client_restart_type_t type;
globus_ftp_client_restart_stream_t stream;
globus_ftp_client_restart_extended_block_t extended_block;
}
globus_ftp_client_restart_marker_t;
typedef struct globus_i_ftp_client_handle_t * globus_ftp_client_handle_t;
typedef struct globus_i_ftp_client_plugin_t * globus_ftp_client_plugin_t;
typedef void (*globus_ftp_client_complete_callback_t) (
void * user_arg,
globus_ftp_client_handle_t * handle,
globus_object_t * error);
typedef void (*globus_ftp_client_data_callback_t) (
void * user_arg,
globus_ftp_client_handle_t * handle,
globus_object_t * error,
globus_byte_t * buffer,
globus_size_t length,
globus_off_t offset,
globus_bool_t eof);
typedef struct globus_i_ftp_client_operationattr_t *
globus_ftp_client_operationattr_t;
typedef struct
globus_i_ftp_client_handleattr_t * globus_ftp_client_handleattr_t;
#ifndef DOXYGEN
globus_result_t
globus_ftp_client_restart_marker_init(
globus_ftp_client_restart_marker_t * marker);
globus_result_t
globus_ftp_client_restart_marker_destroy(
globus_ftp_client_restart_marker_t * marker);
globus_result_t
globus_ftp_client_restart_marker_copy(
globus_ftp_client_restart_marker_t * new_marker,
globus_ftp_client_restart_marker_t * marker);
globus_result_t
globus_ftp_client_restart_marker_insert_range(
globus_ftp_client_restart_marker_t * marker,
globus_off_t offset,
globus_off_t end_offset);
globus_result_t
globus_ftp_client_restart_marker_set_offset(
globus_ftp_client_restart_marker_t * marker,
globus_off_t offset);
globus_result_t
globus_ftp_client_restart_marker_set_ascii_offset(
globus_ftp_client_restart_marker_t * marker,
globus_off_t offset,
globus_off_t ascii_offset);
globus_result_t
globus_ftp_client_restart_marker_get_total(
globus_ftp_client_restart_marker_t * marker,
globus_off_t * total_bytes);
globus_result_t
globus_ftp_client_restart_marker_get_first_block(
globus_ftp_client_restart_marker_t * marker,
globus_off_t * offset,
globus_off_t * end_offset);
globus_result_t
globus_ftp_client_restart_marker_to_string(
globus_ftp_client_restart_marker_t * marker,
char ** marker_string);
globus_result_t
globus_ftp_client_restart_marker_from_string(
globus_ftp_client_restart_marker_t * marker,
const char * marker_string);
#endif
#ifndef DOXYGEN
globus_result_t
globus_ftp_client_handle_init(
globus_ftp_client_handle_t * handle,
globus_ftp_client_handleattr_t* attr);
globus_result_t
globus_ftp_client_handle_destroy(
globus_ftp_client_handle_t * handle);
globus_result_t
globus_ftp_client_handle_borrow_connection(
globus_ftp_client_handle_t * from_handle,
globus_bool_t from_is_source,
globus_ftp_client_handle_t * to_handle,
globus_bool_t to_is_source);
globus_result_t
globus_ftp_client_handle_cache_url_state(
globus_ftp_client_handle_t * handle,
const char * url);
globus_result_t
globus_ftp_client_handle_flush_url_state(
globus_ftp_client_handle_t * handle,
const char * url);
globus_result_t
globus_ftp_client_handle_set_user_pointer(
globus_ftp_client_handle_t * handle,
void * user_pointer);
globus_result_t
globus_ftp_client_handle_get_user_pointer(
const globus_ftp_client_handle_t * handle,
void ** user_pointer);
globus_result_t
globus_ftp_client_handle_get_restart_marker(
const globus_ftp_client_handle_t * handle,
globus_ftp_client_restart_marker_t * marker);
globus_result_t
globus_ftp_client_handle_add_plugin(
globus_ftp_client_handle_t * handle,
globus_ftp_client_plugin_t * plugin);
globus_result_t
globus_ftp_client_handle_remove_plugin(
globus_ftp_client_handle_t * handle,
globus_ftp_client_plugin_t * plugin);
#endif
#ifndef DOXYGEN
globus_result_t
globus_ftp_client_handleattr_init(
globus_ftp_client_handleattr_t * attr);
globus_result_t
globus_ftp_client_handleattr_destroy(
globus_ftp_client_handleattr_t * attr);
globus_result_t
globus_ftp_client_handleattr_copy(
globus_ftp_client_handleattr_t * dest,
globus_ftp_client_handleattr_t * src);
globus_result_t
globus_ftp_client_handleattr_add_cached_url(
globus_ftp_client_handleattr_t * attr,
const char * url);
globus_result_t
globus_ftp_client_handleattr_remove_cached_url(
globus_ftp_client_handleattr_t * attr,
const char * url);
globus_result_t
globus_ftp_client_handleattr_set_cache_all(
globus_ftp_client_handleattr_t * attr,
globus_bool_t cache_all);
globus_result_t
globus_ftp_client_handleattr_get_cache_all(
const globus_ftp_client_handleattr_t * attr,
globus_bool_t * cache_all);
globus_result_t
globus_ftp_client_handleattr_set_rfc1738_url(
globus_ftp_client_handleattr_t * attr,
globus_bool_t rfc1738_url);
globus_result_t
globus_ftp_client_handleattr_get_rfc1738_url(
const globus_ftp_client_handleattr_t * attr,
globus_bool_t * rfc1738_url);
typedef void (*globus_ftp_client_pipeline_callback_t)(
globus_ftp_client_handle_t * handle,
char ** source_url,
char ** dest_url,
void * user_arg);
globus_result_t
globus_ftp_client_handleattr_set_pipeline(
globus_ftp_client_handleattr_t * attr,
globus_size_t outstanding_commands,
globus_ftp_client_pipeline_callback_t pipeline_callback,
void * pipeline_arg);
globus_result_t
globus_ftp_client_handleattr_get_pipeline(
const globus_ftp_client_handleattr_t * attr,
globus_size_t * outstanding_commands,
globus_ftp_client_pipeline_callback_t * pipeline_callback,
void ** pipeline_arg);
globus_result_t
globus_ftp_client_handleattr_set_gridftp2(
globus_ftp_client_handleattr_t * attr,
globus_bool_t gridftp2);
globus_result_t
globus_ftp_client_handleattr_get_gridftp2(
const globus_ftp_client_handleattr_t * attr,
globus_bool_t * gridftp2);
globus_result_t
globus_ftp_client_handleattr_set_netlogger(
globus_ftp_client_handleattr_t * attr,
globus_netlogger_handle_t * nl_handle);
globus_result_t
globus_ftp_client_handleattr_set_clientinfo(
globus_ftp_client_handleattr_t * attr,
const char * app_name,
const char * app_version,
const char * other);
globus_result_t
globus_ftp_client_handleattr_get_clientinfo(
globus_ftp_client_handleattr_t * attr,
char ** app_name,
char ** app_version,
char ** other);
globus_result_t
globus_ftp_client_handleattr_set_netlogger_ftp_io(
globus_ftp_client_handleattr_t * attr,
globus_netlogger_handle_t * nl_handle,
globus_bool_t ftp,
globus_bool_t io);
globus_result_t
globus_ftp_client_handleattr_remove_plugin(
globus_ftp_client_handleattr_t * attr,
globus_ftp_client_plugin_t * plugin);
globus_result_t
globus_ftp_client_handleattr_add_plugin(
globus_ftp_client_handleattr_t * attr,
globus_ftp_client_plugin_t * plugin);
#endif
#ifndef DOXYGEN
globus_result_t
globus_ftp_client_chmod(
globus_ftp_client_handle_t * u_handle,
const char * url,
int mode,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_chgrp(
globus_ftp_client_handle_t * u_handle,
const char * url,
const char * group,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_utime(
globus_ftp_client_handle_t * u_handle,
const char * url,
const struct tm * utime_time,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_symlink(
globus_ftp_client_handle_t * u_handle,
const char * url,
const char * link_url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_cksm(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
char * cksm,
globus_off_t offset,
globus_off_t length,
const char * algorithm,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_delete(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_mkdir(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_rmdir(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_list(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_verbose_list(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_machine_list(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_recursive_list(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_mlst(
globus_ftp_client_handle_t * u_handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_byte_t ** mlst_buffer,
globus_size_t * mlst_buffer_length,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_cwd(
globus_ftp_client_handle_t * u_handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_byte_t ** cwd_buffer,
globus_size_t * cwd_buffer_length,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_stat(
globus_ftp_client_handle_t * u_handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_byte_t ** stat_buffer,
globus_size_t * stat_buffer_length,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_move(
globus_ftp_client_handle_t * handle,
const char * source_url,
const char * dest_url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_get(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_restart_marker_t * restart,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_put(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_restart_marker_t * restart,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_third_party_transfer(
globus_ftp_client_handle_t * handle,
const char * source_url,
globus_ftp_client_operationattr_t * source_attr,
const char * dest_url,
globus_ftp_client_operationattr_t * dest_attr,
globus_ftp_client_restart_marker_t * restart,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_partial_get(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_restart_marker_t * restart,
globus_off_t partial_offset,
globus_off_t partial_end_offset,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_partial_put(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_restart_marker_t * restart,
globus_off_t partial_offset,
globus_off_t partial_end_offset,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_partial_third_party_transfer(
globus_ftp_client_handle_t * handle,
const char * source_url,
globus_ftp_client_operationattr_t * source_attr,
const char * dest_url,
globus_ftp_client_operationattr_t * dest_attr,
globus_ftp_client_restart_marker_t * restart,
globus_off_t partial_offset,
globus_off_t partial_end_offset,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_extended_get(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_restart_marker_t * restart,
const char * eret_alg_str,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_extended_put(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_restart_marker_t * restart,
const char * esto_alg_str,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_extended_third_party_transfer(
globus_ftp_client_handle_t * handle,
const char * source_url,
globus_ftp_client_operationattr_t * source_attr,
const char * eret_alg_str,
const char * dest_url,
globus_ftp_client_operationattr_t * dest_attr,
const char * esto_alg_str,
globus_ftp_client_restart_marker_t * restart,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_abort(
globus_ftp_client_handle_t * handle);
globus_result_t
globus_ftp_client_modification_time(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_abstime_t * modification_time,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_size(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_off_t * size,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_exists(
globus_ftp_client_handle_t * handle,
const char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
#endif
#ifndef DOXYGEN
globus_result_t
globus_ftp_client_operationattr_init(
globus_ftp_client_operationattr_t * attr);
globus_result_t
globus_ftp_client_operationattr_destroy(
globus_ftp_client_operationattr_t * attr);
globus_result_t
globus_ftp_client_operationattr_set_parallelism(
globus_ftp_client_operationattr_t * attr,
const globus_ftp_control_parallelism_t * parallelism);
globus_result_t
globus_ftp_client_operationattr_get_parallelism(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_parallelism_t * parallelism);
globus_result_t
globus_ftp_client_operationattr_set_storage_module(
globus_ftp_client_operationattr_t * attr,
const char * module_name,
const char * module_args);
globus_result_t
globus_ftp_client_operationattr_get_storage_module(
const globus_ftp_client_operationattr_t * attr,
char ** module_name,
char ** module_args);
globus_result_t
globus_ftp_client_operationattr_set_net_stack(
globus_ftp_client_operationattr_t * attr,
const char * driver_list);
globus_result_t
globus_ftp_client_operationattr_get_net_stack(
const globus_ftp_client_operationattr_t * attr,
char ** driver_list);
globus_result_t
globus_ftp_client_operationattr_set_disk_stack(
globus_ftp_client_operationattr_t * attr,
const char * driver_list);
globus_result_t
globus_ftp_client_operationattr_get_disk_stack(
const globus_ftp_client_operationattr_t * attr,
char ** driver_list);
globus_result_t
globus_ftp_client_operationattr_set_authz_assert(
globus_ftp_client_operationattr_t * attr,
const char * authz_assert,
globus_bool_t cache_authz_assert);
globus_result_t
globus_ftp_client_operationattr_get_authz_assert(
const globus_ftp_client_operationattr_t * attr,
char ** authz_assert,
globus_bool_t * cache_authz_assert);
globus_result_t
globus_ftp_client_operationattr_set_striped(
globus_ftp_client_operationattr_t * attr,
globus_bool_t striped);
globus_result_t
globus_ftp_client_operationattr_get_striped(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * striped);
globus_result_t
globus_ftp_client_operationattr_set_layout(
globus_ftp_client_operationattr_t * attr,
const globus_ftp_control_layout_t * layout);
globus_result_t
globus_ftp_client_operationattr_get_layout(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_layout_t * layout);
globus_result_t
globus_ftp_client_operationattr_set_tcp_buffer(
globus_ftp_client_operationattr_t * attr,
const globus_ftp_control_tcpbuffer_t * tcp_buffer);
globus_result_t
globus_ftp_client_operationattr_get_tcp_buffer(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_tcpbuffer_t * tcp_buffer);
globus_result_t
globus_ftp_client_operationattr_set_type(
globus_ftp_client_operationattr_t * attr,
globus_ftp_control_type_t type);
globus_result_t
globus_ftp_client_operationattr_get_type(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_type_t * type);
globus_result_t
globus_ftp_client_operationattr_set_mode(
globus_ftp_client_operationattr_t * attr,
globus_ftp_control_mode_t mode);
globus_result_t
globus_ftp_client_operationattr_get_mode(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_mode_t * mode);
globus_result_t
globus_ftp_client_operationattr_set_list_uses_data_mode(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t list_uses_data_mode);
globus_result_t
globus_ftp_client_operationattr_get_list_uses_data_mode(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * list_uses_data_mode);
globus_result_t
globus_ftp_client_operationattr_set_delayed_pasv(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t delayed_pasv);
globus_result_t
globus_ftp_client_operationattr_get_delayed_pasv(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * delayed_pasv);
globus_result_t
globus_ftp_client_operationattr_set_dcau(
globus_ftp_client_operationattr_t * attr,
const globus_ftp_control_dcau_t * dcau);
globus_result_t
globus_ftp_client_operationattr_get_dcau(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_dcau_t * dcau);
globus_result_t
globus_ftp_client_operationattr_set_data_protection(
globus_ftp_client_operationattr_t * attr,
globus_ftp_control_protection_t protection);
globus_result_t
globus_ftp_client_operationattr_get_data_protection(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_protection_t * protection);
globus_result_t
globus_ftp_client_operationattr_set_control_protection(
globus_ftp_client_operationattr_t * attr,
globus_ftp_control_protection_t protection);
globus_result_t
globus_ftp_client_operationattr_get_control_protection(
const globus_ftp_client_operationattr_t * attr,
globus_ftp_control_protection_t * protection);
globus_result_t
globus_ftp_client_operationattr_set_data_security(
globus_ftp_client_operationattr_t * attr,
int type,
void * credential);
globus_result_t
globus_ftp_client_operationattr_get_data_security(
const globus_ftp_client_operationattr_t * attr,
int * type,
void ** credential);
globus_result_t
globus_ftp_client_operationattr_set_resume_third_party_transfer(
globus_ftp_client_operationattr_t * attr,
globus_bool_t resume);
globus_result_t
globus_ftp_client_operationattr_get_resume_third_party_transfer(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * resume);
globus_result_t
globus_ftp_client_operationattr_set_authorization(
globus_ftp_client_operationattr_t * attr,
gss_cred_id_t credential,
const char * user,
const char * password,
const char * account,
const char * subject);
globus_result_t
globus_ftp_client_operationattr_get_authorization(
const globus_ftp_client_operationattr_t * attr,
gss_cred_id_t * credential,
char ** user,
char ** password,
char ** account,
char ** subject);
globus_result_t
globus_ftp_client_operationattr_set_append(
globus_ftp_client_operationattr_t * attr,
globus_bool_t append);
globus_result_t
globus_ftp_client_operationattr_get_append(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * append);
globus_result_t
globus_ftp_client_operationattr_set_read_all(
globus_ftp_client_operationattr_t * attr,
globus_bool_t read_all,
globus_ftp_client_data_callback_t intermediate_callbacks,
void * intermediate_callback_arg);
globus_result_t
globus_ftp_client_operationattr_get_read_all(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * read_all,
globus_ftp_client_data_callback_t * intermediate_callbacks,
void ** intermediate_callback_arg);
globus_result_t
globus_ftp_client_operationattr_set_allow_ipv6(
globus_ftp_client_operationattr_t * attr,
globus_bool_t allow);
globus_result_t
globus_ftp_client_operationattr_get_allow_ipv6(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * allow);
globus_result_t
globus_ftp_client_operationattr_set_allocate(
globus_ftp_client_operationattr_t * attr,
const globus_off_t allocated_size);
globus_result_t
globus_ftp_client_operationattr_get_allocate(
const globus_ftp_client_operationattr_t * attr,
globus_off_t * allocated_size);
globus_result_t
globus_ftp_client_operationattr_copy(
globus_ftp_client_operationattr_t * dst,
const globus_ftp_client_operationattr_t * src);
globus_result_t
globus_ftp_client_operationattr_set_rfc1738_url(
globus_ftp_client_operationattr_t * attr,
globus_bool_t rfc1738_url);
globus_result_t
globus_ftp_client_operationattr_get_rfc1738_url(
const globus_ftp_client_operationattr_t * attr,
globus_bool_t * rfc1738_url);
#endif
#ifndef DOXYGEN
globus_result_t
globus_ftp_client_register_read(
globus_ftp_client_handle_t * handle,
globus_byte_t * buffer,
globus_size_t buffer_length,
globus_ftp_client_data_callback_t callback,
void * callback_arg);
globus_result_t
globus_ftp_client_register_write(
globus_ftp_client_handle_t * handle,
globus_byte_t * buffer,
globus_size_t buffer_length,
globus_off_t offset,
globus_bool_t eof,
globus_ftp_client_data_callback_t callback,
void * callback_arg);
#endif
typedef enum
{
GLOBUS_FTP_CLIENT_FALSE = GLOBUS_FALSE,
GLOBUS_FTP_CLIENT_TRUE = GLOBUS_TRUE,
GLOBUS_FTP_CLIENT_MAYBE
}
globus_ftp_client_tristate_t;
typedef enum
{
/* Buffer-size setting commands; keep these at the beginning of
* the enum
*/
GLOBUS_FTP_CLIENT_FEATURE_RETRBUFSIZE = 0,
GLOBUS_FTP_CLIENT_FEATURE_RBUFSZ,
GLOBUS_FTP_CLIENT_FEATURE_RBUFSIZ,
GLOBUS_FTP_CLIENT_FEATURE_STORBUFSIZE,
GLOBUS_FTP_CLIENT_FEATURE_SBUSSZ,
GLOBUS_FTP_CLIENT_FEATURE_SBUFSIZ,
GLOBUS_FTP_CLIENT_FEATURE_BUFSIZE,
GLOBUS_FTP_CLIENT_FEATURE_SBUF,
GLOBUS_FTP_CLIENT_FEATURE_ABUF,
GLOBUS_FTP_CLIENT_FEATURE_REST_STREAM,
GLOBUS_FTP_CLIENT_FEATURE_PARALLELISM,
GLOBUS_FTP_CLIENT_FEATURE_DCAU,
GLOBUS_FTP_CLIENT_FEATURE_DCSC,
GLOBUS_FTP_CLIENT_FEATURE_ESTO,
GLOBUS_FTP_CLIENT_FEATURE_ERET,
GLOBUS_FTP_CLIENT_FEATURE_SIZE,
GLOBUS_FTP_CLIENT_FEATURE_CKSM,
GLOBUS_FTP_CLIENT_FEATURE_CHMOD,
GLOBUS_FTP_CLIENT_FEATURE_AUTHZ_ASSERT,
GLOBUS_FTP_CLIENT_FEATURE_CLIENTINFO,
GLOBUS_FTP_CLIENT_FEATURE_SITE_SETNETSTACK,
GLOBUS_FTP_CLIENT_FEATURE_DELAYED_PASV,
GLOBUS_FTP_CLIENT_FEATURE_GETPUT,
GLOBUS_FTP_CLIENT_FEATURE_MLST,
GLOBUS_FTP_CLIENT_FEATURE_CHGRP,
GLOBUS_FTP_CLIENT_FEATURE_UTIME,
GLOBUS_FTP_CLIENT_FEATURE_SYMLINK,
GLOBUS_FTP_CLIENT_FEATURE_MAX,
GLOBUS_FTP_CLIENT_LAST_BUFFER_COMMAND = GLOBUS_FTP_CLIENT_FEATURE_ABUF,
GLOBUS_FTP_CLIENT_FIRST_FEAT_FEATURE = GLOBUS_FTP_CLIENT_FEATURE_SBUF,
GLOBUS_FTP_CLIENT_LAST_FEAT_FEATURE = GLOBUS_FTP_CLIENT_FEATURE_MLST
}
globus_ftp_client_probed_feature_t;
typedef struct globus_i_ftp_client_features_s * globus_ftp_client_features_t;
#ifndef DOXYGEN
globus_result_t
globus_ftp_client_feat(
globus_ftp_client_handle_t * u_handle,
char * url,
globus_ftp_client_operationattr_t * attr,
globus_ftp_client_features_t * u_features,
globus_ftp_client_complete_callback_t complete_callback,
void * callback_arg);
globus_result_t
globus_ftp_client_is_feature_supported(
const globus_ftp_client_features_t * u_features,
globus_ftp_client_tristate_t * answer,
const globus_ftp_client_probed_feature_t feature);
globus_result_t globus_ftp_client_features_init(
globus_ftp_client_features_t *);
globus_result_t globus_ftp_client_features_destroy(
globus_ftp_client_features_t *);
int
globus_error_ftp_error_get_code(
globus_object_t * error);
#define GLOBUS_ERROR_TYPE_FTP (&GLOBUS_ERROR_TYPE_FTP_DEFINITION)
extern const globus_object_type_t GLOBUS_ERROR_TYPE_FTP_DEFINITION;
#endif
EXTERN_C_END
#endif /* GLOBUS_FTP_CLIENT_H */
globus_ftp_client_get
globus_result_t globus_ftp_client_get(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3215
globus_ftp_client_handleattr_add_cached_url
globus_result_t globus_ftp_client_handleattr_add_cached_url(globus_ftp_client_handleattr_t *attr, const char *url)
Definition: globus_ftp_client_attr.c:872
globus_ftp_client_operationattr_set_control_protection
globus_result_t globus_ftp_client_operationattr_set_control_protection(globus_ftp_client_operationattr_t *attr, globus_ftp_control_protection_t protection)
Definition: globus_ftp_client_attr.c:3322
globus_ftp_client_restart_type_t
globus_ftp_client_restart_type_t
Definition: globus_ftp_client.h:142
globus_ftp_client_features_t
struct globus_i_ftp_client_features_s * globus_ftp_client_features_t
Feature HandleHandle used to associate state with feature operations.
Definition: globus_ftp_client.h:1260
globus_ftp_client_mlst
globus_result_t globus_ftp_client_mlst(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_byte_t **mlst_buffer, globus_size_t *mlst_buffer_length, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1638
globus_ftp_client_symlink
globus_result_t globus_ftp_client_symlink(globus_ftp_client_handle_t *u_handle, const char *source_url, const char *link_url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2923
globus_ftp_client_handleattr_set_clientinfo
globus_result_t globus_ftp_client_handleattr_set_clientinfo(globus_ftp_client_handleattr_t *attr, const char *app_name, const char *app_version, const char *other)
Definition: globus_ftp_client_attr.c:593
globus_ftp_client_operationattr_set_tcp_buffer
globus_result_t globus_ftp_client_operationattr_set_tcp_buffer(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_tcpbuffer_t *tcp_buffer)
Definition: globus_ftp_client_attr.c:2211
globus_ftp_client_operationattr_set_layout
globus_result_t globus_ftp_client_operationattr_set_layout(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_layout_t *layout)
Definition: globus_ftp_client_attr.c:2096
globus_ftp_client_complete_callback_t
void(* globus_ftp_client_complete_callback_t)(void *user_arg, globus_ftp_client_handle_t *handle, globus_object_t *error)
Definition: globus_ftp_client.h:278
globus_ftp_client_operationattr_set_striped
globus_result_t globus_ftp_client_operationattr_set_striped(globus_ftp_client_operationattr_t *attr, globus_bool_t striped)
Definition: globus_ftp_client_attr.c:2003
globus_i_ftp_client_handle_t
FTP Client handle implementation.
Definition: globus_i_ftp_client.h:522
globus_ftp_client_operationattr_set_append
globus_result_t globus_ftp_client_operationattr_set_append(globus_ftp_client_operationattr_t *attr, globus_bool_t append)
Definition: globus_ftp_client_attr.c:3418
globus_i_ftp_client_handleattr_t
Handle attributes.
Definition: globus_i_ftp_client.h:193
globus_i_ftp_client_features_s
FTP server features we are interested in.
Definition: globus_i_ftp_client.h:436
globus_ftp_client_operationattr_set_delayed_pasv
globus_result_t globus_ftp_client_operationattr_set_delayed_pasv(const globus_ftp_client_operationattr_t *attr, globus_bool_t delayed_pasv)
Definition: globus_ftp_client_attr.c:2582
globus_ftp_client_operationattr_t
struct globus_i_ftp_client_operationattr_t * globus_ftp_client_operationattr_t
Operation Attributes.FTP Client attributes are used to control the parameters needed to access an URL...
Definition: globus_ftp_client.h:333
globus_ftp_client_error_t
globus_ftp_client_error_t
Definition: globus_ftp_client.h:116
globus_ftp_client_operationattr_set_storage_module
globus_result_t globus_ftp_client_operationattr_set_storage_module(globus_ftp_client_operationattr_t *attr, const char *module_name, const char *module_args)
Definition: globus_ftp_client_attr.c:1367
globus_ftp_client_list
globus_result_t globus_ftp_client_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1129
globus_ftp_client_utime
globus_result_t globus_ftp_client_utime(globus_ftp_client_handle_t *u_handle, const char *url, const struct tm *utime_time, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2676
globus_ftp_client_extended_third_party_transfer
globus_result_t globus_ftp_client_extended_third_party_transfer(globus_ftp_client_handle_t *handle, const char *source_url, globus_ftp_client_operationattr_t *source_attr, const char *eret_alg_str, const char *dest_url, globus_ftp_client_operationattr_t *dest_attr, const char *esto_alg_str, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4466
globus_ftp_client_restart_marker_set_ascii_offset
globus_result_t globus_ftp_client_restart_marker_set_ascii_offset(globus_ftp_client_restart_marker_t *marker, globus_off_t offset, globus_off_t ascii_offset)
Definition: globus_ftp_client_restart_marker.c:354
globus_ftp_client_operationattr_set_type
globus_result_t globus_ftp_client_operationattr_set_type(globus_ftp_client_operationattr_t *attr, globus_ftp_control_type_t type)
Definition: globus_ftp_client_attr.c:2311
globus_ftp_client_operationattr_set_net_stack
globus_result_t globus_ftp_client_operationattr_set_net_stack(globus_ftp_client_operationattr_t *attr, const char *driver_list)
Definition: globus_ftp_client_attr.c:1498
globus_ftp_client_handle_init
globus_result_t globus_ftp_client_handle_init(globus_ftp_client_handle_t *handle, globus_ftp_client_handleattr_t *attr)
Definition: globus_ftp_client_handle.c:243
globus_ftp_client_register_read
globus_result_t globus_ftp_client_register_read(globus_ftp_client_handle_t *handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_ftp_client_data_callback_t callback, void *callback_arg)
Definition: globus_ftp_client_data.c:122
globus_ftp_client_tristate_t
globus_ftp_client_tristate_t
Definition: globus_ftp_client.h:1200
globus_ftp_client_partial_put
globus_result_t globus_ftp_client_partial_put(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_off_t partial_offset, globus_off_t partial_end_offset, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3835
globus_ftp_client_operationattr_init
globus_result_t globus_ftp_client_operationattr_init(globus_ftp_client_operationattr_t *attr)
Definition: globus_ftp_client_attr.c:1147
globus_ftp_client_probed_feature_t
globus_ftp_client_probed_feature_t
Definition: globus_ftp_client.h:1212
globus_ftp_client_chmod
globus_result_t globus_ftp_client_chmod(globus_ftp_client_handle_t *u_handle, const char *url, int mode, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2186
globus_ftp_client_partial_get
globus_result_t globus_ftp_client_partial_get(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_off_t partial_offset, globus_off_t partial_end_offset, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3286
globus_ftp_client_move
globus_result_t globus_ftp_client_move(globus_ftp_client_handle_t *u_handle, const char *source_url, const char *dest_url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1896
globus_ftp_client_operationattr_set_dcau
globus_result_t globus_ftp_client_operationattr_set_dcau(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_dcau_t *dcau)
Definition: globus_ftp_client_attr.c:2988
globus_ftp_client_operationattr_set_data_security
globus_result_t globus_ftp_client_operationattr_set_data_security(globus_ftp_client_operationattr_t *attr, int type, void *credential)
Definition: globus_ftp_client_attr.c:3171
globus_ftp_client_operationattr_set_allocate
globus_result_t globus_ftp_client_operationattr_set_allocate(globus_ftp_client_operationattr_t *attr, const globus_off_t allocated_size)
Definition: globus_ftp_client_attr.c:1809
globus_ftp_client_restart_marker_set_offset
globus_result_t globus_ftp_client_restart_marker_set_offset(globus_ftp_client_restart_marker_t *marker, globus_off_t offset)
Definition: globus_ftp_client_restart_marker.c:409
globus_ftp_client_handleattr_set_pipeline
globus_result_t globus_ftp_client_handleattr_set_pipeline(globus_ftp_client_handleattr_t *attr, globus_size_t outstanding_commands, globus_ftp_client_pipeline_callback_t pipeline_callback, void *pipeline_arg)
Definition: globus_ftp_client_attr.c:781
globus_i_ftp_client_module
globus_module_descriptor_t globus_i_ftp_client_module
Definition: globus_ftp_client.c:94
globus_ftp_client_features_destroy
globus_result_t globus_ftp_client_features_destroy(globus_ftp_client_features_t *u_features)
Definition: globus_ftp_client_feature.c:113
globus_i_ftp_client_operationattr_t
The globus_i_ftp_client_operationattr_t is a pointer to this structure type.
Definition: globus_i_ftp_client.h:131
globus_ftp_client_operationattr_set_list_uses_data_mode
globus_result_t globus_ftp_client_operationattr_set_list_uses_data_mode(const globus_ftp_client_operationattr_t *attr, globus_bool_t list_uses_data_mode)
Definition: globus_ftp_client_attr.c:2513
globus_ftp_client_restart_marker_copy
globus_result_t globus_ftp_client_restart_marker_copy(globus_ftp_client_restart_marker_t *new_marker, globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker.c:69
globus_ftp_client_restart_marker_from_string
globus_result_t globus_ftp_client_restart_marker_from_string(globus_ftp_client_restart_marker_t *marker, const char *marker_string)
Definition: globus_ftp_client_restart_marker.c:708
globus_ftp_client_stat
globus_result_t globus_ftp_client_stat(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_byte_t **stat_buffer, globus_size_t *stat_buffer_length, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1256
globus_ftp_client_modification_time
globus_result_t globus_ftp_client_modification_time(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_abstime_t *modification_time, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4905
globus_ftp_client_handleattr_t
struct globus_i_ftp_client_handleattr_t * globus_ftp_client_handleattr_t
Handle Attributes.Handle attributes are used to control the caching behavior of the ftp client handle...
Definition: globus_ftp_client.h:346
globus_ftp_client_operationattr_set_allow_ipv6
globus_result_t globus_ftp_client_operationattr_set_allow_ipv6(globus_ftp_client_operationattr_t *attr, globus_bool_t allow_ipv6)
Definition: globus_ftp_client_attr.c:3502
globus_ftp_client_handle_add_plugin
globus_result_t globus_ftp_client_handle_add_plugin(globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_handle.c:695
globus_ftp_client_handleattr_set_rfc1738_url
globus_result_t globus_ftp_client_handleattr_set_rfc1738_url(globus_ftp_client_handleattr_t *attr, globus_bool_t rfc1738_url)
Definition: globus_ftp_client_attr.c:512
globus_ftp_client_operationattr_set_parallelism
globus_result_t globus_ftp_client_operationattr_set_parallelism(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_parallelism_t *parallelism)
Definition: globus_ftp_client_attr.c:1710
globus_ftp_client_restart_marker_destroy
globus_result_t globus_ftp_client_restart_marker_destroy(globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker.c:141
globus_ftp_client_restart_stream_t
Stream mode restart marker.
Definition: globus_ftp_client.h:161
globus_ftp_client_operationattr_set_mode
globus_result_t globus_ftp_client_operationattr_set_mode(globus_ftp_client_operationattr_t *attr, globus_ftp_control_mode_t mode)
Definition: globus_ftp_client_attr.c:2415
globus_ftp_client_size
globus_result_t globus_ftp_client_size(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_off_t *size, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:5155
globus_ftp_client_handleattr_copy
globus_result_t globus_ftp_client_handleattr_copy(globus_ftp_client_handleattr_t *dest, globus_ftp_client_handleattr_t *src)
Definition: globus_ftp_client_attr.c:378
globus_ftp_client_restart_marker_insert_range
globus_result_t globus_ftp_client_restart_marker_insert_range(globus_ftp_client_restart_marker_t *marker, globus_off_t offset, globus_off_t end_offset)
Definition: globus_ftp_client_restart_marker.c:206
globus_ftp_client_register_write
globus_result_t globus_ftp_client_register_write(globus_ftp_client_handle_t *handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_off_t offset, globus_bool_t eof, globus_ftp_client_data_callback_t callback, void *callback_arg)
Definition: globus_ftp_client_data.c:337
globus_ftp_client_handle_destroy
globus_result_t globus_ftp_client_handle_destroy(globus_ftp_client_handle_t *handle)
Definition: globus_ftp_client_handle.c:365
globus_ftp_client_operationattr_set_authorization
globus_result_t globus_ftp_client_operationattr_set_authorization(globus_ftp_client_operationattr_t *attr, gss_cred_id_t credential, const char *user, const char *password, const char *account, const char *subject)
Definition: globus_ftp_client_attr.c:2756
globus_ftp_client_handleattr_set_gridftp2
globus_result_t globus_ftp_client_handleattr_set_gridftp2(globus_ftp_client_handleattr_t *attr, globus_bool_t gridftp2)
Definition: globus_ftp_client_attr.c:702
globus_ftp_client_extended_put
globus_result_t globus_ftp_client_extended_put(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, const char *esto_alg_str, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3908
globus_ftp_client_restart_marker_to_string
globus_result_t globus_ftp_client_restart_marker_to_string(globus_ftp_client_restart_marker_t *marker, char **marker_string)
Definition: globus_ftp_client_restart_marker.c:571
globus_ftp_client_handleattr_add_plugin
globus_result_t globus_ftp_client_handleattr_add_plugin(globus_ftp_client_handleattr_t *attr, globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_attr.c:1004
globus_ftp_client_operationattr_destroy
globus_result_t globus_ftp_client_operationattr_destroy(globus_ftp_client_operationattr_t *attr)
Definition: globus_ftp_client_attr.c:1252
globus_ftp_client_exists
globus_result_t globus_ftp_client_exists(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_exists.c:174
globus_ftp_client_restart_marker_get_total
globus_result_t globus_ftp_client_restart_marker_get_total(globus_ftp_client_restart_marker_t *marker, globus_off_t *total_bytes)
Definition: globus_ftp_client_restart_marker.c:452
globus_ftp_client_abort
globus_result_t globus_ftp_client_abort(globus_ftp_client_handle_t *u_handle)
Definition: globus_ftp_client_transfer.c:5638
globus_ftp_client_put
globus_result_t globus_ftp_client_put(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3772
globus_ftp_client_handleattr_set_netlogger
globus_result_t globus_ftp_client_handleattr_set_netlogger(globus_ftp_client_handleattr_t *attr, globus_netlogger_handle_t *nl_handle)
Definition: globus_ftp_client_attr.c:938
globus_ftp_client_operationattr_set_data_protection
globus_result_t globus_ftp_client_operationattr_set_data_protection(globus_ftp_client_operationattr_t *attr, globus_ftp_control_protection_t protection)
Definition: globus_ftp_client_attr.c:3097
globus_ftp_client_handle_set_user_pointer
globus_result_t globus_ftp_client_handle_set_user_pointer(globus_ftp_client_handle_t *handle, void *user_pointer)
Definition: globus_ftp_client_handle.c:559
globus_ftp_client_handle_t
struct globus_i_ftp_client_handle_t * globus_ftp_client_handle_t
FTP Client Handle.An FTP client handle is used to associate state with a group of operations...
Definition: globus_ftp_client.h:242
globus_ftp_client_handle_remove_plugin
globus_result_t globus_ftp_client_handle_remove_plugin(globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_handle.c:818
globus_ftp_client_recursive_list
globus_result_t globus_ftp_client_recursive_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1568
globus_ftp_client_cksm
globus_result_t globus_ftp_client_cksm(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, char *cksm, globus_off_t offset, globus_off_t length, const char *algorithm, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:5409
globus_ftp_client_data_callback_t
void(* globus_ftp_client_data_callback_t)(void *user_arg, globus_ftp_client_handle_t *handle, globus_object_t *error, globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof)
Definition: globus_ftp_client.h:311
globus_ftp_client_cwd
globus_result_t globus_ftp_client_cwd(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_byte_t **cwd_buffer, globus_size_t *cwd_buffer_length, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:643
globus_ftp_client_machine_list
globus_result_t globus_ftp_client_machine_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1510
globus_ftp_client_plugin_t
struct globus_i_ftp_client_plugin_t * globus_ftp_client_plugin_t
FTP Client pluginAn FTP Client plugin is used to add restart, monitoring, and performance tuning oper...
Definition: globus_ftp_client.h:257
globus_ftp_client_chgrp
globus_result_t globus_ftp_client_chgrp(globus_ftp_client_handle_t *u_handle, const char *url, const char *group, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2424
globus_ftp_client_verbose_list
globus_result_t globus_ftp_client_verbose_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1187
globus_ftp_client_mkdir
globus_result_t globus_ftp_client_mkdir(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:171
globus_ftp_client_operationattr_copy
globus_result_t globus_ftp_client_operationattr_copy(globus_ftp_client_operationattr_t *dst, const globus_ftp_client_operationattr_t *src)
Definition: globus_ftp_client_attr.c:3693
globus_ftp_client_delete
globus_result_t globus_ftp_client_delete(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:893
globus_ftp_client_handleattr_set_cache_all
globus_result_t globus_ftp_client_handleattr_set_cache_all(globus_ftp_client_handleattr_t *attr, globus_bool_t cache_all)
Definition: globus_ftp_client_attr.c:440
globus_ftp_client_operationattr_set_disk_stack
globus_result_t globus_ftp_client_operationattr_set_disk_stack(globus_ftp_client_operationattr_t *attr, const char *driver_list)
Definition: globus_ftp_client_attr.c:1600
globus_i_ftp_client_plugin_t
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:798
globus_ftp_client_handle_cache_url_state
globus_result_t globus_ftp_client_handle_cache_url_state(globus_ftp_client_handle_t *handle, const char *url)
Definition: globus_ftp_client_handle.c:450
globus_ftp_client_features_init
globus_result_t globus_ftp_client_features_init(globus_ftp_client_features_t *u_features)
Definition: globus_ftp_client_feature.c:90
globus_ftp_client_partial_third_party_transfer
globus_result_t globus_ftp_client_partial_third_party_transfer(globus_ftp_client_handle_t *handle, const char *source_url, globus_ftp_client_operationattr_t *source_attr, const char *dest_url, globus_ftp_client_operationattr_t *dest_attr, globus_ftp_client_restart_marker_t *restart, globus_off_t partial_offset, globus_off_t partial_end_offset, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4310
globus_ftp_client_restart_marker_t
Restart marker.This structure is may be either a stream mode transfer offset, or an extended block mo...
Definition: globus_ftp_client.h:220
globus_ftp_client_rmdir
globus_result_t globus_ftp_client_rmdir(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:402
globus_ftp_client_handle_flush_url_state
globus_result_t globus_ftp_client_handle_flush_url_state(globus_ftp_client_handle_t *handle, const char *url)
Definition: globus_ftp_client_handle.c:499
globus_ftp_client_operationattr_set_authz_assert
globus_result_t globus_ftp_client_operationattr_set_authz_assert(globus_ftp_client_operationattr_t *attr, const char *authz_assert, globus_bool_t cache_authz_assert)
Definition: globus_ftp_client_attr.c:1894
globus_ftp_client_handleattr_init
globus_result_t globus_ftp_client_handleattr_init(globus_ftp_client_handleattr_t *attr)
Definition: globus_ftp_client_attr.c:244
globus_ftp_client_restart_marker_init
globus_result_t globus_ftp_client_restart_marker_init(globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker.c:37
globus_ftp_client_operationattr_set_read_all
globus_result_t globus_ftp_client_operationattr_set_read_all(globus_ftp_client_operationattr_t *attr, globus_bool_t read_all, globus_ftp_client_data_callback_t intermediate_callback, void *intermediate_callback_arg)
Definition: globus_ftp_client_attr.c:3592
globus_ftp_client_is_feature_supported
globus_result_t globus_ftp_client_is_feature_supported(const globus_ftp_client_features_t *u_features, globus_ftp_client_tristate_t *answer, globus_ftp_client_probed_feature_t feature)
Definition: globus_ftp_client_feature.c:358
globus_ftp_client_feat
globus_result_t globus_ftp_client_feat(globus_ftp_client_handle_t *u_handle, char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_features_t *u_features, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_feature.c:160
globus_ftp_client_restart_extended_block_t
Extended block mode restart marker.
Definition: globus_ftp_client.h:192
globus_ftp_client_handleattr_destroy
globus_result_t globus_ftp_client_handleattr_destroy(globus_ftp_client_handleattr_t *attr)
Definition: globus_ftp_client_attr.c:307
globus_ftp_client_third_party_transfer
globus_result_t globus_ftp_client_third_party_transfer(globus_ftp_client_handle_t *handle, const char *source_url, globus_ftp_client_operationattr_t *source_attr, const char *dest_url, globus_ftp_client_operationattr_t *dest_attr, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4238
globus_ftp_client_extended_get
globus_result_t globus_ftp_client_extended_get(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, const char *eret_alg_str, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3439