00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H
00018 #define GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H
00019
00069 #include "globus_ftp_client.h"
00070 #include "globus_ftp_client_plugin.h"
00071 #include "globus_ftp_client_throughput_plugin.h"
00072 #include "NetLogger.h"
00073
00074 #ifdef __cplusplus
00075 extern "C" {
00076 #endif
00077
00081 #define GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_MODULE (&globus_i_ftp_client_throughput_nl_plugin_module)
00082
00083 extern
00084 globus_module_descriptor_t globus_i_ftp_client_throughput_nl_plugin_module;
00085
00086 globus_result_t
00087 globus_ftp_client_throughput_nl_plugin_init(
00088 globus_ftp_client_plugin_t * plugin,
00089 const char * nl_url,
00090 const char * prog_name,
00091 const char * opaque_string);
00092
00093 globus_result_t
00094 globus_ftp_client_throughput_nl_plugin_init_with_handle(
00095 globus_ftp_client_plugin_t * plugin,
00096 NLhandle * nl_handle,
00097 const char * opaque_string);
00098
00099 globus_result_t
00100 globus_ftp_client_throughput_nl_plugin_destroy(
00101 globus_ftp_client_plugin_t * plugin);
00102
00103 globus_result_t
00104 globus_ftp_client_throughput_nl_plugin_set_callbacks(
00105 globus_ftp_client_plugin_t * plugin,
00106 globus_ftp_client_throughput_plugin_begin_cb_t begin_cb,
00107 globus_ftp_client_throughput_plugin_stripe_cb_t per_stripe_cb,
00108 globus_ftp_client_throughput_plugin_total_cb_t total_cb,
00109 globus_ftp_client_throughput_plugin_complete_cb_t complete_cb,
00110 void * user_specific);
00111
00112 #ifdef __cplusplus
00113 }
00114 #endif
00115
00116 #endif