globus_ftp_client 9.8
Loading...
Searching...
No Matches
globus_ftp_client_throughput_plugin.h
Go to the documentation of this file.
1/*
2 * Copyright 1999-2006 University of Chicago
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_H
18#define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_H
19
38#include "globus_ftp_client.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
48#define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_MODULE (&globus_i_ftp_client_throughput_plugin_module)
49
50extern
51globus_module_descriptor_t globus_i_ftp_client_throughput_plugin_module;
52
76 void * user_specific,
78 const char * source_url,
79 const char * dest_url);
80
111 void * user_specific,
113 int stripe_ndx,
114 globus_off_t bytes,
115 float instantaneous_throughput,
116 float avg_throughput);
117
145 void * user_specific,
147 globus_off_t bytes,
148 float instantaneous_throughput,
149 float avg_throughput);
150
173 void * user_specific,
175 globus_bool_t success);
176
177
194typedef void * (*globus_ftp_client_throughput_plugin_user_copy_cb_t)(
195 void * user_specific);
196
213 void * user_specific);
214
215globus_result_t
222 void * user_specific);
223
224globus_result_t
229
230globus_result_t
233
234globus_result_t
237 void ** user_specific);
238
239#ifdef __cplusplus
240}
241#endif
242
243#endif /* GLOBUS_INCLUDE_FTP_CLIENT_THROUGHPUT_PLUGIN_H */
GridFTP Client.
Plugin Implementation.
void *(* globus_ftp_client_throughput_plugin_user_copy_cb_t)(void *user_specific)
Definition globus_ftp_client_throughput_plugin.h:194
globus_result_t globus_ftp_client_throughput_plugin_set_copy_destroy(globus_ftp_client_plugin_t *plugin, globus_ftp_client_throughput_plugin_user_copy_cb_t copy_cb, globus_ftp_client_throughput_plugin_user_destroy_cb_t destroy_cb)
Definition globus_ftp_client_throughput_plugin.c:610
globus_result_t globus_ftp_client_throughput_plugin_init(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_plugin.c:509
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
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
void(* globus_ftp_client_throughput_plugin_user_destroy_cb_t)(void *user_specific)
Definition globus_ftp_client_throughput_plugin.h:212
globus_result_t globus_ftp_client_throughput_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition globus_ftp_client_throughput_plugin.c:661
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_result_t globus_ftp_client_throughput_plugin_get_user_specific(globus_ftp_client_plugin_t *plugin, void **user_specific)
Definition globus_ftp_client_throughput_plugin.c:717
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
FTP Client handle implementation.
Definition globus_i_ftp_client.h:523
FTP Client Plugin.
Definition globus_i_ftp_client.h:799