17 #ifndef GLOBUS_FTP_CLIENT_PLUGIN_H
18 #define GLOBUS_FTP_CLIENT_PLUGIN_H
73 GLOBUS_FTP_CLIENT_CMD_MASK_NONE = 0,
133 void * plugin_specific);
150 void * plugin_specific);
179 void * plugin_specific,
210 void * plugin_specific,
246 void * plugin_specific,
284 void * plugin_specific,
322 void * plugin_specific,
325 const struct tm * utime_time,
360 void * plugin_specific,
363 const char * link_url,
404 void * plugin_specific,
409 const char * algorithm,
442 void * plugin_specific,
477 void * plugin_specific,
513 void * plugin_specific,
548 void * plugin_specific,
584 void * plugin_specific,
619 void * plugin_specific,
654 void * plugin_specific,
689 void * plugin_specific,
724 void * plugin_specific,
760 void * plugin_specific,
798 void * plugin_specific,
800 const char * source_url,
801 const char * dest_url,
834 void * plugin_specific,
869 void * plugin_specific,
908 void * plugin_specific,
910 const char * source_url,
912 const char * dest_url,
945 void * plugin_specific,
980 void * plugin_specific,
1004 void * plugin_specific,
1028 void * plugin_specific,
1059 void * plugin_specific,
1063 globus_off_t offset,
1096 void * plugin_specific,
1098 globus_object_t * error,
1101 globus_off_t offset,
1128 void * plugin_specific,
1131 const char * command);
1161 void * plugin_specific,
1164 globus_object_t * error,
1165 const globus_ftp_control_response_t * ftp_response);
1188 void * plugin_specific,
1191 globus_object_t * error);
1212 void * plugin_specific,
1222 const globus_abstime_t * when);
1229 const globus_abstime_t * when);
1236 const globus_abstime_t * when);
1243 const globus_abstime_t * when);
1250 const globus_abstime_t * when);
1257 const globus_abstime_t * when);
1264 const globus_abstime_t * when);
1272 const globus_abstime_t * when);
1280 const globus_abstime_t * when);
1286 const struct tm * utime_time,
1288 const globus_abstime_t * when);
1294 const char * link_url,
1296 const globus_abstime_t * when);
1302 globus_off_t offset,
1303 globus_off_t length,
1304 const char * algorithm,
1306 const globus_abstime_t * when);
1313 const globus_abstime_t * when);
1320 const globus_abstime_t * when);
1327 const globus_abstime_t * when);
1332 const char * source_url,
1333 const char * dest_url,
1335 const globus_abstime_t * when);
1343 const globus_abstime_t * when);
1351 const globus_abstime_t * when);
1356 const char * source_url,
1358 const char * dest_url,
1361 const globus_abstime_t * when);
1368 const globus_abstime_t * when);
1375 const globus_abstime_t * when);
1389 unsigned int num_channels,
1390 unsigned int stripe);
1395 unsigned int num_channels,
1396 unsigned int stripe);
1399 globus_ftp_client_plugin_init(
1401 const char * plugin_name,
1403 void * plugin_specific);
1406 globus_ftp_client_plugin_destroy(
1410 globus_ftp_client_plugin_get_plugin_specific(
1412 void ** plugin_specific);
1415 globus_ftp_client_plugin_set_copy_func(
1420 globus_ftp_client_plugin_set_destroy_func(
1425 globus_ftp_client_plugin_set_chmod_func(
1430 globus_ftp_client_plugin_set_chgrp_func(
1435 globus_ftp_client_plugin_set_utime_func(
1440 globus_ftp_client_plugin_set_symlink_func(
1445 globus_ftp_client_plugin_set_cksm_func(
1450 globus_ftp_client_plugin_set_delete_func(
1455 globus_ftp_client_plugin_set_feat_func(
1460 globus_ftp_client_plugin_set_mkdir_func(
1465 globus_ftp_client_plugin_set_rmdir_func(
1470 globus_ftp_client_plugin_set_move_func(
1475 globus_ftp_client_plugin_set_verbose_list_func(
1480 globus_ftp_client_plugin_set_machine_list_func(
1485 globus_ftp_client_plugin_set_recursive_list_func(
1490 globus_ftp_client_plugin_set_list_func(
1495 globus_ftp_client_plugin_set_mlst_func(
1500 globus_ftp_client_plugin_set_stat_func(
1505 globus_ftp_client_plugin_set_get_func(
1510 globus_ftp_client_plugin_set_put_func(
1515 globus_ftp_client_plugin_set_third_party_transfer_func(
1518 third_party_transfer_func);
1521 globus_ftp_client_plugin_set_modification_time_func(
1524 modification_time_func);
1526 globus_ftp_client_plugin_set_size_func(
1531 globus_ftp_client_plugin_set_abort_func(
1536 globus_ftp_client_plugin_set_connect_func(
1541 globus_ftp_client_plugin_set_authenticate_func(
1546 globus_ftp_client_plugin_set_read_func(
1551 globus_ftp_client_plugin_set_write_func(
1556 globus_ftp_client_plugin_set_data_func(
1561 globus_ftp_client_plugin_set_command_func(
1566 globus_ftp_client_plugin_set_response_func(
1571 globus_ftp_client_plugin_set_fault_func(
1576 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_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:1057
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:1026
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
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
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:244
void(* globus_ftp_client_plugin_destroy_t)(globus_ftp_client_plugin_t *plugin, void *plugin_specific)
Definition: globus_ftp_client_plugin.h:148
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:832
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:1159
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:131
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_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:320
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_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:687
Definition: globus_ftp_client_plugin.h:85
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:1002
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
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:282
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:475
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:617
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:943
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
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:867
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
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:796
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_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:402
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_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:906
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:652
globus_ftp_client_plugin_command_mask_t
Definition: globus_ftp_client_plugin.h:71
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
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
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
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:91
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:1094
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:1126
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:1210
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
Definition: globus_ftp_client_plugin.h:88
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_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:440
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:722
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:546
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:76
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 *link_url, const globus_ftp_client_operationattr_t *attr, globus_bool_t restart)
Definition: globus_ftp_client_plugin.h:358
Definition: globus_ftp_client_plugin.h:97
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:100
Definition: globus_ftp_client_plugin.h:94
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:978
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_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:758
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:798
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:177
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:224
Definition: globus_ftp_client_plugin.h:79
Definition: globus_ftp_client_plugin.h:82
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:483
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:208
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:511
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:582
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:1186