Grid Community Toolkit  6.2.1566487665 (tag: v6.2.20190829)
globus_xio_gridftp_driver.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_XIO_GRIDFTP_DRIVER_H
18 #define GLOBUS_XIO_GRIDFTP_DRIVER_H
19 
25 #include "globus_xio_system.h"
26 #include "globus_common.h"
27 
28 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
29 
33 #endif
34 
96 #define globus_xio_gridftp_attr_cntl globus_xio_attr_cntl
97 #define globus_xio_gridftp_handle_cntl globus_xio_handle_cntl
98 
119 typedef enum
120 {
152 
154 
155 #define globus_xio_gridftp_attr_cntl globus_xio_attr_cntl
156 #define globus_xio_gridftp_handle_cntl globus_xio_handle_cntl
157 
170 typedef enum
171 {
172  /*
173  * handle cntls
174  */
175 
183  /* globus_off_t seek_offset */
185 
186  /*
187  * attr cntls
188  */
198  /* globus_ftp_client_handle_t * ftp_handle */
200 
209  /* globus_ftp_client_handle_t ** ftp_handle_out */
219  /* globus_bool_t append */
221 
229  /* globus_bool_t * append_out */
241  /* const char * eret_alg_str */
252  /* char ** eret_alg_str_out */
254 
264  /* const char * esto_alg_str */
266 
275  /* char ** esto_alg_str_out */
277 
286  /* globus_bool_t partial_xfer */
288 
296  /* globus_bool_t * partial_xfer_out */
298 
307  /* int num_streams */
309 
317  /* int * num_streams_out */
319 
328  /* int buf_size */
330 
338  /* int * buf_size_out */
340 
350  /* int mode */
352 
362  /* int * mode_out */
364 
388  /* gss_cred_id_t credential,
389  * const char * user,
390  * const char * password,
391  * const char * account,
392  * const char * subject */
394 
410  /* gss_cred_id_t * credential_out,
411  * const char ** user_out,
412  * const char ** password_out,
413  * const char ** account_out,
414  * const char ** subject_out */
416 
426  /* int dcau_mode */
428 
438  /* int * dcau_mode_out */
440 
450  /* int protection */
452 
462  /* int * protection_out */
464 
474  /* int protection */
476 
486  /* int * protection_out */
488 
490 
497 typedef enum globus_l_xio_gridftp_mode_e
498 {
499  GLOBUS_XIO_GRIDFTP_MODE_NONE,
500  GLOBUS_XIO_GRIDFTP_MODE_STREAM = 'S',
501  GLOBUS_XIO_GRIDFTP_MODE_BLOCK = 'B',
502  GLOBUS_XIO_GRIDFTP_MODE_EXTENDED_BLOCK = 'E',
503  GLOBUS_XIO_GRIDFTP_MODE_COMPRESSED = 'C'
505 
506 typedef enum globus_l_xio_gridftp_dcau_mode_e
507 {
508  GLOBUS_XIO_GRIDFTP_DCAU_NONE = 'N',
509  GLOBUS_XIO_GRIDFTP_DCAU_SELF = 'A',
510  GLOBUS_XIO_GRIDFTP_DCAU_SUBJECT = 'S',
511  GLOBUS_XIO_GRIDFTP_DCAU_DEFAULT
512 } globus_l_xio_gridftp_dcau_mode_t;
513 
514 
515 typedef enum globus_l_xio_gridftp_protection_e
516 {
517  GLOBUS_XIO_GRIDFTP_PROTECTION_CLEAR = 'C',
518  GLOBUS_XIO_GRIDFTP_PROTECTION_SAFE = 'S',
519  GLOBUS_XIO_GRIDFTP_PROTECTION_CONFIDENTIAL = 'E',
520  GLOBUS_XIO_GRIDFTP_PROTECTION_PRIVATE = 'P'
521 } globus_l_xio_gridftp_protection_t;
522 
523 
524 #endif /* GLOBUS_XIO_GRIDFTP_DRIVER_H */
Definition: globus_xio_gridftp_driver.h:151
Definition: globus_xio_gridftp_driver.h:203
Definition: globus_xio_gridftp_driver.h:247
Definition: globus_xio_gridftp_driver.h:195
Definition: globus_xio_gridftp_driver.h:259
Definition: globus_xio_gridftp_driver.h:128
Definition: globus_xio_gridftp_driver.h:176
Definition: globus_xio_gridftp_driver.h:187
Definition: globus_xio_gridftp_driver.h:215
globus_xio_gridftp_error_type_t
Definition: globus_xio_gridftp_driver.h:119
Definition: globus_xio_gridftp_driver.h:183
Definition: globus_xio_gridftp_driver.h:191
Definition: globus_xio_gridftp_driver.h:124
Definition: globus_xio_gridftp_driver.h:219
Definition: globus_xio_gridftp_driver.h:231
Definition: globus_xio_gridftp_driver.h:142
Definition: globus_xio_gridftp_driver.h:235
Definition: globus_xio_gridftp_driver.h:263
Definition: globus_xio_gridftp_driver.h:255
Definition: globus_xio_gridftp_driver.h:275
Definition: globus_xio_gridftp_driver.h:138
Definition: globus_xio_gridftp_driver.h:146
Definition: globus_xio_gridftp_driver.h:267
Headers common to all of Globus.
Definition: globus_xio_gridftp_driver.h:207
Definition: globus_xio_gridftp_driver.h:271
globus_xio_gridftp_cmd_t
Definition: globus_xio_gridftp_driver.h:168
Definition: globus_xio_gridftp_driver.h:133
Definition: globus_xio_gridftp_driver.h:223
Definition: globus_xio_gridftp_driver.h:199
Definition: globus_xio_gridftp_driver.h:211
Definition: globus_xio_gridftp_driver.h:239
enum globus_l_xio_gridftp_mode_e globus_l_xio_gridftp_mode_t
Definition: globus_xio_gridftp_driver.h:243
Definition: globus_xio_gridftp_driver.h:251
Definition: globus_xio_gridftp_driver.h:227
globus_l_xio_gridftp_mode_e
Definition: globus_xio_gridftp_driver.h:285