globus_ftp_client
8.13
Main Page
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
globus_ftp_client_perf_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_PERF_PLUGIN_H
18
#define GLOBUS_FTP_CLIENT_PERF_PLUGIN_H
19
40
#include "
globus_ftp_client.h
"
41
#include "
globus_ftp_client_plugin.h
"
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
50
#define GLOBUS_FTP_CLIENT_PERF_PLUGIN_MODULE (&globus_i_ftp_client_perf_plugin_module)
51
52
extern
53
globus_module_descriptor_t globus_i_ftp_client_perf_plugin_module;
54
86
typedef
void (*
globus_ftp_client_perf_plugin_begin_cb_t
)(
87
void
* user_specific,
88
globus_ftp_client_handle_t
* handle,
89
const
char
* source_url,
90
const
char
* dest_url,
91
globus_bool_t restart);
92
129
typedef
void (*
globus_ftp_client_perf_plugin_marker_cb_t
)(
130
void
* user_specific,
131
globus_ftp_client_handle_t
* handle,
132
long
time_stamp_int,
133
char
time_stamp_tength,
134
int
stripe_ndx,
135
int
num_stripes,
136
globus_off_t nbytes);
137
161
typedef
void (*
globus_ftp_client_perf_plugin_complete_cb_t
)(
162
void
* user_specific,
163
globus_ftp_client_handle_t
* handle,
164
globus_bool_t success);
165
182
typedef
void
* (*globus_ftp_client_perf_plugin_user_copy_cb_t)(
183
void
* user_specific);
184
200
typedef
void (*
globus_ftp_client_perf_plugin_user_destroy_cb_t
)(
201
void
* user_specific);
202
203
globus_result_t
204
globus_ftp_client_perf_plugin_init
(
205
globus_ftp_client_plugin_t
* plugin,
206
globus_ftp_client_perf_plugin_begin_cb_t
begin_cb,
207
globus_ftp_client_perf_plugin_marker_cb_t
marker_cb,
208
globus_ftp_client_perf_plugin_complete_cb_t
complete_cb,
209
void
* user_specific);
210
211
globus_result_t
212
globus_ftp_client_perf_plugin_set_copy_destroy
(
213
globus_ftp_client_plugin_t
* plugin,
214
globus_ftp_client_perf_plugin_user_copy_cb_t
copy_cb,
215
globus_ftp_client_perf_plugin_user_destroy_cb_t
destroy_cb);
216
217
globus_result_t
218
globus_ftp_client_perf_plugin_destroy
(
219
globus_ftp_client_plugin_t
* plugin);
220
221
globus_result_t
222
globus_ftp_client_perf_plugin_get_user_specific
(
223
globus_ftp_client_plugin_t
* plugin,
224
void
** user_specific);
225
226
#ifdef __cplusplus
227
}
228
#endif
229
230
#endif
/* GLOBUS_FTP_CLIENT_PERF_PLUGIN_H */
Generated on Mon Oct 5 2015 18:13:27 for globus_ftp_client by
1.8.1.2