17 #ifndef GLOBUS_FTP_CLIENT_H 18 #define GLOBUS_FTP_CLIENT_H 25 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET 113 #define GLOBUS_FTP_CLIENT_MODULE (&globus_i_ftp_client_module) 122 GLOBUS_FTP_CLIENT_ERROR_PARAMETER,
123 GLOBUS_FTP_CLIENT_ERROR_MEMORY,
124 GLOBUS_FTP_CLIENT_ERROR_ABORTED,
125 GLOBUS_FTP_CLIENT_ERROR_INTERNAL,
126 GLOBUS_FTP_CLIENT_ERROR_IN_USE,
127 GLOBUS_FTP_CLIENT_ERROR_NOT_IN_USE,
128 GLOBUS_FTP_CLIENT_ERROR_COMPLETED,
129 GLOBUS_FTP_CLIENT_ERROR_INVALID_OPERATION,
130 GLOBUS_FTP_CLIENT_ERROR_UNEXPECTED_EOF,
131 GLOBUS_FTP_CLIENT_ERROR_NO_SUCH_FILE,
132 GLOBUS_FTP_CLIENT_ERROR_PROTOCOL,
133 GLOBUS_FTP_CLIENT_ERROR_RESPONSE,
134 GLOBUS_FTP_CLIENT_ERROR_FEATURE,
135 GLOBUS_FTP_CLIENT_ERROR_NO_RESTART_MARKER
148 GLOBUS_FTP_CLIENT_RESTART_NONE,
149 GLOBUS_FTP_CLIENT_RESTART_STREAM,
150 GLOBUS_FTP_CLIENT_RESTART_EXTENDED_BLOCK
171 globus_ftp_client_restart_type_t type;
181 globus_off_t ascii_offset;
202 globus_ftp_client_restart_type_t type;
226 globus_ftp_client_restart_type_t type;
284 globus_ftp_client_handle_t * handle,
285 globus_object_t * error);
317 globus_ftp_client_handle_t * handle,
318 globus_object_t * error,
384 globus_off_t end_offset);
389 globus_off_t offset);
395 globus_off_t ascii_offset);
400 globus_off_t * total_bytes);
403 globus_ftp_client_restart_marker_get_first_block(
405 globus_off_t * offset,
406 globus_off_t * end_offset);
411 char ** marker_string);
416 const char * marker_string);
437 globus_ftp_client_handle_t * handle,
438 globus_ftp_client_handleattr_t* attr);
442 globus_ftp_client_handle_t * handle);
445 globus_ftp_client_handle_borrow_connection(
446 globus_ftp_client_handle_t * from_handle,
448 globus_ftp_client_handle_t * to_handle,
453 globus_ftp_client_handle_t * handle,
458 globus_ftp_client_handle_t * handle,
463 globus_ftp_client_handle_t * handle,
464 void * user_pointer);
467 globus_ftp_client_handle_get_user_pointer(
468 const globus_ftp_client_handle_t * handle,
469 void ** user_pointer);
472 globus_ftp_client_handle_get_restart_marker(
473 const globus_ftp_client_handle_t * handle,
478 globus_ftp_client_handle_t * handle,
479 globus_ftp_client_plugin_t * plugin);
483 globus_ftp_client_handle_t * handle,
484 globus_ftp_client_plugin_t * plugin);
505 globus_ftp_client_handleattr_t * attr);
509 globus_ftp_client_handleattr_t * attr);
513 globus_ftp_client_handleattr_t * dest,
514 globus_ftp_client_handleattr_t * src);
518 globus_ftp_client_handleattr_t * attr,
522 globus_ftp_client_handleattr_remove_cached_url(
523 globus_ftp_client_handleattr_t * attr,
528 globus_ftp_client_handleattr_t * attr,
532 globus_ftp_client_handleattr_get_cache_all(
533 const globus_ftp_client_handleattr_t * attr,
538 globus_ftp_client_handleattr_t * attr,
542 globus_ftp_client_handleattr_get_rfc1738_url(
543 const globus_ftp_client_handleattr_t * attr,
546 typedef void (*globus_ftp_client_pipeline_callback_t)(
547 globus_ftp_client_handle_t * handle,
554 globus_ftp_client_handleattr_t * attr,
556 globus_ftp_client_pipeline_callback_t pipeline_callback,
557 void * pipeline_arg);
560 globus_ftp_client_handleattr_get_pipeline(
561 const globus_ftp_client_handleattr_t * attr,
563 globus_ftp_client_pipeline_callback_t * pipeline_callback,
564 void ** pipeline_arg);
568 globus_ftp_client_handleattr_t * attr,
572 globus_ftp_client_handleattr_get_gridftp2(
573 const globus_ftp_client_handleattr_t * attr,
578 globus_ftp_client_handleattr_t * attr,
579 globus_netlogger_handle_t * nl_handle);
583 globus_ftp_client_handleattr_t * attr,
584 const char * app_name,
585 const char * app_version,
589 globus_ftp_client_handleattr_get_clientinfo(
590 globus_ftp_client_handleattr_t * attr,
596 globus_ftp_client_handleattr_set_netlogger_ftp_io(
597 globus_ftp_client_handleattr_t * attr,
598 globus_netlogger_handle_t * nl_handle,
603 globus_ftp_client_handleattr_remove_plugin(
604 globus_ftp_client_handleattr_t * attr,
605 globus_ftp_client_plugin_t * plugin);
609 globus_ftp_client_handleattr_t * attr,
610 globus_ftp_client_plugin_t * plugin);
627 globus_ftp_client_handle_t * u_handle,
630 globus_ftp_client_operationattr_t * attr,
632 void * callback_arg);
636 globus_ftp_client_handle_t * u_handle,
639 globus_ftp_client_operationattr_t * attr,
641 void * callback_arg);
645 globus_ftp_client_handle_t * u_handle,
647 const struct tm * utime_time,
648 globus_ftp_client_operationattr_t * attr,
650 void * callback_arg);
654 globus_ftp_client_handle_t * u_handle,
656 const char * link_url,
657 globus_ftp_client_operationattr_t * attr,
659 void * callback_arg);
663 globus_ftp_client_handle_t * handle,
665 globus_ftp_client_operationattr_t * attr,
669 const char * algorithm,
671 void * callback_arg);
675 globus_ftp_client_handle_t * handle,
677 globus_ftp_client_operationattr_t * attr,
679 void * callback_arg);
683 globus_ftp_client_handle_t * handle,
685 globus_ftp_client_operationattr_t * attr,
687 void * callback_arg);
691 globus_ftp_client_handle_t * handle,
693 globus_ftp_client_operationattr_t * attr,
695 void * callback_arg);
699 globus_ftp_client_handle_t * handle,
701 globus_ftp_client_operationattr_t * attr,
703 void * callback_arg);
707 globus_ftp_client_handle_t * handle,
709 globus_ftp_client_operationattr_t * attr,
711 void * callback_arg);
715 globus_ftp_client_handle_t * handle,
717 globus_ftp_client_operationattr_t * attr,
719 void * callback_arg);
723 globus_ftp_client_handle_t * handle,
725 globus_ftp_client_operationattr_t * attr,
727 void * callback_arg);
731 globus_ftp_client_handle_t * u_handle,
733 globus_ftp_client_operationattr_t * attr,
737 void * callback_arg);
741 globus_ftp_client_handle_t * u_handle,
743 globus_ftp_client_operationattr_t * attr,
747 void * callback_arg);
751 globus_ftp_client_handle_t * u_handle,
753 globus_ftp_client_operationattr_t * attr,
757 void * callback_arg);
761 globus_ftp_client_handle_t * handle,
762 const char * source_url,
763 const char * dest_url,
764 globus_ftp_client_operationattr_t * attr,
766 void * callback_arg);
770 globus_ftp_client_handle_t * handle,
772 globus_ftp_client_operationattr_t * attr,
775 void * callback_arg);
779 globus_ftp_client_handle_t * handle,
781 globus_ftp_client_operationattr_t * attr,
784 void * callback_arg);
788 globus_ftp_client_handle_t * handle,
789 const char * source_url,
790 globus_ftp_client_operationattr_t * source_attr,
791 const char * dest_url,
792 globus_ftp_client_operationattr_t * dest_attr,
795 void * callback_arg);
799 globus_ftp_client_handle_t * handle,
801 globus_ftp_client_operationattr_t * attr,
803 globus_off_t partial_offset,
804 globus_off_t partial_end_offset,
806 void * callback_arg);
810 globus_ftp_client_handle_t * handle,
812 globus_ftp_client_operationattr_t * attr,
814 globus_off_t partial_offset,
815 globus_off_t partial_end_offset,
817 void * callback_arg);
821 globus_ftp_client_handle_t * handle,
822 const char * source_url,
823 globus_ftp_client_operationattr_t * source_attr,
824 const char * dest_url,
825 globus_ftp_client_operationattr_t * dest_attr,
827 globus_off_t partial_offset,
828 globus_off_t partial_end_offset,
830 void * callback_arg);
834 globus_ftp_client_handle_t * handle,
836 globus_ftp_client_operationattr_t * attr,
838 const char * eret_alg_str,
840 void * callback_arg);
844 globus_ftp_client_handle_t * handle,
846 globus_ftp_client_operationattr_t * attr,
848 const char * esto_alg_str,
850 void * callback_arg);
854 globus_ftp_client_handle_t * handle,
855 const char * source_url,
856 globus_ftp_client_operationattr_t * source_attr,
857 const char * eret_alg_str,
858 const char * dest_url,
859 globus_ftp_client_operationattr_t * dest_attr,
860 const char * esto_alg_str,
863 void * callback_arg);
867 globus_ftp_client_handle_t * handle);
871 globus_ftp_client_handle_t * handle,
873 globus_ftp_client_operationattr_t * attr,
874 globus_abstime_t * modification_time,
876 void * callback_arg);
880 globus_ftp_client_handle_t * handle,
882 globus_ftp_client_operationattr_t * attr,
885 void * callback_arg);
889 globus_ftp_client_handle_t * handle,
891 globus_ftp_client_operationattr_t * attr,
893 void * callback_arg);
908 globus_ftp_client_operationattr_t * attr);
912 globus_ftp_client_operationattr_t * attr);
916 globus_ftp_client_operationattr_t * attr,
920 globus_ftp_client_operationattr_get_parallelism(
921 const globus_ftp_client_operationattr_t * attr,
926 globus_ftp_client_operationattr_t * attr,
927 const char * module_name,
928 const char * module_args);
931 globus_ftp_client_operationattr_get_storage_module(
932 const globus_ftp_client_operationattr_t * attr,
934 char ** module_args);
938 globus_ftp_client_operationattr_t * attr,
939 const char * driver_list);
942 globus_ftp_client_operationattr_get_net_stack(
943 const globus_ftp_client_operationattr_t * attr,
944 char ** driver_list);
948 globus_ftp_client_operationattr_t * attr,
949 const char * driver_list);
952 globus_ftp_client_operationattr_get_disk_stack(
953 const globus_ftp_client_operationattr_t * attr,
954 char ** driver_list);
958 globus_ftp_client_operationattr_t * attr,
959 const char * authz_assert,
963 globus_ftp_client_operationattr_get_authz_assert(
964 const globus_ftp_client_operationattr_t * attr,
965 char ** authz_assert,
970 globus_ftp_client_operationattr_t * attr,
974 globus_ftp_client_operationattr_get_striped(
975 const globus_ftp_client_operationattr_t * attr,
980 globus_ftp_client_operationattr_t * attr,
984 globus_ftp_client_operationattr_get_layout(
985 const globus_ftp_client_operationattr_t * attr,
990 globus_ftp_client_operationattr_t * attr,
994 globus_ftp_client_operationattr_get_tcp_buffer(
995 const globus_ftp_client_operationattr_t * attr,
1000 globus_ftp_client_operationattr_t * attr,
1004 globus_ftp_client_operationattr_get_type(
1005 const globus_ftp_client_operationattr_t * attr,
1010 globus_ftp_client_operationattr_t * attr,
1014 globus_ftp_client_operationattr_get_mode(
1015 const globus_ftp_client_operationattr_t * attr,
1020 const globus_ftp_client_operationattr_t * attr,
1024 globus_ftp_client_operationattr_get_list_uses_data_mode(
1025 const globus_ftp_client_operationattr_t * attr,
1030 const globus_ftp_client_operationattr_t * attr,
1034 globus_ftp_client_operationattr_get_delayed_pasv(
1035 const globus_ftp_client_operationattr_t * attr,
1040 globus_ftp_client_operationattr_t * attr,
1044 globus_ftp_client_operationattr_get_dcau(
1045 const globus_ftp_client_operationattr_t * attr,
1050 globus_ftp_client_operationattr_t * attr,
1054 globus_ftp_client_operationattr_get_data_protection(
1055 const globus_ftp_client_operationattr_t * attr,
1060 globus_ftp_client_operationattr_t * attr,
1064 globus_ftp_client_operationattr_get_control_protection(
1065 const globus_ftp_client_operationattr_t * attr,
1070 globus_ftp_client_operationattr_t * attr,
1075 globus_ftp_client_operationattr_get_data_security(
1076 const globus_ftp_client_operationattr_t * attr,
1078 void ** credential);
1081 globus_ftp_client_operationattr_set_resume_third_party_transfer(
1082 globus_ftp_client_operationattr_t * attr,
1086 globus_ftp_client_operationattr_get_resume_third_party_transfer(
1087 const globus_ftp_client_operationattr_t * attr,
1092 globus_ftp_client_operationattr_t * attr,
1093 gss_cred_id_t credential,
1095 const char * password,
1096 const char * account,
1097 const char * subject);
1100 globus_ftp_client_operationattr_get_authorization(
1101 const globus_ftp_client_operationattr_t * attr,
1102 gss_cred_id_t * credential,
1110 globus_ftp_client_operationattr_t * attr,
1114 globus_ftp_client_operationattr_get_append(
1115 const globus_ftp_client_operationattr_t * attr,
1120 globus_ftp_client_operationattr_t * attr,
1123 void * intermediate_callback_arg);
1126 globus_ftp_client_operationattr_get_read_all(
1127 const globus_ftp_client_operationattr_t * attr,
1130 void ** intermediate_callback_arg);
1134 globus_ftp_client_operationattr_t * attr,
1138 globus_ftp_client_operationattr_get_allow_ipv6(
1139 const globus_ftp_client_operationattr_t * attr,
1144 globus_ftp_client_operationattr_t * attr,
1145 const globus_off_t allocated_size);
1148 globus_ftp_client_operationattr_get_allocate(
1149 const globus_ftp_client_operationattr_t * attr,
1150 globus_off_t * allocated_size);
1154 globus_ftp_client_operationattr_t * dst,
1155 const globus_ftp_client_operationattr_t * src);
1158 globus_ftp_client_operationattr_set_rfc1738_url(
1159 globus_ftp_client_operationattr_t * attr,
1163 globus_ftp_client_operationattr_get_rfc1738_url(
1164 const globus_ftp_client_operationattr_t * attr,
1193 globus_ftp_client_handle_t * handle,
1197 void * callback_arg);
1201 globus_ftp_client_handle_t * handle,
1204 globus_off_t offset,
1207 void * callback_arg);
1220 GLOBUS_FTP_CLIENT_MAYBE
1233 GLOBUS_FTP_CLIENT_FEATURE_RETRBUFSIZE = 0,
1234 GLOBUS_FTP_CLIENT_FEATURE_RBUFSZ,
1235 GLOBUS_FTP_CLIENT_FEATURE_RBUFSIZ,
1236 GLOBUS_FTP_CLIENT_FEATURE_STORBUFSIZE,
1237 GLOBUS_FTP_CLIENT_FEATURE_SBUSSZ,
1238 GLOBUS_FTP_CLIENT_FEATURE_SBUFSIZ,
1239 GLOBUS_FTP_CLIENT_FEATURE_BUFSIZE,
1240 GLOBUS_FTP_CLIENT_FEATURE_SBUF,
1241 GLOBUS_FTP_CLIENT_FEATURE_ABUF,
1243 GLOBUS_FTP_CLIENT_FEATURE_REST_STREAM,
1244 GLOBUS_FTP_CLIENT_FEATURE_PARALLELISM,
1245 GLOBUS_FTP_CLIENT_FEATURE_DCAU,
1246 GLOBUS_FTP_CLIENT_FEATURE_DCSC,
1247 GLOBUS_FTP_CLIENT_FEATURE_ESTO,
1248 GLOBUS_FTP_CLIENT_FEATURE_ERET,
1249 GLOBUS_FTP_CLIENT_FEATURE_SIZE,
1250 GLOBUS_FTP_CLIENT_FEATURE_CKSM,
1251 GLOBUS_FTP_CLIENT_FEATURE_CHMOD,
1252 GLOBUS_FTP_CLIENT_FEATURE_AUTHZ_ASSERT,
1253 GLOBUS_FTP_CLIENT_FEATURE_CLIENTINFO,
1254 GLOBUS_FTP_CLIENT_FEATURE_SITE_SETNETSTACK,
1255 GLOBUS_FTP_CLIENT_FEATURE_DELAYED_PASV,
1256 GLOBUS_FTP_CLIENT_FEATURE_GETPUT,
1257 GLOBUS_FTP_CLIENT_FEATURE_MLST,
1258 GLOBUS_FTP_CLIENT_FEATURE_CHGRP,
1259 GLOBUS_FTP_CLIENT_FEATURE_UTIME,
1260 GLOBUS_FTP_CLIENT_FEATURE_SYMLINK,
1261 GLOBUS_FTP_CLIENT_FEATURE_MAX,
1262 GLOBUS_FTP_CLIENT_LAST_BUFFER_COMMAND = GLOBUS_FTP_CLIENT_FEATURE_ABUF,
1263 GLOBUS_FTP_CLIENT_FIRST_FEAT_FEATURE = GLOBUS_FTP_CLIENT_FEATURE_SBUF,
1264 GLOBUS_FTP_CLIENT_LAST_FEAT_FEATURE = GLOBUS_FTP_CLIENT_FEATURE_MLST
1281 globus_ftp_client_handle_t * u_handle,
1283 globus_ftp_client_operationattr_t * attr,
1284 globus_ftp_client_features_t * u_features,
1286 void * callback_arg);
1290 const globus_ftp_client_features_t * u_features,
1291 globus_ftp_client_tristate_t * answer,
1292 const globus_ftp_client_probed_feature_t feature);
1295 globus_ftp_client_features_t *);
1297 globus_ftp_client_features_t *);
1311 globus_error_ftp_error_get_code(
1312 globus_object_t * error);
1314 #define GLOBUS_ERROR_TYPE_FTP (&GLOBUS_ERROR_TYPE_FTP_DEFINITION) 1315 extern const globus_object_type_t GLOBUS_ERROR_TYPE_FTP_DEFINITION;
globus_result_t globus_ftp_client_get(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3215
globus_result_t globus_ftp_client_handleattr_add_cached_url(globus_ftp_client_handleattr_t *attr, const char *url)
Definition: globus_ftp_client_attr.c:872
globus_result_t globus_ftp_client_operationattr_set_control_protection(globus_ftp_client_operationattr_t *attr, globus_ftp_control_protection_t protection)
Definition: globus_ftp_client_attr.c:3322
globus_ftp_client_restart_type_t
Definition: globus_ftp_client.h:146
GridFTP Control Connection API.
struct globus_i_ftp_client_features_s * globus_ftp_client_features_t
Feature HandleHandle used to associate state with feature operations.
Definition: globus_ftp_client.h:1276
#define GLOBUS_TRUE
True value for globus_bool_t.
Definition: globus_types.h:107
globus_result_t globus_ftp_client_mlst(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_byte_t **mlst_buffer, globus_size_t *mlst_buffer_length, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1638
globus_result_t globus_ftp_client_symlink(globus_ftp_client_handle_t *u_handle, const char *source_url, const char *link_url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2923
globus_result_t globus_ftp_client_handleattr_set_clientinfo(globus_ftp_client_handleattr_t *attr, const char *app_name, const char *app_version, const char *other)
Definition: globus_ftp_client_attr.c:593
enum globus_ftp_control_mode_e globus_ftp_control_mode_t
GridFTP MODE values.
globus_result_t globus_ftp_client_operationattr_set_tcp_buffer(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_tcpbuffer_t *tcp_buffer)
Definition: globus_ftp_client_attr.c:2211
globus_result_t globus_ftp_client_operationattr_set_layout(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_layout_t *layout)
Definition: globus_ftp_client_attr.c:2096
void(* globus_ftp_client_complete_callback_t)(void *user_arg, globus_ftp_client_handle_t *handle, globus_object_t *error)
Definition: globus_ftp_client.h:282
globus_result_t globus_ftp_client_operationattr_set_striped(globus_ftp_client_operationattr_t *attr, globus_bool_t striped)
Definition: globus_ftp_client_attr.c:2003
FTP Client handle implementation.
Definition: globus_i_ftp_client.h:522
globus_result_t globus_ftp_client_operationattr_set_append(globus_ftp_client_operationattr_t *attr, globus_bool_t append)
Definition: globus_ftp_client_attr.c:3418
Handle attributes.
Definition: globus_i_ftp_client.h:193
FTP server features we are interested in.
Definition: globus_i_ftp_client.h:436
globus_result_t globus_ftp_client_operationattr_set_delayed_pasv(const globus_ftp_client_operationattr_t *attr, globus_bool_t delayed_pasv)
Definition: globus_ftp_client_attr.c:2582
Control DCAU union.
Definition: globus_ftp_control.h:172
struct globus_i_ftp_client_operationattr_t * globus_ftp_client_operationattr_t
Operation Attributes.FTP Client attributes are used to control the parameters needed to access an URL...
Definition: globus_ftp_client.h:337
globus_ftp_client_error_t
Definition: globus_ftp_client.h:120
globus_result_t globus_ftp_client_operationattr_set_storage_module(globus_ftp_client_operationattr_t *attr, const char *module_name, const char *module_args)
Definition: globus_ftp_client_attr.c:1367
globus_result_t globus_ftp_client_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1129
globus_result_t globus_ftp_client_utime(globus_ftp_client_handle_t *u_handle, const char *url, const struct tm *utime_time, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2676
globus_result_t globus_ftp_client_extended_third_party_transfer(globus_ftp_client_handle_t *handle, const char *source_url, globus_ftp_client_operationattr_t *source_attr, const char *eret_alg_str, const char *dest_url, globus_ftp_client_operationattr_t *dest_attr, const char *esto_alg_str, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4466
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
globus_result_t globus_ftp_client_restart_marker_set_ascii_offset(globus_ftp_client_restart_marker_t *marker, globus_off_t offset, globus_off_t ascii_offset)
Definition: globus_ftp_client_restart_marker.c:354
globus_result_t globus_ftp_client_operationattr_set_type(globus_ftp_client_operationattr_t *attr, globus_ftp_control_type_t type)
Definition: globus_ftp_client_attr.c:2311
globus_result_t globus_ftp_client_operationattr_set_net_stack(globus_ftp_client_operationattr_t *attr, const char *driver_list)
Definition: globus_ftp_client_attr.c:1498
struct globus_fifo_s * globus_fifo_t
Definition: globus_fifo.h:48
globus_result_t globus_ftp_client_handle_init(globus_ftp_client_handle_t *handle, globus_ftp_client_handleattr_t *attr)
Definition: globus_ftp_client_handle.c:243
globus_result_t globus_ftp_client_register_read(globus_ftp_client_handle_t *handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_ftp_client_data_callback_t callback, void *callback_arg)
Definition: globus_ftp_client_data.c:122
globus_ftp_client_tristate_t
Definition: globus_ftp_client.h:1216
globus_result_t globus_ftp_client_partial_put(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_off_t partial_offset, globus_off_t partial_end_offset, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3835
globus_result_t globus_ftp_client_operationattr_init(globus_ftp_client_operationattr_t *attr)
Definition: globus_ftp_client_attr.c:1147
globus_ftp_client_probed_feature_t
Definition: globus_ftp_client.h:1228
globus_result_t globus_ftp_client_chmod(globus_ftp_client_handle_t *u_handle, const char *url, int mode, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2186
globus_result_t globus_ftp_client_partial_get(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_off_t partial_offset, globus_off_t partial_end_offset, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3286
globus_result_t globus_ftp_client_move(globus_ftp_client_handle_t *u_handle, const char *source_url, const char *dest_url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1896
Control tcpbuffer attribute structure.
Definition: globus_ftp_control.h:383
Control striping attribute union.
Definition: globus_ftp_control.h:210
globus_result_t globus_ftp_client_operationattr_set_dcau(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_dcau_t *dcau)
Definition: globus_ftp_client_attr.c:2988
globus_result_t globus_ftp_client_operationattr_set_data_security(globus_ftp_client_operationattr_t *attr, int type, void *credential)
Definition: globus_ftp_client_attr.c:3171
globus_result_t globus_ftp_client_operationattr_set_allocate(globus_ftp_client_operationattr_t *attr, const globus_off_t allocated_size)
Definition: globus_ftp_client_attr.c:1809
globus_result_t globus_ftp_client_restart_marker_set_offset(globus_ftp_client_restart_marker_t *marker, globus_off_t offset)
Definition: globus_ftp_client_restart_marker.c:409
globus_result_t globus_ftp_client_handleattr_set_pipeline(globus_ftp_client_handleattr_t *attr, globus_size_t outstanding_commands, globus_ftp_client_pipeline_callback_t pipeline_callback, void *pipeline_arg)
Definition: globus_ftp_client_attr.c:781
globus_module_descriptor_t globus_i_ftp_client_module
Definition: globus_ftp_client.c:94
globus_result_t globus_ftp_client_features_destroy(globus_ftp_client_features_t *u_features)
Definition: globus_ftp_client_feature.c:113
The globus_i_ftp_client_operationattr_t is a pointer to this structure type.
Definition: globus_i_ftp_client.h:131
globus_result_t globus_ftp_client_operationattr_set_list_uses_data_mode(const globus_ftp_client_operationattr_t *attr, globus_bool_t list_uses_data_mode)
Definition: globus_ftp_client_attr.c:2513
globus_result_t globus_ftp_client_restart_marker_copy(globus_ftp_client_restart_marker_t *new_marker, globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker.c:69
globus_result_t globus_ftp_client_restart_marker_from_string(globus_ftp_client_restart_marker_t *marker, const char *marker_string)
Definition: globus_ftp_client_restart_marker.c:708
globus_result_t globus_ftp_client_stat(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_byte_t **stat_buffer, globus_size_t *stat_buffer_length, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1256
globus_result_t globus_ftp_client_modification_time(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_abstime_t *modification_time, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4905
struct globus_i_ftp_client_handleattr_t * globus_ftp_client_handleattr_t
Handle Attributes.Handle attributes are used to control the caching behavior of the ftp client handle...
Definition: globus_ftp_client.h:350
globus_result_t globus_ftp_client_operationattr_set_allow_ipv6(globus_ftp_client_operationattr_t *attr, globus_bool_t allow_ipv6)
Definition: globus_ftp_client_attr.c:3502
globus_result_t globus_ftp_client_handle_add_plugin(globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_handle.c:695
globus_result_t globus_ftp_client_handleattr_set_rfc1738_url(globus_ftp_client_handleattr_t *attr, globus_bool_t rfc1738_url)
Definition: globus_ftp_client_attr.c:512
globus_result_t globus_ftp_client_operationattr_set_parallelism(globus_ftp_client_operationattr_t *attr, const globus_ftp_control_parallelism_t *parallelism)
Definition: globus_ftp_client_attr.c:1710
globus_result_t globus_ftp_client_restart_marker_destroy(globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker.c:141
Stream mode restart marker.
Definition: globus_ftp_client.h:165
globus_result_t globus_ftp_client_operationattr_set_mode(globus_ftp_client_operationattr_t *attr, globus_ftp_control_mode_t mode)
Definition: globus_ftp_client_attr.c:2415
globus_result_t globus_ftp_client_size(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_off_t *size, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:5155
globus_result_t globus_ftp_client_handleattr_copy(globus_ftp_client_handleattr_t *dest, globus_ftp_client_handleattr_t *src)
Definition: globus_ftp_client_attr.c:378
globus_result_t globus_ftp_client_restart_marker_insert_range(globus_ftp_client_restart_marker_t *marker, globus_off_t offset, globus_off_t end_offset)
Definition: globus_ftp_client_restart_marker.c:206
globus_result_t globus_ftp_client_register_write(globus_ftp_client_handle_t *handle, globus_byte_t *buffer, globus_size_t buffer_length, globus_off_t offset, globus_bool_t eof, globus_ftp_client_data_callback_t callback, void *callback_arg)
Definition: globus_ftp_client_data.c:337
globus_result_t globus_ftp_client_handle_destroy(globus_ftp_client_handle_t *handle)
Definition: globus_ftp_client_handle.c:365
globus_result_t globus_ftp_client_operationattr_set_authorization(globus_ftp_client_operationattr_t *attr, gss_cred_id_t credential, const char *user, const char *password, const char *account, const char *subject)
Definition: globus_ftp_client_attr.c:2756
globus_result_t globus_ftp_client_handleattr_set_gridftp2(globus_ftp_client_handleattr_t *attr, globus_bool_t gridftp2)
Definition: globus_ftp_client_attr.c:702
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
globus_result_t globus_ftp_client_extended_put(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, const char *esto_alg_str, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3908
globus_result_t globus_ftp_client_restart_marker_to_string(globus_ftp_client_restart_marker_t *marker, char **marker_string)
Definition: globus_ftp_client_restart_marker.c:571
enum globus_ftp_control_type_e globus_ftp_control_type_t
GridFTP TYPE values.
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
globus_result_t globus_ftp_client_handleattr_add_plugin(globus_ftp_client_handleattr_t *attr, globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_attr.c:1004
globus_result_t globus_ftp_client_operationattr_destroy(globus_ftp_client_operationattr_t *attr)
Definition: globus_ftp_client_attr.c:1252
globus_result_t globus_ftp_client_exists(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_exists.c:174
globus_result_t globus_ftp_client_restart_marker_get_total(globus_ftp_client_restart_marker_t *marker, globus_off_t *total_bytes)
Definition: globus_ftp_client_restart_marker.c:452
globus_result_t globus_ftp_client_abort(globus_ftp_client_handle_t *u_handle)
Definition: globus_ftp_client_transfer.c:5638
globus_result_t globus_ftp_client_put(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3772
globus_result_t globus_ftp_client_handleattr_set_netlogger(globus_ftp_client_handleattr_t *attr, globus_netlogger_handle_t *nl_handle)
Definition: globus_ftp_client_attr.c:938
uint32_t globus_result_t
Definition: globus_types.h:99
globus_result_t globus_ftp_client_operationattr_set_data_protection(globus_ftp_client_operationattr_t *attr, globus_ftp_control_protection_t protection)
Definition: globus_ftp_client_attr.c:3097
globus_result_t globus_ftp_client_handle_set_user_pointer(globus_ftp_client_handle_t *handle, void *user_pointer)
Definition: globus_ftp_client_handle.c:559
struct globus_i_ftp_client_handle_t * globus_ftp_client_handle_t
FTP Client Handle.An FTP client handle is used to associate state with a group of operations...
Definition: globus_ftp_client.h:246
globus_result_t globus_ftp_client_handle_remove_plugin(globus_ftp_client_handle_t *handle, globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_handle.c:818
globus_result_t globus_ftp_client_recursive_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1568
globus_result_t globus_ftp_client_cksm(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, char *cksm, globus_off_t offset, globus_off_t length, const char *algorithm, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:5409
void(* globus_ftp_client_data_callback_t)(void *user_arg, globus_ftp_client_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_client.h:315
globus_result_t globus_ftp_client_cwd(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_byte_t **cwd_buffer, globus_size_t *cwd_buffer_length, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:643
globus_result_t globus_ftp_client_machine_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1510
struct globus_i_ftp_client_plugin_t * globus_ftp_client_plugin_t
FTP Client pluginAn FTP Client plugin is used to add restart, monitoring, and performance tuning oper...
Definition: globus_ftp_client.h:261
globus_result_t globus_ftp_client_chgrp(globus_ftp_client_handle_t *u_handle, const char *url, const char *group, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:2424
globus_result_t globus_ftp_client_verbose_list(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:1187
globus_result_t globus_ftp_client_mkdir(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:171
globus_result_t globus_ftp_client_operationattr_copy(globus_ftp_client_operationattr_t *dst, const globus_ftp_client_operationattr_t *src)
Definition: globus_ftp_client_attr.c:3693
globus_result_t globus_ftp_client_delete(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:893
globus_result_t globus_ftp_client_handleattr_set_cache_all(globus_ftp_client_handleattr_t *attr, globus_bool_t cache_all)
Definition: globus_ftp_client_attr.c:440
globus_result_t globus_ftp_client_operationattr_set_disk_stack(globus_ftp_client_operationattr_t *attr, const char *driver_list)
Definition: globus_ftp_client_attr.c:1600
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:798
#define GLOBUS_FALSE
False value for globus_bool_t.
Definition: globus_types.h:112
globus_result_t globus_ftp_client_handle_cache_url_state(globus_ftp_client_handle_t *handle, const char *url)
Definition: globus_ftp_client_handle.c:450
globus_result_t globus_ftp_client_features_init(globus_ftp_client_features_t *u_features)
Definition: globus_ftp_client_feature.c:90
globus_result_t globus_ftp_client_partial_third_party_transfer(globus_ftp_client_handle_t *handle, const char *source_url, globus_ftp_client_operationattr_t *source_attr, const char *dest_url, globus_ftp_client_operationattr_t *dest_attr, globus_ftp_client_restart_marker_t *restart, globus_off_t partial_offset, globus_off_t partial_end_offset, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4310
Restart marker.This structure is may be either a stream mode transfer offset, or an extended block mo...
Definition: globus_ftp_client.h:224
globus_result_t globus_ftp_client_rmdir(globus_ftp_client_handle_t *u_handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:402
globus_result_t globus_ftp_client_handle_flush_url_state(globus_ftp_client_handle_t *handle, const char *url)
Definition: globus_ftp_client_handle.c:499
globus_result_t globus_ftp_client_operationattr_set_authz_assert(globus_ftp_client_operationattr_t *attr, const char *authz_assert, globus_bool_t cache_authz_assert)
Definition: globus_ftp_client_attr.c:1894
globus_result_t globus_ftp_client_handleattr_init(globus_ftp_client_handleattr_t *attr)
Definition: globus_ftp_client_attr.c:244
globus_result_t globus_ftp_client_restart_marker_init(globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker.c:37
Control parallelism attribute structure.
Definition: globus_ftp_control.h:261
globus_result_t globus_ftp_client_operationattr_set_read_all(globus_ftp_client_operationattr_t *attr, globus_bool_t read_all, globus_ftp_client_data_callback_t intermediate_callback, void *intermediate_callback_arg)
Definition: globus_ftp_client_attr.c:3592
globus_result_t globus_ftp_client_is_feature_supported(const globus_ftp_client_features_t *u_features, globus_ftp_client_tristate_t *answer, globus_ftp_client_probed_feature_t feature)
Definition: globus_ftp_client_feature.c:358
globus_result_t globus_ftp_client_feat(globus_ftp_client_handle_t *u_handle, char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_features_t *u_features, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_feature.c:160
Extended block mode restart marker.
Definition: globus_ftp_client.h:196
globus_ftp_control_protection_t
GridFTP Protection Types.
Definition: globus_ftp_control.h:185
globus_result_t globus_ftp_client_handleattr_destroy(globus_ftp_client_handleattr_t *attr)
Definition: globus_ftp_client_attr.c:307
globus_result_t globus_ftp_client_third_party_transfer(globus_ftp_client_handle_t *handle, const char *source_url, globus_ftp_client_operationattr_t *source_attr, const char *dest_url, globus_ftp_client_operationattr_t *dest_attr, globus_ftp_client_restart_marker_t *restart, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:4238
globus_result_t globus_ftp_client_extended_get(globus_ftp_client_handle_t *handle, const char *url, globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart, const char *eret_alg_str, globus_ftp_client_complete_callback_t complete_callback, void *callback_arg)
Definition: globus_ftp_client_transfer.c:3439
Module Descriptor.
Definition: globus_module.h:71