Loading...
Searching...
No Matches
globus_ftp_client_throughput_nl_plugin.h
Go to the documentation of this file.
/*
* Copyright 1999-2006 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H
#define GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H
#include "globus_ftp_client.h"
#include "globus_ftp_client_plugin.h"
#include "globus_ftp_client_throughput_plugin.h"
#include "NetLogger.h"
#ifdef __cplusplus
extern "C" {
#endif
#define GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_MODULE (&globus_i_ftp_client_throughput_nl_plugin_module)
extern
globus_module_descriptor_t globus_i_ftp_client_throughput_nl_plugin_module;
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);
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);
globus_result_t
globus_ftp_client_throughput_nl_plugin_destroy(
globus_ftp_client_plugin_t * plugin);
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);
#ifdef __cplusplus
}
#endif
#endif /* GLOBUS_FTP_CLIENT_THROUGHPUT_NL_PLUGIN_H */
globus_ftp_client.h
GridFTP Client.
globus_ftp_client_plugin.h
Plugin Implementation.
globus_ftp_client_throughput_plugin.h
GridFTP Throughput Performance Plugin Implementation.
globus_ftp_client_plugin_t
struct globus_i_ftp_client_plugin_t * globus_ftp_client_plugin_t
FTP Client plugin.
Definition globus_ftp_client.h:261
globus_ftp_client_throughput_nl_plugin_destroy
globus_result_t globus_ftp_client_throughput_nl_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition globus_ftp_client_throughput_nl_plugin.c:472
globus_ftp_client_throughput_nl_plugin_set_callbacks
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:552
globus_ftp_client_throughput_nl_plugin_init
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:298
globus_ftp_client_throughput_nl_plugin_init_with_handle
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:374
globus_ftp_client_throughput_plugin_stripe_cb_t
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:110
globus_ftp_client_throughput_plugin_complete_cb_t
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:172
globus_ftp_client_throughput_plugin_begin_cb_t
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:75
globus_ftp_client_throughput_plugin_total_cb_t
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:144