Subversion
|
A collection of callbacks implemented by libsvn_client which allows an RA layer to "pull" information from the client application, or possibly store information. More...
#include <svn_ra.h>
Data Fields | |
svn_error_t *(* | open_tmp_file )(apr_file_t **fp, void *callback_baton, apr_pool_t *pool) |
Open a unique temporary file for writing in the working copy. More... | |
svn_auth_baton_t * | auth_baton |
An authentication baton, created by the application, which is capable of retrieving all known types of credentials. | |
svn_ra_get_wc_prop_func_t | get_wc_prop |
Fetch working copy properties. More... | |
svn_ra_set_wc_prop_func_t | set_wc_prop |
Immediately set new values for working copy properties. More... | |
svn_ra_push_wc_prop_func_t | push_wc_prop |
Schedule new values for working copy properties. More... | |
svn_ra_invalidate_wc_props_func_t | invalidate_wc_props |
Invalidate working copy properties. More... | |
svn_ra_progress_notify_func_t | progress_func |
Notification callback used for progress information. More... | |
void * | progress_baton |
Notification callback baton, used with progress_func. More... | |
svn_cancel_func_t | cancel_func |
Cancellation function. More... | |
svn_ra_get_client_string_func_t | get_client_string |
Client string customization callback function. More... | |
svn_ra_get_wc_contents_func_t | get_wc_contents |
Working copy file content fetching function. More... | |
svn_ra_check_tunnel_func_t | check_tunnel_func |
Check-tunnel callback. More... | |
svn_ra_open_tunnel_func_t | open_tunnel_func |
Open-tunnel callback. More... | |
void * | tunnel_baton |
A baton used with open_tunnel_func and close_tunnel_func. More... | |
A collection of callbacks implemented by libsvn_client which allows an RA layer to "pull" information from the client application, or possibly store information.
libsvn_client passes this vtable to svn_ra_open4().
Each routine takes a callback_baton originally provided with the vtable.
Clients must use svn_ra_create_callbacks() to allocate and initialize this structure.
svn_cancel_func_t svn_ra_callbacks2_t::cancel_func |
svn_ra_check_tunnel_func_t svn_ra_callbacks2_t::check_tunnel_func |
Check-tunnel callback.
If not NULL
, and open_tunnel_func is also not NULL
, this callback will be invoked to check if open_tunnel_func should be used to create a specific tunnel, or if the default tunnel implementation (either built-in or configured in the client configuration file) should be used instead.
svn_ra_get_client_string_func_t svn_ra_callbacks2_t::get_client_string |
svn_ra_get_wc_contents_func_t svn_ra_callbacks2_t::get_wc_contents |
svn_ra_get_wc_prop_func_t svn_ra_callbacks2_t::get_wc_prop |
svn_ra_invalidate_wc_props_func_t svn_ra_callbacks2_t::invalidate_wc_props |
svn_error_t*(* svn_ra_callbacks2_t::open_tmp_file)(apr_file_t **fp, void *callback_baton, apr_pool_t *pool) |
Open a unique temporary file for writing in the working copy.
This file will be automatically deleted when fp is closed.
svn_ra_open_tunnel_func_t svn_ra_callbacks2_t::open_tunnel_func |
Open-tunnel callback.
If not NULL
, this callback will be invoked to create a tunnel for a ra_svn connection that needs one, overriding any tunnel definitions in the client config file. This callback is used only for ra_svn and ignored by the other RA modules.
void* svn_ra_callbacks2_t::progress_baton |
svn_ra_progress_notify_func_t svn_ra_callbacks2_t::progress_func |
svn_ra_push_wc_prop_func_t svn_ra_callbacks2_t::push_wc_prop |
svn_ra_set_wc_prop_func_t svn_ra_callbacks2_t::set_wc_prop |
void* svn_ra_callbacks2_t::tunnel_baton |