globus_xio_gridftp_driver  2.22
globus_xio_gridftp_driver.h
Go to the documentation of this file.
1 
2 #ifndef GLOBUS_XIO_GRIDFTP_DRIVER_H
3 #define GLOBUS_XIO_GRIDFTP_DRIVER_H
4 
10 #include "globus_xio_system.h"
11 #include "globus_common.h"
12 
13 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
18 #endif
19 
80 #define globus_xio_gridftp_attr_cntl globus_xio_attr_cntl
81 #define globus_xio_gridftp_handle_cntl globus_xio_handle_cntl
82 
103 typedef enum
104 {
136 
138 
139 #define globus_xio_gridftp_attr_cntl globus_xio_attr_cntl
140 #define globus_xio_gridftp_handle_cntl globus_xio_handle_cntl
141 
154 typedef enum
155 {
156  /*
157  * handle cntls
158  */
159 
167  /* globus_off_t seek_offset */
169 
170  /*
171  * attr cntls
172  */
182  /* globus_ftp_client_handle_t * ftp_handle */
184 
193  /* globus_ftp_client_handle_t ** ftp_handle_out */
195 
203  /* globus_bool_t append */
205 
213  /* globus_bool_t * append_out */
215 
225  /* const char * eret_alg_str */
227 
236  /* char ** eret_alg_str_out */
238 
248  /* const char * esto_alg_str */
250 
259  /* char ** esto_alg_str_out */
261 
270  /* globus_bool_t partial_xfer */
272 
280  /* globus_bool_t * partial_xfer_out */
282 
291  /* int num_streams */
293 
301  /* int * num_streams_out */
303 
312  /* int buf_size */
314 
322  /* int * buf_size_out */
324 
334  /* int mode */
336 
346  /* int * mode_out */
348 
372  /* gss_cred_id_t credential,
373  * const char * user,
374  * const char * password,
375  * const char * account,
376  * const char * subject */
378 
394  /* gss_cred_id_t * credential_out,
395  * const char ** user_out,
396  * const char ** password_out,
397  * const char ** account_out,
398  * const char ** subject_out */
400 
410  /* int dcau_mode */
412 
422  /* int * dcau_mode_out */
424 
434  /* int protection */
436 
446  /* int * protection_out */
448 
458  /* int protection */
460 
470  /* int * protection_out */
472 
474 
481 typedef enum globus_l_xio_gridftp_mode_e
482 {
483  GLOBUS_XIO_GRIDFTP_MODE_NONE,
484  GLOBUS_XIO_GRIDFTP_MODE_STREAM = 'S',
485  GLOBUS_XIO_GRIDFTP_MODE_BLOCK = 'B',
486  GLOBUS_XIO_GRIDFTP_MODE_EXTENDED_BLOCK = 'E',
487  GLOBUS_XIO_GRIDFTP_MODE_COMPRESSED = 'C'
489 
490 typedef enum globus_l_xio_gridftp_dcau_mode_e
491 {
492  GLOBUS_XIO_GRIDFTP_DCAU_NONE = 'N',
493  GLOBUS_XIO_GRIDFTP_DCAU_SELF = 'A',
494  GLOBUS_XIO_GRIDFTP_DCAU_SUBJECT = 'S',
495  GLOBUS_XIO_GRIDFTP_DCAU_DEFAULT
496 } globus_l_xio_gridftp_dcau_mode_t;
497 
498 
499 typedef enum globus_l_xio_gridftp_protection_e
500 {
501  GLOBUS_XIO_GRIDFTP_PROTECTION_CLEAR = 'C',
502  GLOBUS_XIO_GRIDFTP_PROTECTION_SAFE = 'S',
503  GLOBUS_XIO_GRIDFTP_PROTECTION_CONFIDENTIAL = 'E',
504  GLOBUS_XIO_GRIDFTP_PROTECTION_PRIVATE = 'P'
505 } globus_l_xio_gridftp_protection_t;
506 
507 
508 #endif /* GLOBUS_XIO_GRIDFTP_DRIVER_H */
globus_xio_gridftp_cmd_t
Definition: globus_xio_gridftp_driver.h:153
globus_l_xio_gridftp_mode_e
Definition: globus_xio_gridftp_driver.h:270
enum globus_l_xio_gridftp_mode_e globus_l_xio_gridftp_mode_t
globus_xio_gridftp_error_type_t
Definition: globus_xio_gridftp_driver.h:104
@ GLOBUS_XIO_GRIDFTP_SET_HANDLE
Definition: globus_xio_gridftp_driver.h:167
@ GLOBUS_XIO_GRIDFTP_GET_NUM_STREAMS
Definition: globus_xio_gridftp_driver.h:211
@ GLOBUS_XIO_GRIDFTP_GET_ERET
Definition: globus_xio_gridftp_driver.h:187
@ GLOBUS_XIO_GRIDFTP_GET_AUTH
Definition: globus_xio_gridftp_driver.h:235
@ GLOBUS_XIO_GRIDFTP_SET_DCAU
Definition: globus_xio_gridftp_driver.h:239
@ GLOBUS_XIO_GRIDFTP_GET_MODE
Definition: globus_xio_gridftp_driver.h:227
@ GLOBUS_XIO_GRIDFTP_SET_CONTROL_PROTECTION
Definition: globus_xio_gridftp_driver.h:255
@ GLOBUS_XIO_GRIDFTP_GET_DCAU
Definition: globus_xio_gridftp_driver.h:243
@ GLOBUS_XIO_GRIDFTP_GET_TCP_BUFFER
Definition: globus_xio_gridftp_driver.h:219
@ GLOBUS_XIO_GRIDFTP_SET_NUM_STREAMS
Definition: globus_xio_gridftp_driver.h:207
@ GLOBUS_XIO_GRIDFTP_GET_HANDLE
Definition: globus_xio_gridftp_driver.h:171
@ GLOBUS_XIO_GRIDFTP_GET_APPEND
Definition: globus_xio_gridftp_driver.h:179
@ GLOBUS_XIO_GRIDFTP_SET_ESTO
Definition: globus_xio_gridftp_driver.h:191
@ GLOBUS_XIO_GRIDFTP_SET_TCP_BUFFER
Definition: globus_xio_gridftp_driver.h:215
@ GLOBUS_XIO_GRIDFTP_GET_PARTIAL_TRANSFER
Definition: globus_xio_gridftp_driver.h:203
@ GLOBUS_XIO_GRIDFTP_SET_MODE
Definition: globus_xio_gridftp_driver.h:223
@ GLOBUS_XIO_GRIDFTP_SEEK
Definition: globus_xio_gridftp_driver.h:160
@ GLOBUS_XIO_GRIDFTP_SET_AUTH
Definition: globus_xio_gridftp_driver.h:231
@ GLOBUS_XIO_GRIDFTP_GET_DATA_PROTECTION
Definition: globus_xio_gridftp_driver.h:251
@ GLOBUS_XIO_GRIDFTP_SET_ERET
Definition: globus_xio_gridftp_driver.h:183
@ GLOBUS_XIO_GRIDFTP_GET_ESTO
Definition: globus_xio_gridftp_driver.h:195
@ GLOBUS_XIO_GRIDFTP_SET_APPEND
Definition: globus_xio_gridftp_driver.h:175
@ GLOBUS_XIO_GRIDFTP_SET_DATA_PROTECTION
Definition: globus_xio_gridftp_driver.h:247
@ GLOBUS_XIO_GRIDFTP_GET_CONTROL_PROTECTION
Definition: globus_xio_gridftp_driver.h:259
@ GLOBUS_XIO_GRIDFTP_SET_PARTIAL_TRANSFER
Definition: globus_xio_gridftp_driver.h:199
@ GLOBUS_XIO_GRIDFTP_ERROR_SEEK
Definition: globus_xio_gridftp_driver.h:112
@ GLOBUS_XIO_GRIDFTP_ERROR_OUTSTANDING_PARTIAL_XFER
Definition: globus_xio_gridftp_driver.h:135
@ GLOBUS_XIO_GRIDFTP_ERROR_OUTSTANDING_READ
Definition: globus_xio_gridftp_driver.h:117
@ GLOBUS_XIO_GRIDFTP_ERROR_PENDING_READ
Definition: globus_xio_gridftp_driver.h:126
@ GLOBUS_XIO_GRIDFTP_ERROR_ATTR
Definition: globus_xio_gridftp_driver.h:108
@ GLOBUS_XIO_GRIDFTP_ERROR_PENDING_WRITE
Definition: globus_xio_gridftp_driver.h:130
@ GLOBUS_XIO_GRIDFTP_ERROR_OUTSTANDING_WRITE
Definition: globus_xio_gridftp_driver.h:122