GME  13
Public Attributes
svn_ra_plugin_t Struct Reference

#include <svn_ra.h>

Collaboration diagram for svn_ra_plugin_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

const char * name
const char * description
svn_error_t *(* open )(void **session_baton, const char *repos_URL, const svn_ra_callbacks_t *callbacks, void *callback_baton, apr_hash_t *config, apr_pool_t *pool)
svn_error_t *(* get_latest_revnum )(void *session_baton, svn_revnum_t *latest_revnum, apr_pool_t *pool)
svn_error_t *(* get_dated_revision )(void *session_baton, svn_revnum_t *revision, apr_time_t tm, apr_pool_t *pool)
svn_error_t *(* change_rev_prop )(void *session_baton, svn_revnum_t rev, const char *name, const svn_string_t *value, apr_pool_t *pool)
svn_error_t *(* rev_proplist )(void *session_baton, svn_revnum_t rev, apr_hash_t **props, apr_pool_t *pool)
svn_error_t *(* rev_prop )(void *session_baton, svn_revnum_t rev, const char *name, svn_string_t **value, apr_pool_t *pool)
svn_error_t *(* get_commit_editor )(void *session_baton, const svn_delta_editor_t **editor, void **edit_baton, const char *log_msg, svn_commit_callback_t callback, void *callback_baton, apr_pool_t *pool)
svn_error_t *(* get_file )(void *session_baton, const char *path, svn_revnum_t revision, svn_stream_t *stream, svn_revnum_t *fetched_rev, apr_hash_t **props, apr_pool_t *pool)
svn_error_t *(* get_dir )(void *session_baton, const char *path, svn_revnum_t revision, apr_hash_t **dirents, svn_revnum_t *fetched_rev, apr_hash_t **props, apr_pool_t *pool)
svn_error_t *(* do_update )(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision_to_update_to, const char *update_target, svn_boolean_t recurse, const svn_delta_editor_t *update_editor, void *update_baton, apr_pool_t *pool)
svn_error_t *(* do_switch )(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision_to_switch_to, const char *switch_target, svn_boolean_t recurse, const char *switch_url, const svn_delta_editor_t *switch_editor, void *switch_baton, apr_pool_t *pool)
svn_error_t *(* do_status )(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, const char *status_target, svn_revnum_t revision, svn_boolean_t recurse, const svn_delta_editor_t *status_editor, void *status_baton, apr_pool_t *pool)
svn_error_t *(* do_diff )(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision, const char *diff_target, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, const char *versus_url, const svn_delta_editor_t *diff_editor, void *diff_baton, apr_pool_t *pool)
svn_error_t *(* get_log )(void *session_baton, const apr_array_header_t *paths, svn_revnum_t start, svn_revnum_t end, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, void *receiver_baton, apr_pool_t *pool)
svn_error_t *(* check_path )(void *session_baton, const char *path, svn_revnum_t revision, svn_node_kind_t *kind, apr_pool_t *pool)
svn_error_t *(* get_uuid )(void *session_baton, const char **uuid, apr_pool_t *pool)
svn_error_t *(* get_repos_root )(void *session_baton, const char **url, apr_pool_t *pool)
svn_error_t *(* get_locations )(void *session_baton, apr_hash_t **locations, const char *path, svn_revnum_t peg_revision, apr_array_header_t *location_revisions, apr_pool_t *pool)
svn_error_t *(* get_file_revs )(void *session_baton, const char *path, svn_revnum_t start, svn_revnum_t end, svn_ra_file_rev_handler_t handler, void *handler_baton, apr_pool_t *pool)
const svn_version_t *(* get_version )(void)

Detailed Description

Using this callback struct is similar to calling the newer public interface that is based on svn_ra_session_t.

Deprecated:
Provided for backward compatibility with the 1.1 API.

Definition at line 2126 of file svn_ra.h.


Member Data Documentation

svn_error_t*(* svn_ra_plugin_t::change_rev_prop)(void *session_baton, svn_revnum_t rev, const char *name, const svn_string_t *value, apr_pool_t *pool)

Call svn_ra_change_rev_prop() with the session associated with session_baton and all other arguments.

Definition at line 2164 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::check_path)(void *session_baton, const char *path, svn_revnum_t revision, svn_node_kind_t *kind, apr_pool_t *pool)

Call svn_ra_check_path() with the session associated with session_baton and all other arguments.

Definition at line 2292 of file svn_ra.h.

Short doc string printed out by `svn --version`

Definition at line 2132 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::do_diff)(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision, const char *diff_target, svn_boolean_t recurse, svn_boolean_t ignore_ancestry, const char *versus_url, const svn_delta_editor_t *diff_editor, void *diff_baton, apr_pool_t *pool)

Call svn_ra_do_diff() with the session associated with session_baton and all other arguments.

