globus_ftp_client  8.41
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
globus_ftp_client_throughput_plugin.h
Go to the documentation of this file.
1 
2 #ifndef GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_H
3 #define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_H
4 
22 #include "globus_ftp_client.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 #define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_MODULE (&globus_i_ftp_client_throughput_plugin_module)
33 
34 extern
35 globus_module_descriptor_t globus_i_ftp_client_throughput_plugin_module;
36 
60  void * user_specific,
62  const char * source_url,
63  const char * dest_url);
64 
95  void * user_specific,
97  int stripe_ndx,
98  globus_off_t bytes,
99  float instantaneous_throughput,
100  float avg_throughput);
101 
129  void * user_specific,
131  globus_off_t bytes,
132  float instantaneous_throughput,
133  float avg_throughput);
134 
157  void * user_specific,
159  globus_bool_t success);
160 
161 
178 typedef void * (*globus_ftp_client_throughput_plugin_user_copy_cb_t)(
179  void * user_specific);
180 
197  void * user_specific);
198 
199 globus_result_t
206  void * user_specific);
207 
208 globus_result_t
213 
214 globus_result_t
216  globus_ftp_client_plugin_t * plugin);
217 
218 globus_result_t
221  void ** user_specific);
222 
223 #ifdef __cplusplus
224 }
225 #endif
226 
227 #endif /* GLOBUS_INCLUDE_FTP_CLIENT_THROUGHPUT_PLUGIN_H */
void(* globus_ftp_client_throughput_plugin_user_destroy_cb_t)(void *user_specific)
Definition: globus_ftp_client_throughput_plugin.h:196
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:59
FTP Client handle implementation.
Definition: globus_i_ftp_client.h:507
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:702
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:128
globus_result_t globus_ftp_client_throughput_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_throughput_plugin.c:646
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:595
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:494
GridFTP Client.
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:94
Plugin Implementation.
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:156
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:783
void *(* globus_ftp_client_throughput_plugin_user_copy_cb_t)(void *user_specific)
Definition: globus_ftp_client_throughput_plugin.h:178