Grid Community Toolkit  6.2.1653033972 (tag: v6.2.20220524)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_ftp_client_test_restart_plugin.h
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 
23 #ifndef GLOBUS_INCLUDE_FTP_CLIENT_TEST_RESTART_PLUGIN_H
24 #define GLOBUS_INCLUDE_FTP_CLIENT_TEST_RESTART_PLUGIN_H
25 
26 #include "globus_ftp_client.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
34 #define GLOBUS_FTP_CLIENT_TEST_RESTART_PLUGIN_MODULE (&globus_i_ftp_client_test_restart_plugin_module)
35 
36 extern
37 globus_module_descriptor_t globus_i_ftp_client_test_restart_plugin_module;
38 typedef enum
39 {
40  FTP_RESTART_NEVER,
41  FTP_RESTART_AT_CONNECT,
42  FTP_RESTART_AT_CONNECT_RESPONSE,
43  FTP_RESTART_AT_AUTH,
44  FTP_RESTART_AT_AUTH_RESPONSE,
45  FTP_RESTART_AT_SITE_HELP,
46  FTP_RESTART_AT_SITE_HELP_RESPONSE,
47  FTP_RESTART_AT_FEAT,
48  FTP_RESTART_AT_FEAT_RESPONSE,
49  FTP_RESTART_AT_TYPE,
50  FTP_RESTART_AT_TYPE_RESPONSE,
51  FTP_RESTART_AT_MODE,
52  FTP_RESTART_AT_MODE_RESPONSE,
53  FTP_RESTART_AT_OPTS_RETR,
54  FTP_RESTART_AT_OPTS_RETR_RESPONSE,
55  FTP_RESTART_AT_PASV,
56  FTP_RESTART_AT_PASV_RESPONSE,
57  FTP_RESTART_AT_PORT,
58  FTP_RESTART_AT_PORT_RESPONSE,
59  FTP_RESTART_AT_REST,
60  FTP_RESTART_AT_REST_RESPONSE,
61  FTP_RESTART_AT_RETR,
62  FTP_RESTART_AT_RETR_RESPONSE,
63  FTP_RESTART_AT_STOR,
64  FTP_RESTART_AT_STOR_RESPONSE,
65  FTP_RESTART_AT_LIST,
66  FTP_RESTART_AT_LIST_RESPONSE,
67  FTP_RESTART_AT_NLST,
68  FTP_RESTART_AT_NLST_RESPONSE,
69  FTP_RESTART_AT_MLSD,
70  FTP_RESTART_AT_MLSD_RESPONSE,
71  FTP_RESTART_AT_MLST,
72  FTP_RESTART_AT_MLST_RESPONSE,
73  FTP_RESTART_AT_MKD,
74  FTP_RESTART_AT_MKD_RESPONSE,
75  FTP_RESTART_AT_RMD,
76  FTP_RESTART_AT_RMD_RESPONSE,
77  FTP_RESTART_AT_DELE,
78  FTP_RESTART_AT_DELE_RESPONSE,
79  FTP_RESTART_AT_RNFR,
80  FTP_RESTART_AT_RNFR_RESPONSE,
81  FTP_RESTART_AT_RNTO,
82  FTP_RESTART_AT_RNTO_RESPONSE,
83  FTP_RESTART_AT_CHMOD,
84  FTP_RESTART_AT_CHMOD_RESPONSE,
85  FTP_RESTART_AT_CHGRP,
86  FTP_RESTART_AT_CHGRP_RESPONSE,
87  FTP_RESTART_AT_UTIME,
88  FTP_RESTART_AT_UTIME_RESPONSE,
89  FTP_RESTART_AT_SYMLINK,
90  FTP_RESTART_AT_SYMLINK_RESPONSE,
91  FTP_RESTART_AT_MLSR,
92  FTP_RESTART_AT_MLSR_RESPONSE,
93  FTP_RESTART_AT_CKSM,
94  FTP_RESTART_AT_CKSM_RESPONSE,
95  FTP_RESTART_AT_DATA,
96  FTP_RESTART_AT_READ,
97  FTP_RESTART_AT_WRITE,
98  FTP_RESTART_LAST
99 }
100 globus_ftp_client_test_restart_plugin_when_t;
101 
103 globus_ftp_client_test_restart_plugin_init(
104  globus_ftp_client_plugin_t * plugin);
105 
107 globus_ftp_client_test_restart_plugin_destroy(
108  globus_ftp_client_plugin_t * plugin);
109 
111 globus_ftp_client_test_restart_plugin_set_restart_point(
113  globus_ftp_client_test_restart_plugin_when_t when,
114  globus_reltime_t * timeout);
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif /* GLOBUS_INCLUDE_FTP_CLIENT_TEST_RESTART_PLUGIN_H */
121 
122 
123 
124 
GridFTP Client.
uint32_t globus_result_t
Definition: globus_types.h:99
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