Module descriptor. Globus GASS Copy uses standard Globus module activation and deactivation. Before any Globus GASS Copy functions are called, the following function must be called:
This function returns GLOBUS_SUCCESS if Globus GASS Copy was successfully initialized, and you are therefore allowed to subsequently call Globus GASS Copy functions. Otherwise, an error code is returned, and Globus GASS Copy functions should not be subsequently called. This function may be called multiple times.
To deactivate Globus GASS Copy, the following function must be called:
This function should be called once for each time Globus GASS Copy was activated.
Gass copy transfer performance callback. This callback is registered with 'globus_gass_copy_register_performance_cb' It will be called during a transfer to supply performance information on current transfer. Its frequency will be at most one per second, but it is possible to receive no callbacks. This is possible in very short transfers and in ftp transfers in which the server does not provide performance information.
handle the gass copy handle this transfer is occurring on
user_arg a user pointer registered with 'globus_gass_copy_register_performance_cb'
total_bytes the total number of bytes transfer so far
instantaneous_throughput instantaneous rate of transfer (since last callback or start) (bytes / sec)
avg_throughput the avg thoughput calculated since the start of the transfer (bytes / sec)
Gass copy glob entry callback. This callback is passed as a parameter to globus_gass_copy_glob_expand_url(). It is called once for each entry that the original expands to.
url The full url to the expanded entry. A directory entry will end in a forward slash '/'.
stat A pointer to a globus_gass_copy_glob_stat_t containing information about the entry.
user_arg The user_arg passed to globus_gass_copy_glob_expand()
Expand globbed url. This function expands wildcards in a globbed url, and calls entry_cb() on each one.
handle A gass copy handle to use for the operation.
url The URL to expand. The URL may be an ftp, gsiftp or file URL. Wildcard characters supported are '?' '*' '[ ]' in the filename portion of the url.
attr Gass copy attributes for this operation.
entry_cb Function to call with information about each entry
user_arg An argument to pass to entry_cb()
This function returns an error when any of these conditions are true:
handle is GLOBUS_NULL
url is GLOBUS_NULL
url cannot be parsed
url is not a ftp, gsiftp or file url
References globus_gass_copy_glob_expand_url(), GLOBUS_GASS_COPY_MODULE, globus_gass_copy_glob_stat_t::mdtm, globus_gass_copy_glob_stat_t::mode, globus_gass_copy_glob_stat_t::size, globus_gass_copy_glob_stat_t::symlink_target, globus_gass_copy_glob_stat_t::type, and globus_gass_copy_glob_stat_t::unique_id.