globus_ftp_client  8.40
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
globus_ftp_client_throughput_nl_plugin.h
Go to the documentation of this file.
1 
2 #ifndef GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H
3 #define GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H
4 
53 #include "globus_ftp_client.h"
56 #include "NetLogger.h"
57 
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
61 
65 #define GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_MODULE (&globus_i_ftp_client_throughput_nl_plugin_module)
66 
67 extern
68 globus_module_descriptor_t globus_i_ftp_client_throughput_nl_plugin_module;
69 
70 globus_result_t
73  const char * nl_url,
74  const char * prog_name,
75  const char * opaque_string);
76 
77 globus_result_t
80  NLhandle * nl_handle,
81  const char * opaque_string);
82 
83 globus_result_t
86 
87 globus_result_t
94  void * user_specific);
95 
96 #ifdef __cplusplus
97 }
98 #endif
99 
100 #endif /* GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H */
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
globus_result_t globus_ftp_client_throughput_nl_plugin_set_callbacks(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_nl_plugin.c:537
globus_result_t globus_ftp_client_throughput_nl_plugin_init(globus_ftp_client_plugin_t *plugin, const char *nl_url, const char *prog_name, const char *opaque_string)
Definition: globus_ftp_client_throughput_nl_plugin.c:283
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_nl_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_throughput_nl_plugin.c:457
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
globus_result_t globus_ftp_client_throughput_nl_plugin_init_with_handle(globus_ftp_client_plugin_t *plugin, NLhandle *nl_handle, const char *opaque_string)
Definition: globus_ftp_client_throughput_nl_plugin.c:359
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
GridFTP Throughput Performance Plugin Implementation.