17 #ifndef GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_H 18 #define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_H 47 #define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_MODULE (&globus_i_ftp_client_throughput_plugin_module) 77 const char * source_url,
78 const char * dest_url);
110 void * user_specific,
114 float instantaneous_throughput,
115 float avg_throughput);
144 void * user_specific,
147 float instantaneous_throughput,
148 float avg_throughput);
172 void * user_specific,
193 typedef void * (*globus_ftp_client_throughput_plugin_user_copy_cb_t)(
194 void * user_specific);
212 void * user_specific);
221 void * user_specific);
236 void ** user_specific);
void(* globus_ftp_client_throughput_plugin_begin_cb_t)(void *user_specific, globus_ftp_client_handle_t *handle, const char *source_url, const char *dest_url)
Definition: globus_ftp_client_throughput_plugin.h:74
void(* globus_ftp_client_throughput_plugin_stripe_cb_t)(void *user_specific, globus_ftp_client_handle_t *handle, int stripe_ndx, globus_off_t bytes, float instantaneous_throughput, float avg_throughput)
Definition: globus_ftp_client_throughput_plugin.h:109
void(* globus_ftp_client_throughput_plugin_user_destroy_cb_t)(void *user_specific)
Definition: globus_ftp_client_throughput_plugin.h:211
FTP Client handle implementation.
Definition: globus_i_ftp_client.h:522
void(* globus_ftp_client_throughput_plugin_complete_cb_t)(void *user_specific, globus_ftp_client_handle_t *handle, globus_bool_t success)
Definition: globus_ftp_client_throughput_plugin.h:171
void *(* globus_ftp_client_throughput_plugin_user_copy_cb_t)(void *user_specific)
Definition: globus_ftp_client_throughput_plugin.h:193
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
void(* globus_ftp_client_throughput_plugin_total_cb_t)(void *user_specific, globus_ftp_client_handle_t *handle, globus_off_t bytes, float instantaneous_throughput, float avg_throughput)
Definition: globus_ftp_client_throughput_plugin.h:143
globus_result_t globus_ftp_client_throughput_plugin_get_user_specific(globus_ftp_client_plugin_t *plugin, void **user_specific)
Definition: globus_ftp_client_throughput_plugin.c:717
globus_result_t globus_ftp_client_throughput_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_throughput_plugin.c:661
globus_result_t globus_ftp_client_throughput_plugin_set_copy_destroy(globus_ftp_client_plugin_t *plugin, globus_ftp_client_throughput_plugin_user_copy_cb_t copy_cb, globus_ftp_client_throughput_plugin_user_destroy_cb_t destroy_cb)
Definition: globus_ftp_client_throughput_plugin.c:610
globus_result_t globus_ftp_client_throughput_plugin_init(globus_ftp_client_plugin_t *plugin, globus_ftp_client_throughput_plugin_begin_cb_t begin_cb, globus_ftp_client_throughput_plugin_stripe_cb_t per_stripe_cb, globus_ftp_client_throughput_plugin_total_cb_t total_cb, globus_ftp_client_throughput_plugin_complete_cb_t complete_cb, void *user_specific)
Definition: globus_ftp_client_throughput_plugin.c:509
uint32_t globus_result_t
Definition: globus_types.h:99
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:798
Module Descriptor.
Definition: globus_module.h:69