globus_ftp_client_restart_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_PLUGIN_H
00018 #define GLOBUS_FTP_CLIENT_RESTART_PLUGIN_H
00019 
00056 #include "globus_ftp_client.h"
00057 
00058 #ifdef __cplusplus
00059 extern "C" {
00060 #endif
00061 
00065 #define GLOBUS_FTP_CLIENT_RESTART_PLUGIN_MODULE \
00066         (&globus_i_ftp_client_restart_plugin_module)
00067 extern globus_module_descriptor_t globus_i_ftp_client_restart_plugin_module;
00068 
00069 globus_result_t
00070 globus_ftp_client_restart_plugin_init(
00071     globus_ftp_client_plugin_t *                plugin,
00072     int                                         max_retries,
00073     globus_reltime_t *                          interval,
00074     globus_abstime_t *                          deadline);
00075 
00076 globus_result_t
00077 globus_ftp_client_restart_plugin_destroy(
00078     globus_ftp_client_plugin_t *                plugin);
00079 
00080 globus_result_t
00081 globus_ftp_client_restart_plugin_set_stall_timeout(
00082     globus_ftp_client_plugin_t *        plugin,
00083     int                                 to_secs);
00084 
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088 
00089 #endif /* GLOBUS_FTP_CLIENT_RESTART_PLUGIN_H */

Generated on 5 Sep 2016 for globus_ftp_client by  doxygen 1.4.7