Go to the source code of this file.
Functions | |
static void | exists_cb (void *myargs, globus_ftp_client_handle_t *handle, globus_object_t *error) |
static void | touch_ctl_cb (void *myargs, globus_ftp_client_handle_t *handle, globus_object_t *error) |
static void | touch_data_cb (void *myargs, 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) |
void | ADIOI_GRIDFTP_Open (ADIO_File fd, int *error_code) |
Variables | |
static globus_mutex_t | lock |
static globus_cond_t | cond |
static globus_bool_t | file_exists |
static globus_bool_t | exists_done |
static globus_bool_t | touch_ctl_done |
static void exists_cb | ( | void * | myargs, | |
globus_ftp_client_handle_t * | handle, | |||
globus_object_t * | error | |||
) | [static] |
Definition at line 14 of file ad_gridftp_open.c.
References exists_done, and file_exists.
Referenced by ADIOI_GRIDFTP_Open().
static void touch_ctl_cb | ( | void * | myargs, | |
globus_ftp_client_handle_t * | handle, | |||
globus_object_t * | error | |||
) | [static] |
Definition at line 28 of file ad_gridftp_open.c.
References cond, lock, and touch_ctl_done.
Referenced by ADIOI_GRIDFTP_Open().
static void touch_data_cb | ( | void * | myargs, | |
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 | |||
) | [static] |
Definition at line 40 of file ad_gridftp_open.c.
Referenced by ADIOI_GRIDFTP_Open().
Definition at line 50 of file ad_gridftp_open.c.
References ADIOI_FileD::access_mode, ADIOI_FileD::comm, cond, exists_cb(), exists_done, ADIOI_FileD::fd_sys, file_exists, ADIOI_FileD::filename, globus_err_handler(), gridftp_fh, ADIOI_FileD::info, lock, MPI_Barrier, MPI_Bcast, MPI_Comm_rank, MPIO_Err_create_code(), myname, num_gridftp_handles, oattr, ADIOI_FileD::shared_fp_fname, touch_ctl_cb(), touch_ctl_done, and touch_data_cb().
globus_mutex_t lock [static] |
Definition at line 10 of file ad_gridftp_open.c.
globus_cond_t cond [static] |
Definition at line 11 of file ad_gridftp_open.c.
globus_bool_t file_exists [static] |
Definition at line 13 of file ad_gridftp_open.c.
Referenced by ADIOI_GRIDFTP_Open(), and exists_cb().
globus_bool_t exists_done [static] |
Definition at line 13 of file ad_gridftp_open.c.
Referenced by ADIOI_GRIDFTP_Open(), and exists_cb().
globus_bool_t touch_ctl_done [static] |
Definition at line 27 of file ad_gridftp_open.c.
Referenced by ADIOI_GRIDFTP_Open(), and touch_ctl_cb().