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
00068 #include "globus_ftp_client.h"
00069 #include "globus_ftp_client_plugin.h"
00070 #include "globus_ftp_client_throughput_plugin.h"
00071 #include "NetLogger.h"
00072
00073 #ifdef __cplusplus
00074 extern "C" {
00075 #endif
00076
00080 #define GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_MODULE (&globus_i_ftp_client_throughput_nl_plugin_module)
00081
00082 extern
00083 globus_module_descriptor_t globus_i_ftp_client_throughput_nl_plugin_module;
00084
00085 globus_result_t
00086 globus_ftp_client_throughput_nl_plugin_init(
00087 globus_ftp_client_plugin_t * plugin,
00088 const char * nl_url,
00089 const char * prog_name,
00090 const char * opaque_string);
00091
00092 globus_result_t
00093 globus_ftp_client_throughput_nl_plugin_init_with_handle(
00094 globus_ftp_client_plugin_t * plugin,
00095 NLhandle * nl_handle,
00096 const char * opaque_string);
00097
00098 globus_result_t
00099 globus_ftp_client_throughput_nl_plugin_destroy(
00100 globus_ftp_client_plugin_t * plugin);
00101
00102 globus_result_t
00103 globus_ftp_client_throughput_nl_plugin_set_callbacks(
00104 globus_ftp_client_plugin_t * plugin,
00105 globus_ftp_client_throughput_plugin_begin_cb_t begin_cb,
00106 globus_ftp_client_throughput_plugin_stripe_cb_t per_stripe_cb,
00107 globus_ftp_client_throughput_plugin_total_cb_t total_cb,
00108 globus_ftp_client_throughput_plugin_complete_cb_t complete_cb,
00109 void * user_specific);
00110
00111 #ifdef __cplusplus
00112 }
00113 #endif
00114
00115 #endif