globus_ftp_client_restart_marker_plugin.h
Go to the documentation of this file.
/*
* Copyright 1999-2006 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_H
#define GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_H
#include "globus_ftp_client.h"
#include "globus_ftp_client_plugin.h"
#ifdef __cplusplus
extern "C" {
#endif
#define GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_MODULE (&globus_i_ftp_client_restart_marker_plugin_module)
extern
globus_module_descriptor_t globus_i_ftp_client_restart_marker_plugin_module;
typedef globus_bool_t
(*globus_ftp_client_restart_marker_plugin_begin_cb_t)(
void * user_arg,
globus_ftp_client_handle_t * handle,
const char * source_url,
const char * dest_url,
globus_ftp_client_restart_marker_t * user_saved_marker);
typedef void (*globus_ftp_client_restart_marker_plugin_marker_cb_t)(
void * user_arg,
globus_ftp_client_handle_t * handle,
globus_ftp_client_restart_marker_t * marker);
typedef void (*globus_ftp_client_restart_marker_plugin_complete_cb_t)(
void * user_arg,
globus_ftp_client_handle_t * handle,
globus_object_t * error,
const char * error_url);
globus_result_t
globus_ftp_client_restart_marker_plugin_init(
globus_ftp_client_plugin_t * plugin,
globus_ftp_client_restart_marker_plugin_begin_cb_t begin_cb,
globus_ftp_client_restart_marker_plugin_marker_cb_t marker_cb,
globus_ftp_client_restart_marker_plugin_complete_cb_t complete_cb,
void * user_arg);
globus_result_t
globus_ftp_client_restart_marker_plugin_destroy(
globus_ftp_client_plugin_t * plugin);
#ifdef __cplusplus
}
#endif
#endif /* GLOBUS_FTP_CLIENT_RESTART_MARKER_PLUGIN_H */
globus_i_ftp_client_handle_t
FTP Client handle implementation.
Definition: globus_i_ftp_client.h:522
globus_ftp_client_restart_marker_plugin_marker_cb_t
void(* globus_ftp_client_restart_marker_plugin_marker_cb_t)(void *user_arg, globus_ftp_client_handle_t *handle, globus_ftp_client_restart_marker_t *marker)
Definition: globus_ftp_client_restart_marker_plugin.h:133
globus_ftp_client_restart_marker_plugin_destroy
globus_result_t globus_ftp_client_restart_marker_plugin_destroy(globus_ftp_client_plugin_t *plugin)
Definition: globus_ftp_client_restart_marker_plugin.c:701
globus_ftp_client_restart_marker_plugin_begin_cb_t
globus_bool_t(* globus_ftp_client_restart_marker_plugin_begin_cb_t)(void *user_arg, globus_ftp_client_handle_t *handle, const char *source_url, const char *dest_url, globus_ftp_client_restart_marker_t *user_saved_marker)
Transfer begin callback.
Definition: globus_ftp_client_restart_marker_plugin.h:93
globus_ftp_client.h
GridFTP Client.
globus_ftp_client_restart_marker_plugin_complete_cb_t
void(* globus_ftp_client_restart_marker_plugin_complete_cb_t)(void *user_arg, globus_ftp_client_handle_t *handle, globus_object_t *error, const char *error_url)
Definition: globus_ftp_client_restart_marker_plugin.h:161
globus_ftp_client_plugin.h
Plugin Implementation.
globus_i_ftp_client_plugin_t
FTP Client Plugin.Each plugin implementation should define a method for initializing one of these str...
Definition: globus_i_ftp_client.h:798
globus_ftp_client_restart_marker_plugin_init
globus_result_t globus_ftp_client_restart_marker_plugin_init(globus_ftp_client_plugin_t *plugin, globus_ftp_client_restart_marker_plugin_begin_cb_t begin_cb, globus_ftp_client_restart_marker_plugin_marker_cb_t marker_cb, globus_ftp_client_restart_marker_plugin_complete_cb_t complete_cb, void *user_arg)
Definition: globus_ftp_client_restart_marker_plugin.c:601
globus_ftp_client_restart_marker_t
Restart marker.This structure is may be either a stream mode transfer offset, or an extended block mo...
Definition: globus_ftp_client.h:220