globus_ftp_client_restart_marker_plugin.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2006 University of Chicago
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_H
00018 #define GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_H
00019 
00037 #include "globus_ftp_client.h"
00038 #include "globus_ftp_client_plugin.h"
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00047 #define GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_MODULE (&globus_i_ftp_client_restart_marker_plugin_module)
00048 
00049 extern
00050 globus_module_descriptor_t globus_i_ftp_client_restart_marker_plugin_module;
00051 
00092 typedef globus_bool_t
00093 (*globus_ftp_client_restart_marker_plugin_begin_cb_t)(
00094     void *                                                  user_arg,
00095     globus_ftp_client_handle_t *                            handle,
00096     const char *                                            source_url,
00097     const char *                                            dest_url,
00098     globus_ftp_client_restart_marker_t *                    user_saved_marker);
00099 
00133 typedef void (*globus_ftp_client_restart_marker_plugin_marker_cb_t)(
00134     void *                                                  user_arg,
00135     globus_ftp_client_handle_t *                            handle,
00136     globus_ftp_client_restart_marker_t *                    marker);
00137 
00161 typedef void (*globus_ftp_client_restart_marker_plugin_complete_cb_t)(
00162     void *                                                  user_arg,
00163     globus_ftp_client_handle_t *                            handle,
00164     globus_object_t *                                       error,
00165     const char *                                            error_url);
00166 
00167 globus_result_t
00168 globus_ftp_client_restart_marker_plugin_init(
00169     globus_ftp_client_plugin_t *                            plugin,
00170     globus_ftp_client_restart_marker_plugin_begin_cb_t      begin_cb,
00171     globus_ftp_client_restart_marker_plugin_marker_cb_t     marker_cb,
00172     globus_ftp_client_restart_marker_plugin_complete_cb_t   complete_cb,
00173     void *                                                  user_arg);
00174 
00175 globus_result_t
00176 globus_ftp_client_restart_marker_plugin_destroy(
00177     globus_ftp_client_plugin_t *                    plugin);
00178 
00179 
00180 #ifdef __cplusplus
00181 }
00182 #endif
00183 
00184 #endif /* GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_H */

Generated on 5 Sep 2016 for globus_ftp_client by  doxygen 1.4.7