Grid Community Toolkit  6.2.1629922860 (tag: v6.2.20210826)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_ftp_client_test_abort_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_ABORT_PLUGIN_H
24 #define GLOBUS_INCLUDE_FTP_CLIENT_TEST_ABORT_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_ABORT_PLUGIN_MODULE (&globus_i_ftp_client_test_abort_plugin_module)
35 
36 extern
37 globus_module_descriptor_t globus_i_ftp_client_test_abort_plugin_module;
38 typedef enum
39 {
40  FTP_ABORT_NEVER,
41  FTP_ABORT_AT_CONNECT,
42  FTP_ABORT_AT_CONNECT_RESPONSE,
43  FTP_ABORT_AT_AUTH,
44  FTP_ABORT_AT_AUTH_RESPONSE,
45  FTP_ABORT_AT_SITE_HELP,
46  FTP_ABORT_AT_SITE_HELP_RESPONSE,
47  FTP_ABORT_AT_FEAT,
48  FTP_ABORT_AT_FEAT_RESPONSE,
49  FTP_ABORT_AT_TYPE,
50  FTP_ABORT_AT_TYPE_RESPONSE,
51  FTP_ABORT_AT_MODE,
52  FTP_ABORT_AT_MODE_RESPONSE,
53  FTP_ABORT_AT_OPTS_RETR,
54  FTP_ABORT_AT_OPTS_RETR_RESPONSE,
55  FTP_ABORT_AT_PASV,
56  FTP_ABORT_AT_PASV_RESPONSE,
57  FTP_ABORT_AT_PORT,
58  FTP_ABORT_AT_PORT_RESPONSE,
59  FTP_ABORT_AT_REST,
60  FTP_ABORT_AT_REST_RESPONSE,
61  FTP_ABORT_AT_RETR,
62  FTP_ABORT_AT_RETR_RESPONSE,
63  FTP_ABORT_AT_STOR,
64  FTP_ABORT_AT_STOR_RESPONSE,
65  FTP_ABORT_AT_LIST,
66  FTP_ABORT_AT_LIST_RESPONSE,
67  FTP_ABORT_AT_NLST,
68  FTP_ABORT_AT_NLST_RESPONSE,
69  FTP_ABORT_AT_MLSD,
70  FTP_ABORT_AT_MLSD_RESPONSE,
71  FTP_ABORT_AT_MKD,
72  FTP_ABORT_AT_MKD_RESPONSE,
73  FTP_ABORT_AT_RMD,
74  FTP_ABORT_AT_RMD_RESPONSE,
75  FTP_ABORT_AT_DELE,
76  FTP_ABORT_AT_DELE_RESPONSE,
77  FTP_ABORT_AT_RNFR,
78  FTP_ABORT_AT_RNFR_RESPONSE,
79  FTP_ABORT_AT_RNTO,
80  FTP_ABORT_AT_RNTO_RESPONSE,
81  FTP_ABORT_AT_DATA,
82  FTP_ABORT_AT_READ,
83  FTP_ABORT_AT_WRITE,
84  FTP_ABORT_LAST
85 }
86 globus_ftp_client_test_abort_plugin_when_t;
87 
89 globus_ftp_client_test_abort_plugin_init(
91 
93 globus_ftp_client_test_abort_plugin_destroy(
95 
97 globus_ftp_client_test_abort_plugin_set_abort_point(
99  globus_ftp_client_test_abort_plugin_when_t when);
100 
102 globus_ftp_client_test_abort_plugin_set_abort_counter(
104  int * counter);
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif /* GLOBUS_INCLUDE_FTP_CLIENT_TEST_ABORT_PLUGIN_H */
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