.TH "globus_ftp_client_plugins" 3 "Wed Feb 27 2019" "Version 9.2" "globus_ftp_client" \" -*- nroff -*- .ad l .nh .SH NAME globus_ftp_client_plugins \- Plugin API\&. .SH SYNOPSIS .br .PP .SS "Modules" .in +1c .ti -1c .RI "\fBDebugging Plugin\fP" .br .RI "Debugging Plugin\&. " .ti -1c .RI "\fBPerformance Marker Plugin\fP" .br .RI "Performance Marker Plugin\&. " .ti -1c .RI "\fBRestart Marker Plugin\fP" .br .RI "Restart Marker Plugin\&. " .ti -1c .RI "\fBRestart Plugin\fP" .br .RI "Restart Plugin\&. " .ti -1c .RI "\fBNetlogger Throughput Plugin\fP" .br .RI "Netlogger Throughput Plugin\&. " .ti -1c .RI "\fBThroughput Performance Plugin\fP" .br .RI "Throughput Performance Plugin\&. " .in -1c .SS "Data Structures" .in +1c .ti -1c .RI "struct \fBglobus_i_ftp_client_plugin_t\fP" .br .RI "FTP Client Plugin\&. .PP Each plugin implementation should define a method for initializing one of these structures\&. Plugins may be implemented as either a static function table, or a specialized plugin with plugin-specific attributes\&. " .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "typedef struct \fBglobus_i_ftp_client_plugin_t\fP * \fBglobus_ftp_client_plugin_t\fP" .br .RI "FTP Client plugin .PP An FTP Client plugin is used to add restart, monitoring, and performance tuning operations to the FTP Client library, without modifying the base API\&. Multiple plugins may be associated with a globus_ftp_client_handle_t\&. " .ti -1c .RI "typedef \fBglobus_ftp_client_plugin_t\fP *(* \fBglobus_ftp_client_plugin_copy_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin_template, void *plugin_specific)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_destroy_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_connect_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_authenticate_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const globus_ftp_control_auth_info_t *auth_info)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_chmod_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, int mode, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_chgrp_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *group, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_utime_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const struct tm *utime_time, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_symlink_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *utime_time, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_cksm_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, globus_off_t offset, globus_off_t length, const char *algorithm, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_delete_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_feat_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_mkdir_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_rmdir_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_list_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_verbose_list_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_machine_list_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_recursive_list_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_mlst_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_stat_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_move_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *source_url, const char *dest_url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_get_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_put_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_third_party_transfer_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *source_url, const \fBglobus_ftp_client_operationattr_t\fP *source_attr, const char *dest_url, const \fBglobus_ftp_client_operationattr_t\fP *dest_attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_modification_time_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_size_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_abort_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_read_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const globus_byte_t *buffer, globus_size_t buffer_length)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_write_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const globus_byte_t *buffer, globus_size_t buffer_length, globus_off_t offset, globus_bool_t eof)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_data_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, globus_object_t *error, const globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_command_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *command)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_response_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, globus_object_t *error, const globus_ftp_control_response_t *ftp_response)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_fault_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, globus_object_t *error)" .br .ti -1c .RI "typedef void(* \fBglobus_ftp_client_plugin_complete_t\fP) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle)" .br .ti -1c .RI "typedef struct \fBglobus_i_ftp_client_plugin_t\fP \fBglobus_i_ftp_client_plugin_t\fP" .br .RI "FTP Client Plugin\&. .PP Each plugin implementation should define a method for initializing one of these structures\&. Plugins may be implemented as either a static function table, or a specialized plugin with plugin-specific attributes\&. " .in -1c .SS "Enumerations" .in +1c .ti -1c .RI "enum \fBglobus_ftp_client_plugin_command_mask_t\fP { , \fBGLOBUS_FTP_CLIENT_CMD_MASK_CONTROL_ESTABLISHMENT\fP = 1<<0, \fBGLOBUS_FTP_CLIENT_CMD_MASK_DATA_ESTABLISHMENT\fP = 1<<1, \fBGLOBUS_FTP_CLIENT_CMD_MASK_TRANSFER_PARAMETERS\fP = 1<<2, \fBGLOBUS_FTP_CLIENT_CMD_MASK_TRANSFER_MODIFIERS\fP = 1<<3, \fBGLOBUS_FTP_CLIENT_CMD_MASK_FILE_ACTIONS\fP = 1<<4, \fBGLOBUS_FTP_CLIENT_CMD_MASK_INFORMATION\fP = 1<<5, \fBGLOBUS_FTP_CLIENT_CMD_MASK_MISC\fP = 1<<6, \fBGLOBUS_FTP_CLIENT_CMD_MASK_BUFFER\fP = 1<<7, \fBGLOBUS_FTP_CLIENT_CMD_MASK_ALL\fP = 0x7fffffff }" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_list\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_verbose_list\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_machine_list\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_recursive_list\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_mlst\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_stat\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_chmod\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, int mode, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_chgrp\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *group, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_utime\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const struct tm *utime_time, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_symlink\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *link_url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_cksm\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, globus_off_t offset, globus_off_t length, const char *algorithm, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_delete\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_feat\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_mkdir\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_rmdir\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_move\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *source_url, const char *dest_url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_get\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, \fBglobus_ftp_client_restart_marker_t\fP *restart_marker, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_put\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, \fBglobus_ftp_client_restart_marker_t\fP *restart_marker, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_third_party_transfer\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *source_url, const \fBglobus_ftp_client_operationattr_t\fP *source_attr, const char *dest_url, const \fBglobus_ftp_client_operationattr_t\fP *dest_attr, \fBglobus_ftp_client_restart_marker_t\fP *restart_marker, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_size\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_modification_time\fP (\fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, const globus_abstime_t *when)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_restart_get_marker\fP (\fBglobus_ftp_client_handle_t\fP *handle, \fBglobus_ftp_client_restart_marker_t\fP *marker)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_abort\fP (\fBglobus_ftp_client_handle_t\fP *handle)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_add_data_channels\fP (\fBglobus_ftp_client_handle_t\fP *handle, unsigned int num_channels, unsigned int stripe)" .br .ti -1c .RI "globus_result_t \fBglobus_ftp_client_plugin_remove_data_channels\fP (\fBglobus_ftp_client_handle_t\fP *handle, unsigned int num_channels, unsigned int stripe)" .br .in -1c .SH "Detailed Description" .PP Plugin API\&. A plugin is a way to implement application-independent reliability and performance tuning behavior\&. Plugins are written using the API described in this document\&. .PP A plugin is created by defining a globus_ftp_client_plugin_t which contains the function pointers and plugin-specific data needed for the plugin's operation\&. It is recommended that a plugin define a a globus_module_descriptor_t and plugin initialization functions, to ensure that the plugin is properly initialized\&. .PP The functions pointed to in a plugin are called when significant events in the life of an FTP Client operation occur\&. Note that plugins will only be called when the plugin has the function pointer for both the operation (get, put, list, etc), and the event (connect, authenticate, command, etc), are defined\&. The command and response functions are filtered based on the command_mask defined in the plugin structure\&. .PP Every plugin must define \fBcopy \fP and \fBdestroy \fP functions\&. The copy function is called when the plugin is added to an attribute set or a handle is initialized with an attribute set containing the plugin\&. The destroy function is called when the handle or attribute set is destroyed\&. .SH "Typedef Documentation" .PP .SS "typedef void(* globus_ftp_client_plugin_abort_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle)" Plugin abort notification callback\&. .PP This callback is used to notify a plugin that an abort is being requested on a client handle\&. This notification happens both when the user aborts a request and when a plugin aborts the currently active request\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the request\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_authenticate_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const globus_ftp_control_auth_info_t *auth_info)" Plugin authentication notification callback\&. .PP This callback is used to notify a plugin that an authentication handshake is being done for this client handle\&. This notification can occur when a new request is made or when a hard restart is done by a plugin\&. .PP If a response_callback is defined by a plugin, then that will be once the authentication has completed (successfully or unsuccessfully)\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the connection\&. .br \fIurl\fP The URL of the server to connect to\&. .br \fIauth_info\fP Authentication and authorization info being used to authenticate with the FTP or GridFTP server\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_chgrp_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *group, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin chgrp notification callback\&. .PP This callback is used to notify a plugin that a chgrp is being requested on a client handle\&. This notification happens both when the user requests a chgrp, and when a plugin restarts the currently active chgrp request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the chgrp will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the delete operation\&. .br \fIurl\fP The url to chgrp\&. .br \fIgroup\fP The group name or ID to change to\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current delete operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_chmod_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, int mode, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin chmod notification callback\&. .PP This callback is used to notify a plugin that a chmod is being requested on a client handle\&. This notification happens both when the user requests a chmod, and when a plugin restarts the currently active chmod request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the chmod will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the delete operation\&. .br \fIurl\fP The url to chmod\&. .br \fImode\fP The file mode to be applied\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current delete operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_cksm_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, globus_off_t offset, globus_off_t length, const char *algorithm, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin cksm notification callback\&. .PP This callback is used to notify a plugin that a cksm is being requested on a client handle\&. This notification happens both when the user requests a cksm, and when a plugin restarts the currently active cksm request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the cksm will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the delete operation\&. .br \fIurl\fP The url to cksm\&. .br \fIoffset\fP File offset to start calculating checksum\&. .br \fIlength\fP Length of data to read from the starting offset\&. Use -1 to read the entire file\&. .br \fIalgorithm\fP A pointer to a string to be filled with the checksum of the file\&. On error the value pointed to by it is undefined\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current delete operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_command_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *command)" Command callback\&. .PP This callback is used to notify a plugin that a FTP control command is being sent\&. The client library will only call this function for response callbacks associated with a command which is in the plugin's command mask, and associated with one of the other ftp operations with a defined callback in the plugin\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the request\&. .br \fIurl\fP The URL which this command is being sent to\&. .br \fIcommand\fP A string containing the command which is being sent to the server (TYPE I, for example)\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_complete_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle)" Completion notification callback\&. .PP This callback is used to notify a plugin that an operation previously begun has completed\&. The plugin may not call any other plugin operation on this handle after this has occurred\&. This is the final callback for the plugin while processing the operation\&. The plugin may free any internal state associated with the operation at this point\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the operation\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_connect_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url)" Plugin connection begin function\&. .PP This callback is used to notify a plugin that connection establishment is being done for this client handle\&. This notification can occur when a new request is made or when a restart is done by a plugin\&. .PP If a response_callback is defined by a plugin, then that will be once the connection establishment has completed (successfully or unsuccessfully)\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the connection\&. .RE .PP \fBNote:\fP .RS 4 This function will not be called for a get, put, or third-party transfer operation when a cached connection is used\&. .RE .PP .SS "typedef \fBglobus_ftp_client_plugin_t\fP*(* globus_ftp_client_plugin_copy_t) (\fBglobus_ftp_client_plugin_t\fP *plugin_template, void *plugin_specific)" Plugin copy function\&. .PP This function is used to create a new copy or reference count a plugin\&. This function is called by the FTP Client library when a plugin is added to a handle attribute set, or when a handle is initialized with an attribute which contains the plugin\&. .PP A plugin may not call any of the plugin API functions from it's instantiate method\&. .PP \fBParameters:\fP .RS 4 \fIplugin_template\fP A plugin previously initialized by a call to the plugin-specific initialization function\&. by the user\&. .br \fIplugin_specific\fP Plugin-specific data\&. .RE .PP \fBReturns:\fP .RS 4 A pointer to a plugin\&. This plugin copy must remain valid until the copy's \fBdestroy\fP function is called on the copy\&. .RE .PP \fBSee also:\fP .RS 4 \fBglobus_ftp_client_plugin_destroy_t\fP .RE .PP .SS "typedef void(* globus_ftp_client_plugin_data_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, globus_object_t *error, const globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof)" Plugin data callback handler\&. .PP This callback is used to notify a plugin that a read or write operation previously registered has completed\&. The buffer pointer will match that of a previous plugin read or write registration callback\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the request\&. .br \fIbuffer\fP The buffer which was successfully transferred over the network\&. .br \fIlength\fP The amount of data to read or written\&. .br \fIoffset\fP The offset into the file where this data buffer belongs\&. .br \fIeof\fP This value is set to GLOBUS_TRUE if end-of-file is being processed for this transfer\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_delete_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin delete notification callback\&. .PP This callback is used to notify a plugin that a delete is being requested on a client handle\&. This notification happens both when the user requests a delete, and when a plugin restarts the currently active delete request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the delete will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the delete operation\&. .br \fIurl\fP The url to be deleted\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current delete operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_destroy_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific)" Plugin destroy function\&. .PP This function is used to free or unreference a copy of a plugin which was allocated by calling the instantiate function from the plugin\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin, created by the create function, which is to be destroyed\&. .br \fIplugin_specific\fP Plugin-specific data\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_fault_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, globus_object_t *error)" Fault notification callback\&. .PP This callback is used to notify a plugin that a fault occurred while processing the request\&. The fault may be internally generated, or come from a call to another library\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the request\&. .br \fIurl\fP The url being processed when the fault ocurred\&. .br \fIerror\fP An error object describing the fault\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_feat_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin feat notification callback\&. .PP This callback is used to notify a plugin that a feat is being requested on a client handle\&. This notification happens both when the user requests a feat, and when a plugin restarts the currently active feat request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the feat will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the feat operation\&. .br \fIurl\fP The url to be feat'd\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current feat operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_get_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin get notification callback\&. .PP This callback is used to notify a plugin that a get is being requested on a client handle\&. This notification happens both when the user requests a get, and when a plugin restarts the currently active get request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the get will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the get operation\&. .br \fIurl\fP The url of the get operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current get transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_list_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin list notification callback\&. .PP This callback is used to notify a plugin that a list is being requested on a client handle\&. This notification happens both when the user requests a list, and when a plugin restarts the currently active list request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the list will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_machine_list_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin machine list notification callback\&. .PP This callback is used to notify a plugin that a list is being requested on a client handle\&. This notification happens both when the user requests a list, and when a plugin restarts the currently active list request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the list will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_mkdir_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin mkdir notification callback\&. .PP This callback is used to notify a plugin that a mkdir is being requested on a client handle\&. This notification happens both when the user requests a mkdir, and when a plugin restarts the currently active mkdir request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the mkdir will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the mkdir operation\&. .br \fIurl\fP The url of the directory to create\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current mkdir operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_mlst_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin mlst notification callback\&. .PP This callback is used to notify a plugin that a mlst is being requested on a client handle\&. This notification happens both when the user requests a list, and when a plugin restarts the currently active list request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the list will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_modification_time_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin modification time notification callback\&. .PP This callback is used to notify a plugin that a modification time check is being requested on a client handle\&. This notification happens both when the user requests the modification time of a file, and when a plugin restarts the currently active request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the modification time request will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_move_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *source_url, const char *dest_url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin move notification callback\&. .PP This callback is used to notify a plugin that a move is being requested on a client handle\&. This notification happens both when the user requests a move, and when a plugin restarts the currently active move request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the move will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the move operation\&. .br \fIsource_url\fP The source url of the move operation\&. .br \fIdest_url\fP The destination url of the move operation\&. .br \fIattr\fP The attributes to be used during this move\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current move transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_put_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin put notification callback\&. .PP This callback is used to notify a plugin that a put is being requested on a client handle\&. This notification happens both when the user requests a put, and when a plugin restarts the currently active put request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the put will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the put operation\&. .br \fIurl\fP The url of the put operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current put transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_read_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const globus_byte_t *buffer, globus_size_t buffer_length)" Plugin read registration callback\&. .PP This callback is used to notify a plugin that the client API has registered a buffer with the FTP control API for reading when processing a get\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the request\&. .br \fIbuffer\fP The data buffer to read into\&. .br \fIbuffer_length\fP The maximum amount of data to read into the buffer\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_recursive_list_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin recursive list notification callback\&. .PP This callback is used to notify a plugin that a list is being requested on a client handle\&. This notification happens both when the user requests a list, and when a plugin restarts the currently active list request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the list will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_response_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, globus_object_t *error, const globus_ftp_control_response_t *ftp_response)" Response callback\&. .PP This callback is used to notify a plugin that a FTP control response has occurred on a control connection\&. FTP response callbacks will come back to the user in the order which the commands were executed\&. The client library will only call this function for response callbacks associated with a command which is in the plugin's command mask, or associated with one of the other ftp operations with a defined callback in the plugin\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the request\&. .br \fIurl\fP The URL which this response came from\&. .br \fIerror\fP An error which occurred while processing this command/response pair\&. .br \fIftp_response\fP The response structure from the ftp control library\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_rmdir_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin rmdir notification callback\&. .PP This callback is used to notify a plugin that a rmdir is being requested on a client handle\&. This notification happens both when the user requests a rmdir, and when a plugin restarts the currently active rmdir request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the rmdir will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the rmdir operation\&. .br \fIurl\fP The url of the rmdir operation\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current rmdir operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_size_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin size notification callback\&. .PP This callback is used to notify a plugin that a size check is being requested on a client handle\&. This notification happens both when the user requests the size of a file, and when a plugin restarts the currently active request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the size request will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_stat_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin stat notification callback\&. .PP This callback is used to notify a plugin that a stat is being requested on a client handle\&. This notification happens both when the user requests a list, and when a plugin restarts the currently active list request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the list will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_symlink_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const char *utime_time, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin symlink notification callback\&. .PP This callback is used to notify a plugin that a symlink is being requested on a client handle\&. This notification happens both when the user requests a symlink, and when a plugin restarts the currently active symlink request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the symlink will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the symlink operation\&. .br \fIurl\fP The url of the new link\&. .br \fIlink_url\fP The url to which the new link should point\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current utime operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef struct \fBglobus_i_ftp_client_plugin_t\fP* \fBglobus_ftp_client_plugin_t\fP" .PP FTP Client plugin .PP An FTP Client plugin is used to add restart, monitoring, and performance tuning operations to the FTP Client library, without modifying the base API\&. Multiple plugins may be associated with a globus_ftp_client_handle_t\&. .PP \fBSee also:\fP .RS 4 \fBglobus_ftp_client_handle_init()\fP, \fBglobus_ftp_client_handle_destroy()\fP, \fBglobus_ftp_client_handleattr_t\fP, \fBDebugging Plugin \fP .RE .PP .SS "typedef void(* globus_ftp_client_plugin_third_party_transfer_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *source_url, const \fBglobus_ftp_client_operationattr_t\fP *source_attr, const char *dest_url, const \fBglobus_ftp_client_operationattr_t\fP *dest_attr, globus_bool_t restart)" Plugin third-party transfer notification callback\&. .PP This callback is used to notify a plugin that a transfer is being requested on a client handle\&. This notification happens both when the user requests a transfer, and when a plugin restarts the currently active transfer request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the third-party transfer will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the transfer operation\&. .br \fIsource_url\fP The source url of the transfer operation\&. .br \fIsource_attr\fP The attributes to be used during this transfer on the source\&. .br \fIdest_url\fP The destination url of the third-party transfer operation\&. .br \fIdest_attr\fP The attributes to be used during this transfer on the destination\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current transfer transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_utime_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const struct tm *utime_time, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin utime notification callback\&. .PP This callback is used to notify a plugin that a utime is being requested on a client handle\&. This notification happens both when the user requests a utime, and when a plugin restarts the currently active utime request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the utime will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the utime operation\&. .br \fIurl\fP The url to utime\&. .br \fIutime_time\fP The modification time to change the file to\&. .br \fIattr\fP The attributes to be used during this operation\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current utime operation; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_verbose_list_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const char *url, const \fBglobus_ftp_client_operationattr_t\fP *attr, globus_bool_t restart)" Plugin verbose list notification callback\&. .PP This callback is used to notify a plugin that a list is being requested on a client handle\&. This notification happens both when the user requests a list, and when a plugin restarts the currently active list request\&. .PP If this function is not defined by the plugin, then no plugin callbacks associated with the list will be called\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the list operation\&. .br \fIurl\fP The url of the list operation\&. .br \fIattr\fP The attributes to be used during this transfer\&. .br \fIrestart\fP This value is set to GLOBUS_TRUE when this callback is caused by a plugin restarting the current list transfer; otherwise, this is set to GLOBUS_FALSE\&. .RE .PP .SS "typedef void(* globus_ftp_client_plugin_write_t) (\fBglobus_ftp_client_plugin_t\fP *plugin, void *plugin_specific, \fBglobus_ftp_client_handle_t\fP *handle, const globus_byte_t *buffer, globus_size_t buffer_length, globus_off_t offset, globus_bool_t eof)" Plugin write registration callback\&. .PP This callback is used to notify a plugin that the client API has registered a buffer with the FTP control API for writing when processing a put\&. .PP \fBParameters:\fP .RS 4 \fIplugin\fP The plugin which is being notified\&. .br \fIplugin_specific\fP Plugin-specific data\&. .br \fIhandle\fP The handle associated with the request\&. .br \fIbuffer\fP The buffer which is being written\&. .br \fIbuffer_length\fP The amount of data in the buffer\&. .br \fIoffset\fP The offset within the file where the buffer is to be written\&. .br \fIeof\fP This value is set to GLOBUS_TRUE if this is the last data buffer to be sent for this put request\&. .RE .PP .SS "typedef struct \fBglobus_i_ftp_client_plugin_t\fP \fBglobus_i_ftp_client_plugin_t\fP" .PP FTP Client Plugin\&. .PP Each plugin implementation should define a method for initializing one of these structures\&. Plugins may be implemented as either a static function table, or a specialized plugin with plugin-specific attributes\&. Each plugin function may be either GLOBUS_NULL, or a valid function pointer\&. If the function is GLOBUS_NULL, then the plugin will not be notified when the corresponding event happens\&. .SH "Enumeration Type Documentation" .PP .SS "enum \fBglobus_ftp_client_plugin_command_mask_t\fP" Command Mask\&. .PP This enumeration includes the types of commands which the plugin is interested in\&. .PP \fBEnumerator\fP .in +1c .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_CONTROL_ESTABLISHMENT \fP\fP connect, authenticate .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_DATA_ESTABLISHMENT \fP\fP PASV, PORT, SPOR, SPAS .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_TRANSFER_PARAMETERS \fP\fP MODE, TYPE, STRU, OPTS RETR, DCAU .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_TRANSFER_MODIFIERS \fP\fP ALLO, REST .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_FILE_ACTIONS \fP\fP STOR, RETR, ESTO, ERET, APPE, LIST, NLST, MLSD, MLSR, GET, PUT .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_INFORMATION \fP\fP HELP, SITE HELP, FEAT, STAT, SYST, SIZE .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_MISC \fP\fP SITE, NOOP .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_BUFFER \fP\fP SBUF, ABUF .TP \fB\fIGLOBUS_FTP_CLIENT_CMD_MASK_ALL \fP\fP All possible commands .SH "Function Documentation" .PP .SS "globus_result_t globus_ftp_client_plugin_abort (\fBglobus_ftp_client_handle_t\fP * handle)" Abort a transfer operation\&. .PP This function will cause the currently executing transfer operation to be aborted\&. When this happens, all plugins will be notified by their abort callbacks\&. Once those are processed, the complete callback will be called for all plugins, and then for the user's callback\&. .PP The complete callback will indicate that the transfer did not complete successfully\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the transfer\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_add_data_channels (\fBglobus_ftp_client_handle_t\fP * handle, unsigned int num_channels, unsigned int stripe)" Add data channels to an existing put transfer\&. .PP This function will cause the currently executing transfer operation to have additional data channels acquired if the attribute set allows it\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the transfer\&. .br \fInum_channels\fP The number of channels to add to the transfer\&. .br \fIstripe\fP The stripe number to have the channels added to\&. .RE .PP \fBNote:\fP .RS 4 Do the plugins need to be notified when this happens? .RE .PP .SS "globus_result_t globus_ftp_client_plugin_remove_data_channels (\fBglobus_ftp_client_handle_t\fP * handle, unsigned int num_channels, unsigned int stripe)" Remove data channels from an existing put transfer\&. .PP This function will cause the currently executing transfer operation to have data channels removed, if the attribute set allows it\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the transfer\&. .br \fInum_channels\fP The number of channels to remove from the transfer\&. .br \fIstripe\fP The stripe number to have the channels removed from\&. .RE .PP \fBNote:\fP .RS 4 Do the plugins need to be notified when this happens? .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_chgrp (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const char * group, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing chgrp\&. .PP This function will cause the currently executing chgrp operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in chgrp events will receive a chgrp callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the chgrp\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original chgrp's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIgroup\fP The group name or ID to change the file to\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original chgrp's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the chgrp\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_chmod (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, int mode, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing chmod\&. .PP This function will cause the currently executing chmod operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in chmod events will receive a chmod callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the chmod\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original chmod's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fImode\fP The file mode that will be applied\&. Must be an octal number repre- senting the bit pattern for the new permissions\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original chmod's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the chmod\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_cksm (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, globus_off_t offset, globus_off_t length, const char * algorithm, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing cksm\&. .PP This function will cause the currently executing cksm operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in cksm events will receive a cksm callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the cksm\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original cksm's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIoffset\fP File offset to start calculating checksum\&. .br \fIlength\fP Length of data to read from the starting offset\&. Use -1 to read the entire file\&. .br \fIalgorithm\fP A pointer to a string to be filled with the checksum of the file\&. On error the value pointed to by it is undefined\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original cksm's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the cksm\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_delete (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing delete\&. .PP This function will cause the currently executing delete operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in delete events will receive a delete callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the delete\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original delete's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original delete's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the delete\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_feat (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing feat\&. .PP This function will cause the currently executing feat operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in feat events will receive a feat callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the feat\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original feat's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original feat's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the feat\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_get (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, \fBglobus_ftp_client_restart_marker_t\fP * restart_marker, const globus_abstime_t * when)" Restart an existing get\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in get events will receive a get callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the get\&. .br \fIurl\fP The source URL of the transfer\&. This may be different than the original get's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original get's attribute set\&. This may be useful when the plugin wishes to send restart markers to the FTP server to prevent re-sending the data which has already been sent\&. .br \fIrestart_marker\fP Plugin-provided restart marker for resuming at a non-default restart point\&. This may be used to implement a persistent restart across process invocations\&. The default behavior if this is NULL is to use any restart information which has been received by the ftp client library while processing this operation when restarted\&. .br \fIwhen\fP Absolute time for when to restart the get\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_get_marker (\fBglobus_ftp_client_handle_t\fP * handle, \fBglobus_ftp_client_restart_marker_t\fP * marker)" Get restart marker .PP This function will allow this user to get the restart marker associated with a restarted file transfer\&. This function may only be called within the get, put, or third party transfer callback in which the 'restart' argument is GLOBUS_TRUE .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the transfer\&. .br \fImarker\fP Pointer to an uninitialized restart marker type .RE .PP \fBReturns:\fP .RS 4 .IP "\(bu" 2 Error on NULL handle or marker .IP "\(bu" 2 Error on invalid use of function .IP "\(bu" 2 GLOBUS_SUCCESS (marker will be populated) .PP .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_list (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing list\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in list events will receive a list callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the list\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original list's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original list's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the list\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_machine_list (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing machine list\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in list events will receive a list callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the list\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original list's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original list's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the list\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_mkdir (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing mkdir\&. .PP This function will cause the currently executing operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in mkdir events will receive a mkdir callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the mkdir\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original mkdir's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original mkdir's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the mkdir\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_mlst (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing MLST\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in list events will receive a list callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the list\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original list's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original list's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the list\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_modification_time (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart a modification time check operation\&. .PP This function will cause the currently executing modification time check operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in modification time operations will receive a modification time callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the operation\&. .br \fIurl\fP The source URL of the modification time check\&. This may be different than the original operations URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new operation\&. This may be a modified version of the original operations's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the modification time check\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_move (\fBglobus_ftp_client_handle_t\fP * handle, const char * source_url, const char * dest_url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing move\&. .PP This function will cause the currently executing move operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially new URLs and attributes\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in get events will receive a move callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the move\&. .br \fIsource_url\fP The source URL of the move\&. This may be different than the original get's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIdest_url\fP The destination URL of the move\&. This may be different than the original get's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. Note that only the path component of this URL is used\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original move's attribute set\&. This may be useful when the plugin wishes to send restart markers to the FTP server to prevent re-sending the data which has already been sent\&. .br \fIwhen\fP Absolute time for when to restart the move\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_put (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, \fBglobus_ftp_client_restart_marker_t\fP * restart_marker, const globus_abstime_t * when)" Restart an existing put\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued but not called back will be resent once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in get events will receive a put callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the put\&. .br \fIurl\fP The URL of the transfer\&. This may be different than the original put's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. If the put is restarted with a different URL, the plugin must re-send any data which has already been acknowledged by it's callback\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original put's attribute set\&. This may be useful when the plugin wishes to send restart markers to the FTP server to prevent re-sending the data which has already been sent\&. .br \fIrestart_marker\fP Plugin-provided restart marker for resuming at a non-default restart point\&. This may be used to implement a persistent restart across process invocations\&. The default behavior if this is NULL is to use any restart information which has been received by the ftp client library while processing this operation when restarted\&. .br \fIwhen\fP Absolute time for when to restart the put\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_recursive_list (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing recursive list\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in list events will receive a list callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the list\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original list's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original list's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the list\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_rmdir (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing rmdir\&. .PP This function will cause the currently executing operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in rmdir events will receive a rmdir callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the rmdir\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original rmdir's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original rmdir's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the rmdir\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_size (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart a size check operation\&. .PP This function will cause the currently executing size check operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in size operations will receive a size callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the operation\&. .br \fIurl\fP The source URL of the size check\&. This may be different than the original operations URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new operation\&. This may be a modified version of the original operations's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the size check\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_stat (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing STAT\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in list events will receive a list callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the list\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original list's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original list's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the list\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_symlink (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const char * link_url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing symlink\&. .PP This function will cause the currently executing symlink operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in chgrp events will receive a chgrp callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the chgrp\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original symlink's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIlink_url\fP The URL to symbolically link the file to\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original symlink's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the symlink\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_third_party_transfer (\fBglobus_ftp_client_handle_t\fP * handle, const char * source_url, const \fBglobus_ftp_client_operationattr_t\fP * source_attr, const char * dest_url, const \fBglobus_ftp_client_operationattr_t\fP * dest_attr, \fBglobus_ftp_client_restart_marker_t\fP * restart_marker, const globus_abstime_t * when)" Restart an existing third-party transfer\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URLs and attributes\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in third-party transfer events will receive a transfer callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the transfer\&. .br \fIsource_url\fP The source URL of the transfer\&. This may be different than the original URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL .br \fIsource_attr\fP The attributes to use for the new transfer\&. This may be a modified version of the original transfer's attribute set\&. This may be useful when the plugin wishes to send restart markers to the FTP server to prevent re-sending the data which has already been sent\&. .br \fIdest_url\fP The destination URL of the transfer\&. This may be different than the original destination URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIdest_attr\fP The attributes to use for the new transfer\&. This may be a modified version of the original transfer's attribute set\&. This may be useful when the plugin wishes to send restart markers to the FTP server to prevent re-sending the data which has already been sent\&. .br \fIrestart_marker\fP Plugin-provided restart marker for resuming at a non-default restart point\&. This may be used to implement a persistent restart across process invocations\&. The default behavior if this is NULL is to use any restart information which has been received by the ftp client library while processing this operation when restarted\&. .br \fIwhen\fP Absolute time for when to restart the transfer\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_utime (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const struct tm * utime_time, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing utime\&. .PP This function will cause the currently executing utime operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in utime events will receive a utime callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the chgrp\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original utime's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIutime_time\fP The time value to change the file to\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original utime's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the utime\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SS "globus_result_t globus_ftp_client_plugin_restart_verbose_list (\fBglobus_ftp_client_handle_t\fP * handle, const char * url, const \fBglobus_ftp_client_operationattr_t\fP * attr, const globus_abstime_t * when)" Restart an existing verbose list\&. .PP This function will cause the currently executing transfer operation to be restarted\&. When a restart happens, the operation will be silently aborted, and then restarted with potentially a new URL and attributes\&. Any data buffers which are currently queued will be cleared and reused once the connection is re-established\&. .PP The user will not receive any notification that a restart has happened\&. Each plugin which is interested in list events will receive a list callback with the restart boolean set to GLOBUS_TRUE\&. .PP \fBParameters:\fP .RS 4 \fIhandle\fP The handle which is associated with the list\&. .br \fIurl\fP The destination URL of the transfer\&. This may be different than the original list's URL, if the plugin decides to redirect to another FTP server due to performance or reliability problems with the original URL\&. .br \fIattr\fP The attributes to use for the new transfer\&. This may be a modified version of the original list's attribute set\&. .br \fIwhen\fP Absolute time for when to restart the list\&. The current control and data connections will be stopped immediately\&. If this completes before \fBwhen\fP, then the restart will be delayed until that time\&. Otherwise, it will be immediately restarted\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for globus_ftp_client from the source code\&.