Grid Community Toolkit  6.2.1567772254 (tag: v6.2.20190906)
globus_ftp_client_restart_marker_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_RESTART_MARKER_PLUGIN_H
18 #define GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_H
19 
38 #include "globus_ftp_client.h"
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
48 #define GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_MODULE (&globus_i_ftp_client_restart_marker_plugin_module)
49 
50 extern
51 globus_module_descriptor_t globus_i_ftp_client_restart_marker_plugin_module;
52 
93 typedef globus_bool_t
95  void * user_arg,
97  const char * source_url,
98  const char * dest_url,
99  globus_ftp_client_restart_marker_t * user_saved_marker);
100 
135  void * user_arg,
138 
163  void * user_arg,
165  globus_object_t * error,
166  const char * error_url);
167 
174  void * user_arg);
175 
178  globus_ftp_client_plugin_t * plugin);
179 
180 
181 #ifdef __cplusplus
182 }
183 #endif
184 
185 #endif /* GLOBUS_FTP_CLIENT_RESTART_MARKER_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_restart_marker_plugin_marker_cb_t)(void *user_arg, globus_ftp_client_handle_t *handle, globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker_plugin.h:134
globus_result_t globus_ftp_client_restart_marker_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_restart_marker_plugin.c:701
globus_bool_t(* globus_ftp_client_restart_marker_plugin_begin_cb_t)(void *user_arg, globus_ftp_client_handle_t *handle, const char *source_url, const char *dest_url, globus_ftp_client_restart_marker_t *user_saved_marker)
Transfer begin callback.
Definition: globus_ftp_client_restart_marker_plugin.h:94
GridFTP Client.
void(* globus_ftp_client_restart_marker_plugin_complete_cb_t)(void *user_arg, globus_ftp_client_handle_t *handle, globus_object_t *error, const char *error_url)
Definition: globus_ftp_client_restart_marker_plugin.h:162
uint32_t globus_result_t
Definition: globus_types.h:99
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
globus_result_t globus_ftp_client_restart_marker_plugin_init(globus_ftp_client_plugin_t *plugin, globus_ftp_client_restart_marker_plugin_begin_cb_t begin_cb, globus_ftp_client_restart_marker_plugin_marker_cb_t marker_cb, globus_ftp_client_restart_marker_plugin_complete_cb_t complete_cb, void *user_arg)
Definition: globus_ftp_client_restart_marker_plugin.c:601
Restart marker.This structure is may be either a stream mode transfer offset, or an extended block mo...
Definition: globus_ftp_client.h:224
Module Descriptor.
Definition: globus_module.h:71