Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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 
41 #include "globus_ftp_client.h"
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
51 #define GLOBUS_FTP_CLIENT_PERF_PLUGIN_MODULE (&globus_i_ftp_client_perf_plugin_module)
52 
53 extern
54 globus_module_descriptor_t globus_i_ftp_client_perf_plugin_module;
55 
88  void * user_specific,
90  const char * source_url,
91  const char * dest_url,
92  globus_bool_t restart);
93 
134  void * user_specific,
136  long time_stamp_int,
137  char time_stamp_tenth,
138  int stripe_ndx,
139  int num_stripes,
140  globus_off_t nbytes);
141 
166  void * user_specific,
168  globus_bool_t success);
169 
186 typedef void * (*globus_ftp_client_perf_plugin_user_copy_cb_t)(
187  void * user_specific);
188 
205  void * user_specific);
206 
213  void * user_specific);
214 
220 
223  globus_ftp_client_plugin_t * plugin);
224 
228  void ** user_specific);
229 
230 #ifdef __cplusplus
231 }
232 #endif
233 
234 #endif /* GLOBUS_FTP_CLIENT_PERF_PLUGIN_H */
FTP Client handle implementation.
Definition: globus_i_ftp_client.h:522
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
void(* globus_ftp_client_perf_plugin_user_destroy_cb_t)(void *user_specific)
Definition: globus_ftp_client_perf_plugin.h:204
globus_result_t globus_ftp_client_perf_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_perf_plugin.c:748
void(* globus_ftp_client_perf_plugin_complete_cb_t)(void *user_specific, globus_ftp_client_handle_t *handle, globus_bool_t success)
Definition: globus_ftp_client_perf_plugin.h:165
globus_result_t globus_ftp_client_perf_plugin_init(globus_ftp_client_plugin_t *plugin, globus_ftp_client_perf_plugin_begin_cb_t begin_cb, globus_ftp_client_perf_plugin_marker_cb_t marker_cb, globus_ftp_client_perf_plugin_complete_cb_t complete_cb, void *user_specific)
Definition: globus_ftp_client_perf_plugin.c:590
void *(* globus_ftp_client_perf_plugin_user_copy_cb_t)(void *user_specific)
Definition: globus_ftp_client_perf_plugin.h:186
globus_result_t globus_ftp_client_perf_plugin_get_user_specific(globus_ftp_client_plugin_t *plugin, void **user_specific)
Definition: globus_ftp_client_perf_plugin.c:797
GridFTP Client.
globus_result_t globus_ftp_client_perf_plugin_set_copy_destroy(globus_ftp_client_plugin_t *plugin, globus_ftp_client_perf_plugin_user_copy_cb_t copy_cb, globus_ftp_client_perf_plugin_user_destroy_cb_t destroy_cb)
Definition: globus_ftp_client_perf_plugin.c:697
void(* globus_ftp_client_perf_plugin_marker_cb_t)(void *user_specific, globus_ftp_client_handle_t *handle, long time_stamp_int, char time_stamp_tenth, int stripe_ndx, int num_stripes, globus_off_t nbytes)
Definition: globus_ftp_client_perf_plugin.h:133
uint32_t globus_result_t
Definition: globus_types.h:99
void(* globus_ftp_client_perf_plugin_begin_cb_t)(void *user_specific, globus_ftp_client_handle_t *handle, const char *source_url, const char *dest_url, globus_bool_t restart)
Definition: globus_ftp_client_perf_plugin.h:87
Plugin Implementation.
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:798
Module Descriptor.
Definition: globus_module.h:71