Definition at line 2264 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::do_status)(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, const char *status_target, svn_revnum_t revision, svn_boolean_t recurse, const svn_delta_editor_t *status_editor, void *status_baton, apr_pool_t *pool)

Call svn_ra_do_status() with the session associated with session_baton and all other arguments.

Definition at line 2251 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::do_switch)(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision_to_switch_to, const char *switch_target, svn_boolean_t recurse, const char *switch_url, const svn_delta_editor_t *switch_editor, void *switch_baton, apr_pool_t *pool)

Call svn_ra_do_switch() with the session associated with session_baton and all other arguments.

Definition at line 2237 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::do_update)(void *session_baton, const svn_ra_reporter_t **reporter, void **report_baton, svn_revnum_t revision_to_update_to, const char *update_target, svn_boolean_t recurse, const svn_delta_editor_t *update_editor, void *update_baton, apr_pool_t *pool)

Call svn_ra_do_update() with the session associated with session_baton and all other arguments.

Definition at line 2224 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_commit_editor)(void *session_baton, const svn_delta_editor_t **editor, void **edit_baton, const char *log_msg, svn_commit_callback_t callback, void *callback_baton, apr_pool_t *pool)

Call svn_ra_get_commit_editor() with the session associated with session_baton and all other arguments plus lock_tokens set to NULL and keep_locks set to TRUE.

Definition at line 2191 of file svn_ra.h.

Call svn_ra_get_dated_revision() with the session associated with session_baton and all other arguments.

Definition at line 2156 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_dir)(void *session_baton, const char *path, svn_revnum_t revision, apr_hash_t **dirents, svn_revnum_t *fetched_rev, apr_hash_t **props, apr_pool_t *pool)

Call svn_ra_get_dir() with the session associated with session_baton and all other arguments.

Definition at line 2213 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_file)(void *session_baton, const char *path, svn_revnum_t revision, svn_stream_t *stream, svn_revnum_t *fetched_rev, apr_hash_t **props, apr_pool_t *pool)

Call svn_ra_get_file() with the session associated with session_baton and all other arguments.

Definition at line 2202 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_file_revs)(void *session_baton, const char *path, svn_revnum_t start, svn_revnum_t end, svn_ra_file_rev_handler_t handler, void *handler_baton, apr_pool_t *pool)

Call svn_ra_get_file_revs() with the session associated with session_baton and all other arguments.

Since:
New in 1.1.

Definition at line 2331 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_latest_revnum)(void *session_baton, svn_revnum_t *latest_revnum, apr_pool_t *pool)

Call svn_ra_get_latest_revnum() with the session associated with session_baton and all other arguments.

Definition at line 2149 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_locations)(void *session_baton, apr_hash_t **locations, const char *path, svn_revnum_t peg_revision, apr_array_header_t *location_revisions, apr_pool_t *pool)

Call svn_ra_get_locations() with the session associated with session_baton and all other arguments.

Since:
New in 1.1.

Definition at line 2318 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_log)(void *session_baton, const apr_array_header_t *paths, svn_revnum_t start, svn_revnum_t end, svn_boolean_t discover_changed_paths, svn_boolean_t strict_node_history, svn_log_message_receiver_t receiver, void *receiver_baton, apr_pool_t *pool)

Call svn_ra_get_log() with the session associated with session_baton and all other arguments. limit is set to 0.

Definition at line 2279 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_repos_root)(void *session_baton, const char **url, apr_pool_t *pool)

Call svn_ra_get_repos_root() with the session associated with session_baton and all other arguments.

Definition at line 2308 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::get_uuid)(void *session_baton, const char **uuid, apr_pool_t *pool)

Call svn_ra_get_uuid() with the session associated with session_baton and all other arguments.

Definition at line 2301 of file svn_ra.h.

Return the plugin's version information.

Since:
New in 1.1.

Definition at line 2344 of file svn_ra.h.

const char* svn_ra_plugin_t::name

The proper name of the RA library, (like "ra_serf" or "ra_local")

Definition at line 2129 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::open)(void **session_baton, const char *repos_URL, const svn_ra_callbacks_t *callbacks, void *callback_baton, apr_hash_t *config, apr_pool_t *pool)

Call svn_ra_open() and set session_baton to an object representing the new session. All other arguments are passed to svn_ra_open().

Definition at line 2139 of file svn_ra.h.

svn_error_t*(* svn_ra_plugin_t::rev_prop)(void *session_baton, svn_revnum_t rev, const char *name, svn_string_t **value, apr_pool_t *pool)

Call svn_ra_rev_prop() with the session associated with session_baton and all other arguments.

Definition at line 2181 of file svn_ra.h.

Call svn_ra_rev_proplist() with the session associated with session_baton and all other arguments.

Definition at line 2173 of file svn_ra.h.


The documentation for this struct was generated from the following file: