globus_ftp_client_throughput_nl_plugin.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2006 University of Chicago
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
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 /* GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H */

Generated on 17 Mar 2017 for globus_ftp_client by  doxygen 1.4.7