17 #ifndef GLOBUS_FTP_CLIENT_PLUGIN_H 18 #define GLOBUS_FTP_CLIENT_PLUGIN_H 72 GLOBUS_FTP_CLIENT_CMD_MASK_NONE = 0,
132 void * plugin_specific);
149 void * plugin_specific);
176 void * plugin_specific,
207 void * plugin_specific,
243 void * plugin_specific,
281 void * plugin_specific,
319 void * plugin_specific,
322 const struct tm * utime_time,
357 void * plugin_specific,
360 const char * utime_time,
401 void * plugin_specific,
406 const char * algorithm,
439 void * plugin_specific,
474 void * plugin_specific,
510 void * plugin_specific,
545 void * plugin_specific,
581 void * plugin_specific,
616 void * plugin_specific,
651 void * plugin_specific,
686 void * plugin_specific,
721 void * plugin_specific,
757 void * plugin_specific,
795 void * plugin_specific,
797 const char * source_url,
798 const char * dest_url,
831 void * plugin_specific,
866 void * plugin_specific,
905 void * plugin_specific,
907 const char * source_url,
909 const char * dest_url,
942 void * plugin_specific,
977 void * plugin_specific,
1001 void * plugin_specific,
1025 void * plugin_specific,
1056 void * plugin_specific,
1060 globus_off_t offset,
1090 void * plugin_specific,
1092 globus_object_t * error,
1095 globus_off_t offset,
1122 void * plugin_specific,
1125 const char * command);
1155 void * plugin_specific,
1158 globus_object_t * error,
1159 const globus_ftp_control_response_t * ftp_response);
1182 void * plugin_specific,
1185 globus_object_t * error);
1206 void * plugin_specific,
1216 const globus_abstime_t * when);
1223 const globus_abstime_t * when);
1230 const globus_abstime_t * when);
1237 const globus_abstime_t * when);
1244 const globus_abstime_t * when);
1251 const globus_abstime_t * when);
1258 const globus_abstime_t * when);
1266 const globus_abstime_t * when);
1274 const globus_abstime_t * when);
1280 const struct tm * utime_time,
1282 const globus_abstime_t * when);
1288 const char * link_url,
1290 const globus_abstime_t * when);
1296 globus_off_t offset,
1297 globus_off_t length,
1298 const char * algorithm,
1300 const globus_abstime_t * when);
1307 const globus_abstime_t * when);
1314 const globus_abstime_t * when);
1321 const globus_abstime_t * when);
1326 const char * source_url,
1327 const char * dest_url,
1329 const globus_abstime_t * when);
1337 const globus_abstime_t * when);
1345 const globus_abstime_t * when);
1350 const char * source_url,
1352 const char * dest_url,
1355 const globus_abstime_t * when);
1362 const globus_abstime_t * when);
1369 const globus_abstime_t * when);
1383 unsigned int num_channels,
1384 unsigned int stripe);
1389 unsigned int num_channels,
1390 unsigned int stripe);
1393 globus_ftp_client_plugin_init(
1395 const char * plugin_name,
1397 void * plugin_specific);
1400 globus_ftp_client_plugin_destroy(
1404 globus_ftp_client_plugin_get_plugin_specific(
1406 void ** plugin_specific);
1409 globus_ftp_client_plugin_set_copy_func(
1414 globus_ftp_client_plugin_set_destroy_func(
1419 globus_ftp_client_plugin_set_chmod_func(
1424 globus_ftp_client_plugin_set_chgrp_func(
1429 globus_ftp_client_plugin_set_utime_func(
1434 globus_ftp_client_plugin_set_symlink_func(
1439 globus_ftp_client_plugin_set_cksm_func(
1444 globus_ftp_client_plugin_set_delete_func(
1449 globus_ftp_client_plugin_set_feat_func(
1454 globus_ftp_client_plugin_set_mkdir_func(
1459 globus_ftp_client_plugin_set_rmdir_func(
1464 globus_ftp_client_plugin_set_move_func(
1469 globus_ftp_client_plugin_set_verbose_list_func(
1474 globus_ftp_client_plugin_set_machine_list_func(
1479 globus_ftp_client_plugin_set_recursive_list_func(
1484 globus_ftp_client_plugin_set_list_func(
1489 globus_ftp_client_plugin_set_mlst_func(
1494 globus_ftp_client_plugin_set_stat_func(
1499 globus_ftp_client_plugin_set_get_func(
1504 globus_ftp_client_plugin_set_put_func(
1509 globus_ftp_client_plugin_set_third_party_transfer_func(
1512 third_party_transfer_func);
1515 globus_ftp_client_plugin_set_modification_time_func(
1518 modification_time_func);
1520 globus_ftp_client_plugin_set_size_func(
1525 globus_ftp_client_plugin_set_abort_func(
1530 globus_ftp_client_plugin_set_connect_func(
1535 globus_ftp_client_plugin_set_authenticate_func(
1540 globus_ftp_client_plugin_set_read_func(
1545 globus_ftp_client_plugin_set_write_func(
1550 globus_ftp_client_plugin_set_data_func(
1555 globus_ftp_client_plugin_set_command_func(
1560 globus_ftp_client_plugin_set_response_func(
1565 globus_ftp_client_plugin_set_fault_func(
1570 globus_ftp_client_plugin_set_complete_func(
globus_result_t globus_ftp_client_plugin_restart_delete(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:825
void(* globus_ftp_client_plugin_complete_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle)
Definition: globus_ftp_client_plugin.h:1204
globus_result_t globus_ftp_client_plugin_restart_machine_list(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:225
globus_result_t globus_ftp_client_plugin_restart_get(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart_marker, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:1161
globus_result_t globus_ftp_client_plugin_add_data_channels(globus_ftp_client_handle_t *handle, unsigned int num_channels, unsigned int stripe)
Definition: globus_ftp_client_plugin.c:1608
void(* globus_ftp_client_plugin_command_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const char *command)
Definition: globus_ftp_client_plugin.h:1120
globus_result_t globus_ftp_client_plugin_restart_move(globus_ftp_client_handle_t *handle, const char *source_url, const char *dest_url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:1081
void(* globus_ftp_client_plugin_recursive_list_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:684
void(* globus_ftp_client_plugin_connect_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url)
Definition: globus_ftp_client_plugin.h:174
globus_result_t globus_ftp_client_plugin_restart_recursive_list(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:287
void(* globus_ftp_client_plugin_chmod_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, int mode, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:241
void(* globus_ftp_client_plugin_get_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:829
void(* globus_ftp_client_plugin_machine_list_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:649
globus_ftp_client_plugin_t *(* globus_ftp_client_plugin_copy_t)(globus_ftp_client_plugin_t *plugin_template, void *plugin_specific)
Definition: globus_ftp_client_plugin.h:130
void(* globus_ftp_client_plugin_verbose_list_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:614
globus_result_t globus_ftp_client_plugin_restart_stat(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:411
globus_result_t globus_ftp_client_plugin_restart_chmod(globus_ftp_client_handle_t *handle, const char *url, int mode, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:476
FTP Client handle implementation.
Definition: globus_i_ftp_client.h:522
void(* globus_ftp_client_plugin_list_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:579
void(* globus_ftp_client_plugin_mkdir_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:508
globus_result_t globus_ftp_client_plugin_restart_third_party_transfer(globus_ftp_client_handle_t *handle, const char *source_url, const globus_ftp_client_operationattr_t *source_attr, const char *dest_url, const globus_ftp_client_operationattr_t *dest_attr, globus_ftp_client_restart_marker_t *restart_marker, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:1320
void(* globus_ftp_client_plugin_cksm_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, globus_off_t offset, globus_off_t length, const char *algorithm, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:399
Definition: globus_ftp_client_plugin.h:84
void(* globus_ftp_client_plugin_mlst_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:719
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
void(* globus_ftp_client_plugin_rmdir_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:543
globus_result_t globus_ftp_client_plugin_restart_chgrp(globus_ftp_client_handle_t *handle, const char *url, const char *group, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:541
void(* globus_ftp_client_plugin_chgrp_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const char *group, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:279
globus_result_t globus_ftp_client_plugin_restart_cksm(globus_ftp_client_handle_t *handle, const char *url, globus_off_t offset, globus_off_t length, const char *algorithm, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:760
void(* globus_ftp_client_plugin_put_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:864
void(* globus_ftp_client_plugin_authenticate_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_control_auth_info_t *auth_info)
Definition: globus_ftp_client_plugin.h:205
globus_result_t globus_ftp_client_plugin_restart_symlink(globus_ftp_client_handle_t *handle, const char *url, const char *link_url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:683
The globus_i_ftp_client_operationattr_t is a pointer to this structure type.
Definition: globus_i_ftp_client.h:131
void(* globus_ftp_client_plugin_delete_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:437
globus_result_t globus_ftp_client_plugin_restart_mkdir(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:949
globus_result_t globus_ftp_client_plugin_remove_data_channels(globus_ftp_client_handle_t *handle, unsigned int num_channels, unsigned int stripe)
Definition: globus_ftp_client_plugin.c:1673
void(* globus_ftp_client_plugin_stat_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:755
globus_ftp_client_plugin_command_mask_t
Definition: globus_ftp_client_plugin.h:70
globus_result_t globus_ftp_client_plugin_restart_list(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:100
void(* globus_ftp_client_plugin_read_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const globus_byte_t *buffer, globus_size_t buffer_length)
Definition: globus_ftp_client_plugin.h:1023
globus_result_t globus_ftp_client_plugin_restart_utime(globus_ftp_client_handle_t *handle, const char *url, const struct tm *utime_time, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:612
void(* globus_ftp_client_plugin_fault_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, globus_object_t *error)
Definition: globus_ftp_client_plugin.h:1180
globus_result_t globus_ftp_client_plugin_restart_get_marker(globus_ftp_client_handle_t *handle, globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_plugin.c:1500
void(* globus_ftp_client_plugin_third_party_transfer_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *source_url, const globus_ftp_client_operationattr_t *source_attr, const char *dest_url, const globus_ftp_client_operationattr_t *dest_attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:903
globus_result_t globus_ftp_client_plugin_restart_put(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_ftp_client_restart_marker_t *restart_marker, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:1237
globus_result_t globus_ftp_client_plugin_abort(globus_ftp_client_handle_t *handle)
Definition: globus_ftp_client_plugin.c:1583
Definition: globus_ftp_client_plugin.h:90
void(* globus_ftp_client_plugin_abort_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle)
Definition: globus_ftp_client_plugin.h:999
void(* globus_ftp_client_plugin_symlink_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const char *utime_time, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:355
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
void(* globus_ftp_client_plugin_modification_time_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:940
Definition: globus_ftp_client_plugin.h:87
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_client_plugin_write_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const globus_byte_t *buffer, globus_size_t buffer_length, globus_off_t offset, globus_bool_t eof)
Definition: globus_ftp_client_plugin.h:1054
uint32_t globus_result_t
Definition: globus_types.h:99
globus_result_t globus_ftp_client_plugin_restart_rmdir(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:1011
Definition: globus_ftp_client_plugin.h:75
void(* globus_ftp_client_plugin_feat_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:472
Definition: globus_ftp_client_plugin.h:96
globus_result_t globus_ftp_client_plugin_restart_modification_time(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:1448
Definition: globus_ftp_client_plugin.h:99
void(* globus_ftp_client_plugin_size_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:975
void(* globus_ftp_client_plugin_data_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, globus_object_t *error, const globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof)
Definition: globus_ftp_client_plugin.h:1088
void(* globus_ftp_client_plugin_utime_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, const struct tm *utime_time, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:317
Definition: globus_ftp_client_plugin.h:93
globus_result_t globus_ftp_client_plugin_restart_verbose_list(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:162
globus_result_t globus_ftp_client_plugin_restart_size(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:1389
void(* globus_ftp_client_plugin_response_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *url, globus_object_t *error, const globus_ftp_control_response_t *ftp_response)
Definition: globus_ftp_client_plugin.h:1153
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:798
globus_result_t globus_ftp_client_plugin_restart_mlst(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:349
Restart marker.This structure is may be either a stream mode transfer offset, or an extended block mo...
Definition: globus_ftp_client.h:220
Definition: globus_ftp_client_plugin.h:78
Definition: globus_ftp_client_plugin.h:81
globus_result_t globus_ftp_client_plugin_restart_feat(globus_ftp_client_handle_t *handle, const char *url, const globus_ftp_client_operationattr_t *attr, const globus_abstime_t *when)
Definition: globus_ftp_client_plugin.c:887
Authentication Values.
Definition: globus_ftp_control.h:482
void(* globus_ftp_client_plugin_move_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific, globus_ftp_client_handle_t *handle, const char *source_url, const char *dest_url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:793
void(* globus_ftp_client_plugin_destroy_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific)
Definition: globus_ftp_client_plugin.h:147