22 #ifndef GLOBUS_INCLUDE_FTP_CONTROL_H
23 #define GLOBUS_INCLUDE_FTP_CONTROL_H 1
27 #include "globus_io.h"
35 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
149 GLOBUS_FTP_CONTROL_STRIPING_NONE,
150 GLOBUS_FTP_CONTROL_STRIPING_PARTITIONED,
151 GLOBUS_FTP_CONTROL_STRIPING_BLOCKED_ROUND_ROBIN
163 typedef struct globus_ftp_control_partitioned_s
167 } globus_ftp_control_partitioned_t;
202 GLOBUS_FTP_CONTROL_DELAYED_SINGLE_PASSIVE =
'S',
203 GLOBUS_FTP_CONTROL_DELAYED_STRIPED_PASSIVE =
'M',
204 GLOBUS_FTP_CONTROL_NORMAL_PASSIVE =
'N'
214 globus_ftp_control_partitioned_t partitioned;
227 GLOBUS_FTP_CONTROL_STRUCTURE_NONE,
228 GLOBUS_FTP_CONTROL_STRUCTURE_FILE,
229 GLOBUS_FTP_CONTROL_STRUCTURE_PAGE,
230 GLOBUS_FTP_CONTROL_STRUCTURE_RECORD
238 GLOBUS_FTP_CONTROL_PARALLELISM_NONE,
239 GLOBUS_FTP_CONTROL_PARALLELISM_FIXED
246 typedef struct globus_i_ftp_parallelism_base_s
250 } globus_i_ftp_parallelism_base_t;
252 typedef struct globus_ftp_parallelism_fixed_s
256 } globus_ftp_parallelism_fixed_t;
264 globus_i_ftp_parallelism_base_t base;
265 globus_ftp_parallelism_fixed_t fixed;
268 typedef struct globus_ftp_control_host_port_s
282 } globus_ftp_control_host_port_t;
309 #define GLOBUS_FTP_CONTROL_MODULE (&globus_i_ftp_control_module)
313 #define _FCSL(s) globus_common_i18n_get_string(GLOBUS_FTP_CONTROL_MODULE,s)
317 typedef enum globus_ftp_control_response_class_e
319 GLOBUS_FTP_UNKNOWN_REPLY,
320 GLOBUS_FTP_POSITIVE_PRELIMINARY_REPLY,
321 GLOBUS_FTP_POSITIVE_COMPLETION_REPLY,
322 GLOBUS_FTP_POSITIVE_INTERMEDIATE_REPLY,
323 GLOBUS_FTP_TRANSIENT_NEGATIVE_COMPLETION_REPLY,
324 GLOBUS_FTP_PERMANENT_NEGATIVE_COMPLETION_REPLY
325 } globus_ftp_control_response_class_t;
328 typedef struct globus_ftp_control_response_s
331 globus_ftp_control_response_class_t response_class;
335 } globus_ftp_control_response_t;
375 unsigned int initial_size;
376 unsigned int minimum_size;
377 unsigned int maximum_size;
396 typedef enum globus_ftp_data_connection_state_e
398 GLOBUS_FTP_DATA_STATE_NONE,
399 GLOBUS_FTP_DATA_STATE_PASV,
400 GLOBUS_FTP_DATA_STATE_PORT,
401 GLOBUS_FTP_DATA_STATE_SPOR,
402 GLOBUS_FTP_DATA_STATE_CONNECT_READ,
403 GLOBUS_FTP_DATA_STATE_CONNECT_WRITE,
404 GLOBUS_FTP_DATA_STATE_CLOSING,
405 GLOBUS_FTP_DATA_STATE_EOF,
406 GLOBUS_FTP_DATA_STATE_SEND_EOF
407 } globus_ftp_data_connection_state_t;
409 #define GLOBUS_FTP_CONTROL_READ_BUFFER_SIZE 1000
410 #define GLOBUS_FTP_CONTROL_HOSTENT_BUFFER_SIZE 8192
414 GLOBUS_FTP_CONTROL_UNCONNECTED,
415 GLOBUS_FTP_CONTROL_CONNECTING,
416 GLOBUS_FTP_CONTROL_CONNECTED,
417 GLOBUS_FTP_CONTROL_CLOSING
419 globus_ftp_cc_state_t;
421 struct globus_ftp_control_handle_s;
422 struct globus_i_ftp_dc_transfer_handle_t;
424 union globus_ftp_control_command_u;
426 typedef enum globus_ftp_control_command_code_e
428 GLOBUS_FTP_CONTROL_COMMAND_OPTS,
429 GLOBUS_FTP_CONTROL_COMMAND_AUTH,
430 GLOBUS_FTP_CONTROL_COMMAND_ADAT,
431 GLOBUS_FTP_CONTROL_COMMAND_SPAS,
432 GLOBUS_FTP_CONTROL_COMMAND_SPOR,
433 GLOBUS_FTP_CONTROL_COMMAND_PORT,
434 GLOBUS_FTP_CONTROL_COMMAND_PASV,
435 GLOBUS_FTP_CONTROL_COMMAND_SITE,
436 GLOBUS_FTP_CONTROL_COMMAND_TYPE,
437 GLOBUS_FTP_CONTROL_COMMAND_DELE,
438 GLOBUS_FTP_CONTROL_COMMAND_FEAT,
439 GLOBUS_FTP_CONTROL_COMMAND_ERET,
440 GLOBUS_FTP_CONTROL_COMMAND_ESTO,
441 GLOBUS_FTP_CONTROL_COMMAND_RMD,
442 GLOBUS_FTP_CONTROL_COMMAND_MKD,
443 GLOBUS_FTP_CONTROL_COMMAND_PWD,
444 GLOBUS_FTP_CONTROL_COMMAND_CWD,
445 GLOBUS_FTP_CONTROL_COMMAND_CDUP,
446 GLOBUS_FTP_CONTROL_COMMAND_NLST,
447 GLOBUS_FTP_CONTROL_COMMAND_HELP,
448 GLOBUS_FTP_CONTROL_COMMAND_STAT,
449 GLOBUS_FTP_CONTROL_COMMAND_NOOP,
450 GLOBUS_FTP_CONTROL_COMMAND_SYST,
451 GLOBUS_FTP_CONTROL_COMMAND_STOU,
452 GLOBUS_FTP_CONTROL_COMMAND_QUIT,
453 GLOBUS_FTP_CONTROL_COMMAND_REIN,
454 GLOBUS_FTP_CONTROL_COMMAND_ABOR,
455 GLOBUS_FTP_CONTROL_COMMAND_ALLO,
456 GLOBUS_FTP_CONTROL_COMMAND_MODE,
457 GLOBUS_FTP_CONTROL_COMMAND_STRU,
458 GLOBUS_FTP_CONTROL_COMMAND_ACCT,
459 GLOBUS_FTP_CONTROL_COMMAND_PASS,
460 GLOBUS_FTP_CONTROL_COMMAND_USER,
461 GLOBUS_FTP_CONTROL_COMMAND_SMNT,
462 GLOBUS_FTP_CONTROL_COMMAND_LIST,
463 GLOBUS_FTP_CONTROL_COMMAND_RETR,
464 GLOBUS_FTP_CONTROL_COMMAND_REST,
465 GLOBUS_FTP_CONTROL_COMMAND_SBUF,
466 GLOBUS_FTP_CONTROL_COMMAND_SIZE,
467 GLOBUS_FTP_CONTROL_COMMAND_STOR,
468 GLOBUS_FTP_CONTROL_COMMAND_APPE,
469 GLOBUS_FTP_CONTROL_COMMAND_RNFR,
470 GLOBUS_FTP_CONTROL_COMMAND_RNTO,
471 GLOBUS_FTP_CONTROL_COMMAND_LANG,
472 GLOBUS_FTP_CONTROL_COMMAND_UNKNOWN
473 } globus_ftp_control_command_code_t;
486 globus_ftp_control_command_code_t prev_cmd;
487 char * auth_gssapi_subject;
488 gss_ctx_id_t auth_gssapi_context;
489 gss_cred_id_t credential_handle;
491 gss_name_t target_name;
496 gss_cred_id_t delegated_credential_handle;
528 struct globus_ftp_control_handle_s * handle,
529 globus_object_t * error,
530 globus_ftp_control_response_t * ftp_response);
548 struct globus_ftp_control_handle_s * handle,
549 globus_object_t * error);
553 (*globus_ftp_control_data_connect_callback_t)(
555 struct globus_ftp_control_handle_s * handle,
556 unsigned int stripe_ndx,
558 globus_object_t * error);
589 struct globus_ftp_control_handle_s * handle,
590 globus_object_t * error,
591 union globus_ftp_control_command_u * command);
626 struct globus_ftp_control_handle_s * handle,
627 globus_object_t * error,
642 #define GLOBUS_FTP_CONTROL_AUTH_REQ_NONE 1
643 #define GLOBUS_FTP_CONTROL_AUTH_REQ_GSSAPI 2
644 #define GLOBUS_FTP_CONTROL_AUTH_REQ_USER 4
645 #define GLOBUS_FTP_CONTROL_AUTH_REQ_PASS 8
646 #define GLOBUS_FTP_CONTROL_AUTH_REQ_ACCT 16
647 #define GLOBUS_FTP_CONTROL_AUTH_REQ_TLS 32
649 typedef struct globus_ftp_control_rw_queue_element_s
656 globus_io_write_callback_t write_callback;
657 globus_io_read_callback_t read_callback;
660 globus_ftp_control_rw_queue_element_t;
662 typedef struct globus_ftp_cc_handle_s
664 globus_io_attr_t io_attr;
665 globus_netlogger_handle_t nl_handle;
671 void * command_cb_arg;
675 void * accept_cb_arg;
679 globus_ftp_control_auth_requirements_t auth_requirements;
680 globus_ftp_control_response_t response;
686 globus_io_handle_t io_handle;
687 globus_ftp_cc_state_t cc_state;
688 char serverhost[MAXHOSTNAMELEN];
689 struct hostent server;
691 GLOBUS_FTP_CONTROL_HOSTENT_BUFFER_SIZE];
699 globus_object_t * close_result;
700 globus_ftp_control_response_t quit_response;
703 globus_ftp_cc_handle_t;
705 struct globus_ftp_control_data_write_info_s;
708 struct globus_ftp_control_handle_s * handle,
709 struct globus_ftp_control_data_write_info_s * data_info,
721 typedef struct globus_i_ftp_dc_handle_s
729 globus_ftp_data_connection_state_t state;
738 globus_io_attr_t io_attr;
739 char * interface_addr;
741 struct globus_i_ftp_dc_transfer_handle_s * transfer_handle;
745 globus_ftp_control_layout_func_t layout_func;
748 void * layout_user_arg;
754 void * close_callback_arg;
756 globus_netlogger_handle_t nl_io_handle;
759 globus_netlogger_handle_t nl_ftp_handle;
762 globus_object_t * connect_error;
763 struct globus_ftp_control_handle_s * whos_my_daddy;
764 } globus_i_ftp_dc_handle_t;
766 typedef struct globus_ftp_control_handle_s
768 struct globus_i_ftp_dc_handle_s dc_handle;
769 struct globus_ftp_cc_handle_s cc_handle;
770 } globus_ftp_control_handle_t;
820 globus_ftp_control_handle_t * handle,
821 globus_object_t * error,
827 typedef struct globus_ftp_control_data_write_info_s
832 } globus_ftp_control_data_write_info_t;
835 globus_ftp_control_layout_register_func(
837 globus_ftp_control_layout_func_t enqueue_func,
838 globus_ftp_control_layout_verify_func_t verify_func);
841 globus_X_ftp_control_local_layout(
842 globus_ftp_control_handle_t * handle,
848 globus_ftp_control_handle_t * handle,
856 globus_ftp_control_set_netlogger(
857 globus_ftp_control_handle_t * handle,
858 globus_netlogger_handle_t * nl_handle,
864 globus_ftp_control_handle_t * handle,
865 const char * interface_addr);
868 globus_i_ftp_control_data_set_stack(
869 globus_ftp_control_handle_t * handle,
870 globus_xio_stack_t stack);
873 globus_i_ftp_control_data_get_attr(
874 globus_ftp_control_handle_t * handle,
875 globus_xio_attr_t * attr);
878 globus_i_ftp_control_client_get_attr(
879 globus_ftp_control_handle_t * handle,
880 globus_xio_attr_t * attr);
883 globus_i_ftp_control_client_set_stack(
884 globus_ftp_control_handle_t * handle,
885 globus_xio_stack_t stack);
888 globus_i_ftp_control_load_xio_drivers(
889 char * driver_string,
893 globus_i_ftp_control_unload_xio_drivers(
897 globus_i_ftp_control_create_stack(
898 globus_ftp_control_handle_t * handle,
900 globus_xio_stack_t * stack);
911 globus_ftp_control_layout_blocked_verify(
915 globus_ftp_control_layout_blocked_user_arg_create();
918 globus_ftp_control_layout_blocked_user_arg_destroy(
922 globus_ftp_control_layout_blocked(
923 globus_ftp_control_handle_t * handle,
924 globus_ftp_control_data_write_info_t * data_info,
927 globus_off_t in_offset,
937 globus_ftp_control_layout_partitioned_verify(
941 globus_ftp_control_layout_partitioned_user_arg_create(
945 globus_ftp_control_layout_partitioned_user_arg_destroy(
949 globus_ftp_control_layout_partitioned(
950 globus_ftp_control_handle_t * handle,
951 globus_ftp_control_data_write_info_t * data_info,
954 globus_off_t in_offset,
965 globus_ftp_control_handle_t * handle,
966 globus_ftp_control_data_write_info_t * data_info,
972 void * callback_arg);
976 globus_ftp_control_handle_t * handle,
977 globus_ftp_control_data_write_info_t * data_info);
981 globus_ftp_control_handle_t * handle,
988 void * callback_arg);
992 globus_ftp_control_handle_t * handle,
998 globus_ftp_control_data_write_info_t * data_info);
1011 struct globus_ftp_control_server_s;
1029 void * callback_arg,
1030 struct globus_ftp_control_server_s * server_handle,
1031 globus_object_t * error);
1034 typedef enum globus_ftp_control_server_state_n
1036 GLOBUS_FTP_CONTROL_SERVER_LISTENING,
1037 GLOBUS_FTP_CONTROL_SERVER_DEAF
1039 globus_ftp_control_server_state_t;
1041 typedef struct globus_ftp_control_server_s
1043 globus_io_handle_t io_handle;
1044 globus_ftp_control_server_state_t state;
1046 void * callback_arg;
1049 } globus_ftp_control_server_t;
1053 typedef struct globus_ftp_control_command_str_s
1055 globus_ftp_control_command_code_t code;
1058 } globus_ftp_control_command_str_t;
1064 typedef struct globus_ftp_control_command_stru_s
1066 globus_ftp_control_command_code_t code;
1069 } globus_ftp_control_command_stru_t;
1071 typedef struct globus_ftp_control_command_port_s
1073 globus_ftp_control_command_code_t code;
1075 globus_ftp_control_host_port_t host_port;
1076 } globus_ftp_control_command_port_t;
1078 typedef struct globus_ftp_control_command_spor_s
1080 globus_ftp_control_command_code_t code;
1083 globus_ftp_control_host_port_t * host_port;
1084 } globus_ftp_control_command_spor_t;
1086 typedef struct globus_ftp_control_command_mode_s
1088 globus_ftp_control_command_code_t code;
1091 } globus_ftp_control_command_mode_t;
1093 typedef struct globus_ftp_control_command_allo_s
1095 globus_ftp_control_command_code_t code;
1099 } globus_ftp_control_command_allo_t;
1101 typedef struct globus_ftp_control_command_sbuf_s
1103 globus_ftp_control_command_code_t code;
1106 } globus_ftp_control_command_sbuf_t;
1117 typedef enum globus_ftp_control_type_option_e
1119 GLOBUS_FTP_CONTROL_TYPE_NO_OPTION,
1120 GLOBUS_FTP_CONTROL_TYPE_OPTION_N,
1121 GLOBUS_FTP_CONTROL_TYPE_OPTION_T,
1122 GLOBUS_FTP_CONTROL_TYPE_OPTION_C
1123 } globus_ftp_control_type_option_t;
1125 typedef struct globus_ftp_control_command_type_s
1127 globus_ftp_control_command_code_t code;
1130 globus_ftp_control_type_option_t option;
1131 unsigned int bytesize;
1132 } globus_ftp_control_command_type_t;
1134 typedef enum globus_ftp_control_auth_type_e
1136 GLOBUS_FTP_CONTROL_AUTH_GSSAPI,
1137 GLOBUS_FTP_CONTROL_AUTH_UNKNOWN
1138 } globus_ftp_control_auth_type_t;
1140 typedef struct globus_ftp_control_command_auth_s
1142 globus_ftp_control_command_code_t code;
1144 globus_ftp_control_auth_type_t type;
1145 } globus_ftp_control_command_auth_t;
1147 typedef struct globus_ftp_control_command_opts_s
1149 globus_ftp_control_command_code_t code;
1153 } globus_ftp_control_command_opts_t;
1159 typedef globus_ftp_control_command_str_t
1160 globus_ftp_control_command_site_t;
1162 typedef globus_ftp_control_command_str_t
1163 globus_ftp_control_command_acct_t;
1165 typedef globus_ftp_control_command_str_t
1166 globus_ftp_control_command_cwd_t;
1168 typedef globus_ftp_control_command_str_t
1169 globus_ftp_control_command_cdup_t;
1171 typedef globus_ftp_control_command_str_t
1172 globus_ftp_control_command_pass_t;
1174 typedef globus_ftp_control_command_str_t
1175 globus_ftp_control_command_user_t;
1177 typedef globus_ftp_control_command_str_t
1178 globus_ftp_control_command_smnt_t;
1180 typedef globus_ftp_control_command_str_t
1181 globus_ftp_control_command_list_t;
1183 typedef globus_ftp_control_command_str_t
1184 globus_ftp_control_command_retr_t;
1186 typedef globus_ftp_control_command_str_t
1187 globus_ftp_control_command_size_t;
1189 typedef globus_ftp_control_command_str_t
1190 globus_ftp_control_command_stor_t;
1192 typedef globus_ftp_control_command_str_t
1193 globus_ftp_control_command_appe_t;
1195 typedef globus_ftp_control_command_str_t
1196 globus_ftp_control_command_rnfr_t;
1198 typedef globus_ftp_control_command_str_t
1199 globus_ftp_control_command_rnto_t;
1201 typedef globus_ftp_control_command_str_t
1202 globus_ftp_control_command_feat_t;
1204 typedef globus_ftp_control_command_str_t
1205 globus_ftp_control_command_dele_t;
1207 typedef globus_ftp_control_command_str_t
1208 globus_ftp_control_command_rmd_t;
1210 typedef globus_ftp_control_command_str_t
1211 globus_ftp_control_command_mkd_t;
1213 typedef globus_ftp_control_command_str_t
1214 globus_ftp_control_command_nlst_t;
1216 typedef globus_ftp_control_command_str_t
1217 globus_ftp_control_command_help_t;
1219 typedef globus_ftp_control_command_str_t
1220 globus_ftp_control_command_stou_t;
1222 typedef globus_ftp_control_command_str_t
1223 globus_ftp_control_command_rest_t;
1225 typedef globus_ftp_control_command_str_t
1226 globus_ftp_control_command_eret_t;
1228 typedef globus_ftp_control_command_str_t
1229 globus_ftp_control_command_esto_t;
1234 typedef globus_ftp_control_command_str_t
1235 globus_ftp_control_command_pasv_t;
1237 typedef globus_ftp_control_command_str_t
1238 globus_ftp_control_command_spas_t;
1240 typedef globus_ftp_control_command_str_t
1241 globus_ftp_control_command_stat_t;
1243 typedef globus_ftp_control_command_str_t
1244 globus_ftp_control_command_noop_t;
1246 typedef globus_ftp_control_command_str_t
1247 globus_ftp_control_command_syst_t;
1249 typedef globus_ftp_control_command_str_t
1250 globus_ftp_control_command_quit_t;
1252 typedef globus_ftp_control_command_str_t
1253 globus_ftp_control_command_rein_t;
1255 typedef globus_ftp_control_command_str_t
1256 globus_ftp_control_command_abor_t;
1258 typedef globus_ftp_control_command_str_t
1259 globus_ftp_control_command_pwd_t;
1261 typedef globus_ftp_control_command_str_t
1262 globus_ftp_control_command_adat_t;
1267 typedef union globus_ftp_control_command_u
1269 globus_ftp_control_command_code_t code;
1270 globus_ftp_control_command_site_t site;
1271 globus_ftp_control_command_sbuf_t sbuf;
1272 globus_ftp_control_command_type_t type;
1273 globus_ftp_control_command_rest_t rest;
1274 globus_ftp_control_command_allo_t allo;
1275 globus_ftp_control_command_eret_t eret;
1276 globus_ftp_control_command_esto_t esto;
1277 globus_ftp_control_command_mode_t mode;
1278 globus_ftp_control_command_port_t port;
1279 globus_ftp_control_command_spor_t spor;
1280 globus_ftp_control_command_stru_t stru;
1281 globus_ftp_control_command_auth_t auth;
1283 globus_ftp_control_command_adat_t adat;
1284 globus_ftp_control_command_acct_t acct;
1285 globus_ftp_control_command_cwd_t cwd;
1286 globus_ftp_control_command_cdup_t cdup;
1287 globus_ftp_control_command_pass_t pass;
1288 globus_ftp_control_command_user_t user;
1289 globus_ftp_control_command_smnt_t smnt;
1290 globus_ftp_control_command_opts_t opts;
1291 globus_ftp_control_command_list_t list;
1292 globus_ftp_control_command_retr_t retr;
1293 globus_ftp_control_command_size_t size;
1294 globus_ftp_control_command_stor_t stor;
1295 globus_ftp_control_command_appe_t appe;
1296 globus_ftp_control_command_rnfr_t rnfr;
1297 globus_ftp_control_command_rnto_t rnto;
1298 globus_ftp_control_command_dele_t dele;
1299 globus_ftp_control_command_feat_t feat;
1300 globus_ftp_control_command_rmd_t rmd;
1301 globus_ftp_control_command_mkd_t mkd;
1302 globus_ftp_control_command_nlst_t nlst;
1303 globus_ftp_control_command_help_t help;
1305 globus_ftp_control_command_pasv_t pasv;
1306 globus_ftp_control_command_spas_t spas;
1307 globus_ftp_control_command_stat_t stat;
1308 globus_ftp_control_command_noop_t noop;
1309 globus_ftp_control_command_syst_t syst;
1310 globus_ftp_control_command_stou_t stou;
1311 globus_ftp_control_command_quit_t quit;
1312 globus_ftp_control_command_rein_t rein;
1313 globus_ftp_control_command_abor_t abor;
1314 globus_ftp_control_command_pwd_t pwd;
1316 globus_ftp_control_command_str_t base;
1317 } globus_ftp_control_command_t;
1320 typedef struct globus_ftp_data_server_s
1323 } globus_ftp_data_server_t;
1333 gss_cred_id_t credential_handle,
1347 globus_ftp_control_handle_t * handle);
1351 globus_ftp_control_handle_t * handle);
1355 globus_ftp_control_server_t * handle);
1359 globus_ftp_control_server_t * handle);
1363 globus_ftp_control_response_t * response);
1367 globus_ftp_control_response_t * src,
1368 globus_ftp_control_response_t * dest);
1373 globus_ftp_control_handle_t * handle,
1375 unsigned short port,
1377 void * callback_arg);
1381 globus_ftp_control_use_tls(
1382 globus_ftp_control_handle_t * handle,
1387 globus_ftp_control_handle_t * handle,
1391 void * callback_arg);
1395 globus_ftp_control_handle_t * handle,
1399 void * callback_arg);
1403 globus_ftp_control_handle_t * handle,
1405 void * callback_arg);
1409 globus_ftp_control_handle_t * handle,
1411 void * callback_arg);
1415 globus_ftp_control_handle_t * handle,
1417 void * callback_arg);
1422 globus_ftp_control_handle_t * handle,
1423 const char * cmdspec,
1425 void * callback_arg,
1430 globus_ftp_control_handle_t * handle,
1431 unsigned long bufsize);
1435 globus_ftp_control_handle_t * handle,
1436 unsigned long * bufsize);
1441 globus_ftp_control_server_t * handle,
1442 unsigned short * port,
1444 void * callback_arg);
1448 globus_ftp_control_server_t * handle,
1449 globus_io_attr_t * attr,
1450 unsigned short * port,
1452 void * callback_arg);
1456 globus_ftp_control_server_t * listener,
1458 void * callback_arg);
1462 globus_ftp_control_server_t * listener,
1463 globus_ftp_control_handle_t * handle,
1465 void * callback_arg);
1469 globus_ftp_control_handle_t * handle,
1470 globus_ftp_control_auth_requirements_t auth_requirements,
1472 void * callback_arg);
1476 globus_ftp_control_handle_t * handle,
1478 void * callback_arg);
1482 globus_ftp_control_handle_t * handle,
1483 const char * respspec,
1485 void * callback_arg,
1489 globus_ftp_control_close(
1490 globus_ftp_control_server_t * listener,
1492 void * callback_arg);
1495 globus_ftp_data_close(
1496 globus_ftp_data_server_t * listener,
1498 void * callback_arg);
1501 globus_i_ftp_queue_size(
1502 globus_ftp_control_handle_t * handle,
1508 globus_ftp_control_command_t * dest,
1509 globus_ftp_control_command_t * src);
1513 globus_ftp_control_command_t * command,
1519 globus_ftp_control_command_t * command);
1527 globus_i_ftp_control_data_cc_init(
1528 globus_ftp_control_handle_t * control_handle);
1531 globus_i_ftp_control_data_cc_destroy(
1532 globus_ftp_control_handle_t * control_handle);
1536 globus_ftp_control_handle_t * control_handle,
1538 void * destroy_callback_arg);
1542 globus_ftp_control_handle_t * handle,
1547 globus_ftp_control_handle_t * handle,
1555 globus_ftp_control_get_stripe_count(
1556 globus_ftp_control_handle_t * handle,
1557 int * stripe_count);
1561 globus_ftp_control_handle_t * handle,
1562 globus_ftp_control_data_connect_callback_t callback,
1567 globus_ftp_control_handle_t * handle,
1568 globus_ftp_control_data_connect_callback_t callback,
1573 globus_ftp_control_handle_t * handle,
1574 unsigned int num_channels,
1575 unsigned int stripe);
1579 globus_ftp_control_handle_t * handle,
1580 unsigned int num_channels,
1581 unsigned int stripe);
1585 globus_ftp_control_handle_t * handle,
1586 unsigned int * num_channels,
1587 unsigned int stripe);
1591 globus_ftp_control_handle_t * handle,
1592 unsigned int * num_channels,
1593 unsigned int stripe_ndx);
1596 globus_ftp_control_data_get_remote_hosts(
1597 globus_ftp_control_handle_t * handle,
1598 globus_ftp_control_host_port_t * address,
1602 globus_ftp_control_get_parallelism(
1603 globus_ftp_control_handle_t * handle,
1608 globus_ftp_control_handle_t * handle,
1613 globus_ftp_control_handle_t * handle,
1614 globus_ftp_control_host_port_t * address);
1618 globus_ftp_control_handle_t * handle,
1619 globus_ftp_control_host_port_t addresses[],
1620 unsigned int num_addresses);
1624 globus_ftp_control_handle_t * handle,
1625 globus_ftp_control_host_port_t * address);
1629 globus_ftp_control_handle_t * handle,
1630 globus_ftp_control_host_port_t addresses[],
1631 unsigned int num_addresses);
1634 globus_ftp_control_get_spor(
1635 globus_ftp_control_handle_t * handle,
1636 globus_ftp_control_host_port_t addresses[],
1637 unsigned int * num_addresses);
1641 globus_ftp_control_handle_t * handle,
1647 globus_ftp_control_handle_t * handle,
1652 globus_ftp_control_handle_t * handle,
1656 globus_ftp_control_get_mode(
1657 globus_ftp_control_handle_t * handle,
1661 globus_ftp_control_get_type(
1662 globus_ftp_control_handle_t * handle,
1667 globus_ftp_control_handle_t * handle,
1669 gss_cred_id_t delegated_credential_handle);
1672 globus_ftp_control_get_dcau(
1673 globus_ftp_control_handle_t * handle,
1677 globus_ftp_control_local_prot(
1678 globus_ftp_control_handle_t * handle,
1682 globus_ftp_control_get_prot(
1683 globus_ftp_control_handle_t * handle,
1688 globus_ftp_control_handle_t * handle,
1693 globus_ftp_control_handle_t * handle,
1696 globus_off_t offset,
1699 void * callback_arg);
1703 globus_ftp_control_handle_t * handle,
1707 void * callback_arg);
1710 globus_ftp_control_data_read_all(
1711 globus_ftp_control_handle_t * handle,
1715 void * callback_arg);
1719 globus_ftp_control_handle_t * handle,
1721 globus_off_t starting_offset);
1728 globus_ftp_control_handle_t * handle,
1735 globus_i_ftp_parallelism_copy(
1740 globus_i_ftp_parallelism_get_size(
1744 globus_i_ftp_parallelism_get_min_size(
1748 globus_i_ftp_parallelism_get_max_size(
1752 globus_ftp_control_host_port_init(
1753 globus_ftp_control_host_port_t * host_port,
1755 unsigned short port);
1758 globus_ftp_control_host_port_destroy(
1759 globus_ftp_control_host_port_t * host_port);
1762 globus_ftp_control_host_port_get_host(
1763 globus_ftp_control_host_port_t * host_port,
1767 globus_ftp_control_host_port_get_port(
1768 globus_ftp_control_host_port_t * host_port);
1771 globus_ftp_control_host_port_copy(
1772 globus_ftp_control_host_port_t * dest,
1773 globus_ftp_control_host_port_t * src);
1775 #define globus_i_ftp_control_client_get_connection_info \
1776 globus_ftp_control_client_get_connection_info
1778 globus_ftp_control_client_get_connection_info(
1779 globus_ftp_control_handle_t * handle,
1781 unsigned short * localport,
1783 unsigned short * remoteport);
1787 globus_ftp_control_handle_t * handle,
1788 globus_ftp_control_host_port_t * local_info,
1789 globus_ftp_control_host_port_t * remote_info);
1792 globus_ftp_control_data_get_socket_buf(
1793 globus_ftp_control_handle_t * handle,
1798 globus_ftp_control_data_get_retransmit_count(
1799 globus_ftp_control_handle_t * handle,
1800 char ** retransmit_count);
globus_result_t globus_ftp_control_local_pasv(globus_ftp_control_handle_t *handle, globus_ftp_control_host_port_t *address)
Create a passive socket.
Definition: globus_ftp_control_data.c:2826
enum globus_ftp_control_striping_mode_e globus_ftp_control_striping_mode_t
GridFTP Striping Types.
globus_result_t globus_ftp_control_server_handle_init(globus_ftp_control_server_t *handle)
Initialize a GridFTP server handle.
Definition: globus_ftp_control_server.c:164
Definition: globus_ftp_control.h:126
Definition: globus_ftp_control.h:122
globus_result_t globus_ftp_control_server_authenticate(globus_ftp_control_handle_t *handle, globus_ftp_control_auth_requirements_t auth_requirements, globus_ftp_control_auth_callback_t callback, void *callback_arg)
Authenticate a GridFTP Client Connection.
Definition: globus_ftp_control_server.c:1250
enum globus_ftp_control_mode_e globus_ftp_control_mode_t
GridFTP MODE values.
globus_result_t globus_ftp_control_data_write_stripe(globus_ftp_control_handle_t *handle, globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof, int stripe_ndx, globus_ftp_control_data_callback_t callback, void *callback_arg)
Write FTP data to a stripe.
Definition: globus_ftp_control_data.c:5944
enum globus_ftp_control_tcpbuffer_mode_e globus_ftp_control_tcpbuffer_mode_t
globus_result_t globus_ftp_control_command_destroy(globus_ftp_control_command_t *command)
Destroy a GridFTP command.
Definition: globus_ftp_control_server.c:639
globus_result_t globus_ftp_control_server_listen_ex(globus_ftp_control_server_t *handle, globus_io_attr_t *attr, unsigned short *port, globus_ftp_control_server_callback_t callback, void *callback_arg)
Listen on for FTP Client Connections.
Definition: globus_ftp_control_server.c:333
void(* globus_ftp_control_auth_callback_t)(void *callback_arg, struct globus_ftp_control_handle_s *handle, globus_object_t *error, globus_ftp_control_auth_info_t *auth_result)
Definition: globus_ftp_control.h:624
Definition: globus_ftp_control.h:108
globus_result_t globus_ftp_control_command_copy(globus_ftp_control_command_t *dest, globus_ftp_control_command_t *src)
Copy of GridFTP command.
Definition: globus_ftp_control_server.c:709
globus_result_t globus_ftp_control_create_data_info(globus_ftp_control_handle_t *handle, globus_ftp_control_data_write_info_t *data_info, globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof, globus_ftp_control_data_callback_t callback, void *callback_arg)
Create a globus_ftp_control_data_write_info_t structure.
Definition: globus_ftp_control_data.c:5747
Definition: globus_ftp_control.h:347
struct globus_ftp_control_auth_info_s globus_ftp_control_auth_info_t
Authentication Values.
globus_result_t globus_ftp_control_data_send_eof(globus_ftp_control_handle_t *handle, int count[], int array_size, globus_bool_t eof_message, globus_ftp_control_callback_t cb, void *user_arg)
Send EOF.
Definition: globus_ftp_control_data.c:1938
Error Object Containing a String.
globus_result_t globus_ftp_control_local_spas(globus_ftp_control_handle_t *handle, globus_ftp_control_host_port_t addresses[], unsigned int num_addresses)
Create multiple passive sockets.
Definition: globus_ftp_control_data.c:2995
Definition: globus_ftp_control.h:106
Definition: globus_ftp_control.h:82
Control DCAU union.
Definition: globus_ftp_control.h:172
globus_ftp_control_structure_e
Definition: globus_ftp_control.h:225
globus_result_t globus_ftp_control_server_handle_destroy(globus_ftp_control_server_t *handle)
Destroy a GridFTP server handle.
Definition: globus_ftp_control_server.c:214
globus_result_t globus_ftp_control_local_port(globus_ftp_control_handle_t *handle, globus_ftp_control_host_port_t *address)
Set remote data address.
Definition: globus_ftp_control_data.c:3023
globus_ftp_control_parallelism_mode_e
Definition: globus_ftp_control.h:236
Definition: globus_ftp_control.h:88
globus_result_t globus_ftp_control_response_copy(globus_ftp_control_response_t *src, globus_ftp_control_response_t *dest)
Copy a response structure.
Definition: globus_ftp_control_client.c:1583
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
globus_ftp_control_delay_passive_t
Definition: globus_ftp_control.h:200
union globus_ftp_control_dcau_u globus_ftp_control_dcau_t
Control DCAU union.
Definition: globus_ftp_control.h:341
Definition: globus_ftp_control.h:86
struct globus_fifo_s * globus_fifo_t
Definition: globus_fifo.h:48
globus_result_t globus_ftp_control_send_command(globus_ftp_control_handle_t *handle, const char *cmdspec, globus_ftp_control_response_callback_t callback, void *callback_arg,...)
Send an FTP protocol command.
Definition: globus_ftp_control_client.c:1967
Definition: globus_ftp_control.h:84
globus_result_t globus_ftp_control_data_set_interface(globus_ftp_control_handle_t *handle, const char *interface_addr)
Create an outgoing FTP data connection.
Definition: globus_ftp_control_data.c:1163
Definition: globus_ftp_control.h:188
globus_result_t globus_ftp_control_release_data_info(globus_ftp_control_handle_t *handle, globus_ftp_control_data_write_info_t *data_info)
Release a data_info structure.
Definition: globus_ftp_control_data.c:5846
globus_result_t globus_ftp_control_local_mode(globus_ftp_control_handle_t *handle, globus_ftp_control_mode_t mode)
Set data handle mode.
Definition: globus_ftp_control_data.c:3464
Definition: globus_ftp_control.h:192
Definition: globus_ftp_control.h:110
globus_result_t globus_ftp_control_read_commands(globus_ftp_control_handle_t *handle, globus_ftp_control_command_callback_t callback, void *callback_arg)
Read GridFTP commands.
Definition: globus_ftp_control_server.c:2469
globus_result_t globus_ftp_control_command_init(globus_ftp_control_command_t *command, char *raw_command, globus_ftp_control_auth_info_t *auth_info)
Initialize a GridFTP command.
Definition: globus_ftp_control_server.c:534
Definition: globus_ftp_control.h:128
struct globus_ftp_control_dcau_subject_s globus_ftp_control_dcau_subject_t
Control DCAU subject authentication type.
Control tcpbuffer attribute structure.
Definition: globus_ftp_control.h:383
Control striping attribute union.
Definition: globus_ftp_control.h:210
int globus_handle_t
Handle abstract type.
Definition: globus_handle_table.h:57
globus_result_t globus_ftp_control_client_get_connection_info_ex(globus_ftp_control_handle_t *handle, globus_ftp_control_host_port_t *local_info, globus_ftp_control_host_port_t *remote_info)
Not documented yet.
Definition: globus_ftp_control_client.c:4771
globus_result_t globus_ftp_control_local_layout(globus_ftp_control_handle_t *handle, globus_ftp_control_layout_t *layout, globus_size_t data_size)
Set data layout.
Definition: globus_ftp_control_data.c:5471
List data type.
Definition: globus_list.h:44
globus_result_t globus_ftp_control_data_connect_write(globus_ftp_control_handle_t *handle, globus_ftp_control_data_connect_callback_t callback, void *user_arg)
Create an outgoing FTP data connection.
Definition: globus_ftp_control_data.c:1246
enum globus_ftp_control_structure_e globus_ftp_control_structure_t
globus_result_t globus_ftp_control_force_close(globus_ftp_control_handle_t *handle, globus_ftp_control_response_callback_t callback, void *callback_arg)
Force a control connection to close.
Definition: globus_ftp_control_client.c:3739
globus_result_t globus_ftp_control_get_pbsz(globus_ftp_control_handle_t *handle, unsigned long *bufsize)
Get data channel protection buffer size.
Definition: globus_ftp_control_data.c:4362
Definition: globus_ftp_control.h:104
globus_result_t globus_ftp_control_local_send_eof(globus_ftp_control_handle_t *handle, globus_bool_t send_eof)
Enable or disable automatic EOF handling.
Definition: globus_ftp_control_data.c:2622
Automatically set the TCP buffer/window size.
Definition: globus_ftp_control.h:372
Mutex.
Definition: globus_thread.h:107
globus_result_t globus_ftp_control_local_stru(globus_ftp_control_handle_t *handle, globus_ftp_control_structure_t structure)
Set data channel structure.
Definition: globus_ftp_control_data.c:4414
void(* globus_ftp_control_command_callback_t)(void *callback_arg, struct globus_ftp_control_handle_s *handle, globus_object_t *error, union globus_ftp_control_command_u *command)
Definition: globus_ftp_control.h:587
globus_result_t globus_ftp_control_quit(globus_ftp_control_handle_t *handle, globus_ftp_control_response_callback_t callback, void *callback_arg)
Send a GridFTP QUIT.
Definition: globus_ftp_control_client.c:2674
Control striping round robin attribute structure.
Definition: globus_ftp_control.h:157
void(* globus_ftp_control_callback_t)(void *callback_arg, struct globus_ftp_control_handle_s *handle, globus_object_t *error)
Definition: globus_ftp_control.h:546
union globus_ftp_control_layout_u globus_ftp_control_layout_t
Control striping attribute union.
void(* globus_ftp_control_data_callback_t)(void *callback_arg, globus_ftp_control_handle_t *handle, globus_object_t *error, globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof)
Definition: globus_ftp_control.h:818
globus_result_t globus_ftp_control_data_add_channels(globus_ftp_control_handle_t *handle, unsigned int num_channels, unsigned int stripe)
Add data channels.
Definition: globus_ftp_control_data.c:1857
Definition: globus_ftp_control.h:90
globus_ftp_control_dcau_mode_e
GridFTP DCAU values.
Definition: globus_ftp_control.h:119
globus_result_t globus_ftp_control_handle_init(globus_ftp_control_handle_t *handle)
Initialize a globus ftp handle.
Definition: globus_ftp_control_client.c:132
globus_result_t globus_ftp_control_server_listen(globus_ftp_control_server_t *handle, unsigned short *port, globus_ftp_control_server_callback_t callback, void *callback_arg)
Listen on for FTP Client Connections.
Definition: globus_ftp_control_server.c:279
globus_result_t globus_ftp_control_authenticate_ex(globus_ftp_control_handle_t *handle, globus_ftp_control_auth_info_t *auth_info, globus_bool_t use_auth, globus_ftp_control_response_callback_t callback, void *callback_arg)
Authenticate the user to the FTP server.
Definition: globus_ftp_control_client.c:1764
int globus_ftp_control_auth_info_compare(globus_ftp_control_auth_info_t *auth_info_1, globus_ftp_control_auth_info_t *auth_info_2)
Compare authentication information.
Definition: globus_ftp_control_client.c:4017
globus_result_t globus_ftp_control_data_read(globus_ftp_control_handle_t *handle, globus_byte_t *buffer, globus_size_t max_length, globus_ftp_control_data_callback_t callback, void *callback_arg)
Read data from data connections.
Definition: globus_ftp_control_data.c:4702
union globus_ftp_control_parallelism_u globus_ftp_control_parallelism_t
Control parallelism attribute structure.
globus_result_t globus_ftp_control_server_stop(globus_ftp_control_server_t *listener, globus_ftp_control_server_callback_t callback, void *callback_arg)
Stop listening for GridFTP client connections.
Definition: globus_ftp_control_server.c:867
size_t globus_size_t
Standard size of memory objectThe globus_size_t is the size of a memory object. It is identical to si...
Definition: globus_types.h:48
enum globus_ftp_control_type_e globus_ftp_control_type_t
GridFTP TYPE values.
Don't change the TCP buffer/window size from the system default.
Definition: globus_ftp_control.h:353
Definition: globus_ftp_control.h:344
unsigned char globus_byte_t
Unsigned byte datatypeThis is used for byte-addressable arrays of arbitrary data which is not subject...
Definition: globus_types.h:85
void(* globus_ftp_control_server_callback_t)(void *callback_arg, struct globus_ftp_control_server_s *server_handle, globus_object_t *error)
Server callbackA function with this signature can be used as general callbacks for the GridFTP server...
Definition: globus_ftp_control.h:1028
globus_result_t globus_ftp_control_data_force_close(globus_ftp_control_handle_t *control_handle, globus_ftp_control_callback_t destroy_callback, void *destroy_callback_arg)
Close data connections.
Definition: globus_ftp_control_data.c:7960
enum globus_ftp_control_parallelism_mode_e globus_ftp_control_parallelism_mode_t
globus_result_t globus_ftp_control_data_connect_read(globus_ftp_control_handle_t *handle, globus_ftp_control_data_connect_callback_t callback, void *user_arg)
Create an incoming FTP data connection.
Definition: globus_ftp_control_data.c:1051
globus_result_t globus_ftp_control_data_query_channels(globus_ftp_control_handle_t *handle, unsigned int *num_channels, unsigned int stripe)
Number of data channels.
Definition: globus_ftp_control_data.c:2309
void(* globus_ftp_control_response_callback_t)(void *callback_arg, struct globus_ftp_control_handle_s *handle, globus_object_t *error, globus_ftp_control_response_t *ftp_response)
Definition: globus_ftp_control.h:526
struct globus_ftp_control_round_robin_s globus_ftp_control_round_robin_t
Control striping round robin attribute structure.
Definition: globus_ftp_control.h:190
globus_result_t globus_ftp_control_data_remove_channels(globus_ftp_control_handle_t *handle, unsigned int num_channels, unsigned int stripe)
Remove Data Channels.
Definition: globus_ftp_control_data.c:2203
globus_result_t globus_ftp_control_server_accept(globus_ftp_control_server_t *listener, globus_ftp_control_handle_t *handle, globus_ftp_control_callback_t callback, void *callback_arg)
Accept a Client Connection.
Definition: globus_ftp_control_server.c:1026
Headers common to all of Globus.
globus_result_t globus_ftp_control_data_write(globus_ftp_control_handle_t *handle, globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof, globus_ftp_control_data_callback_t callback, void *callback_arg)
Write data to data connections.
Definition: globus_ftp_control_data.c:4501
uint32_t globus_result_t
Definition: globus_types.h:99
globus_ftp_control_tcpbuffer_mode_e
Definition: globus_ftp_control.h:338
struct globus_ftp_control_tcpbuffer_automatic_s globus_ftp_control_tcpbuffer_automatic_t
Automatically set the TCP buffer/window size.
Definition: globus_ftp_control.h:194
globus_result_t globus_ftp_control_set_force_order(globus_ftp_control_handle_t *handle, globus_bool_t order_data, globus_off_t starting_offset)
Set data handle to return read mode E data in order.
Definition: globus_ftp_control_data.c:3539
globus_result_t globus_ftp_control_local_tcp_buffer(globus_ftp_control_handle_t *handle, globus_ftp_control_tcpbuffer_t *tcp_buffer)
Set data handle TCP buffer size.
Definition: globus_ftp_control_data.c:3611
globus_result_t globus_ftp_control_data_get_total_data_channels(globus_ftp_control_handle_t *handle, unsigned int *num_channels, unsigned int stripe_ndx)
Get Total Data Channels For a Stripe.
Definition: globus_ftp_control_data.c:2399
enum globus_ftp_control_dcau_mode_e globus_ftp_control_dcau_mode_t
GridFTP DCAU values.
Definition: globus_ftp_control.h:102
globus_result_t globus_ftp_control_local_type(globus_ftp_control_handle_t *handle, globus_ftp_control_type_t type, int form_code)
Set control handle TYPE value.
Definition: globus_ftp_control_data.c:3293
globus_result_t globus_ftp_control_abort(globus_ftp_control_handle_t *handle, globus_ftp_control_response_callback_t callback, void *callback_arg)
Send a GridFTP ABORT.
Definition: globus_ftp_control_client.c:2392
Set the TCP buffer/window size to a fixed value.
Definition: globus_ftp_control.h:362
Control DCAU subject authentication type.
Definition: globus_ftp_control.h:134
globus_result_t globus_ftp_control_ipv6_allow(globus_ftp_control_handle_t *handle, globus_bool_t allow)
Not documented yet.
Definition: globus_ftp_control_client.c:5064
globus_result_t globus_ftp_control_local_dcau(globus_ftp_control_handle_t *handle, const globus_ftp_control_dcau_t *dcau, gss_cred_id_t delegated_credential_handle)
Set data channel DCAU.
Definition: globus_ftp_control_data.c:3950
globus_result_t globus_ftp_control_local_spor(globus_ftp_control_handle_t *handle, globus_ftp_control_host_port_t addresses[], unsigned int num_addresses)
Set remote data addresses.
Definition: globus_ftp_control_data.c:3203
globus_ftp_control_type_e
GridFTP TYPE values.
Definition: globus_ftp_control.h:79
globus_result_t globus_ftp_control_local_pbsz(globus_ftp_control_handle_t *handle, unsigned long bufsize)
Set data channel protection buffer size.
Definition: globus_ftp_control_data.c:4299
union globus_ftp_control_tcpbuffer_t globus_ftp_control_tcpbuffer_t
Control tcpbuffer attribute structure.
globus_result_t globus_ftp_control_authenticate(globus_ftp_control_handle_t *handle, globus_ftp_control_auth_info_t *auth_info, globus_bool_t use_auth, globus_ftp_control_response_callback_t callback, void *callback_arg)
Authenticate the user to the FTP server.
Definition: globus_ftp_control_client.c:1712
globus_result_t globus_ftp_control_handle_destroy(globus_ftp_control_handle_t *handle)
Destroy a globus ftp handle.
Definition: globus_ftp_control_client.c:235
globus_result_t globus_ftp_control_auth_info_init(globus_ftp_control_auth_info_t *auth_info, gss_cred_id_t credential_handle, globus_bool_t encrypt, char *user, char *password, char *account, char *subject)
Initialize authentication information.
Definition: globus_ftp_control_client.c:3952
globus_ftp_control_striping_mode_e
GridFTP Striping Types.
Definition: globus_ftp_control.h:147
Handle Table for Reference Counting Data.
globus_ftp_control_mode_e
GridFTP MODE values.
Definition: globus_ftp_control.h:99
globus_result_t globus_ftp_control_send_response(globus_ftp_control_handle_t *handle, const char *respspec, globus_ftp_control_callback_t callback, void *callback_arg,...)
Send a GridFTP response.
Definition: globus_ftp_control_server.c:2769
globus_result_t globus_X_ftp_control_data_write_stripe(globus_ftp_control_handle_t *handle, globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof, int stripe_ndx, globus_ftp_control_data_write_info_t *data_info)
Write data to a stripe from an enqueue callback.
Definition: globus_ftp_control_data.c:6075
globus_result_t globus_ftp_control_connect(globus_ftp_control_handle_t *handle, char *host, unsigned short port, globus_ftp_control_response_callback_t callback, void *callback_arg)
Create a new control connection to an FTP server.
Definition: globus_ftp_control_client.c:558
globus_result_t globus_ftp_control_response_destroy(globus_ftp_control_response_t *response)
Free the memory associated with a response.
Definition: globus_ftp_control_client.c:1548
unsigned long globus_ftp_control_auth_requirements_t
Definition: globus_ftp_control.h:640
Authentication Values.
Definition: globus_ftp_control.h:483
Definition: globus_ftp_control.h:124
Control parallelism attribute structure.
Definition: globus_ftp_control.h:261
globus_ftp_control_protection_t
GridFTP Protection Types.
Definition: globus_ftp_control.h:185
Module Descriptor.
Definition: globus_module.h:71
globus_result_t globus_ftp_control_local_parallelism(globus_ftp_control_handle_t *handle, globus_ftp_control_parallelism_t *parallelism)
Set control handle parallelism.
Definition: globus_ftp_control_data.c:2738