30 #include <apr_pools.h>
32 #include <apr_tables.h>
52 void **callback2_baton,
85 apr_hash_t *revprops);
94 const char **message, apr_hash_t *revprops);
107 void **receiver2_baton,
109 void *receiver_baton,
Counted-length strings for Subversion, plus some C string goodies.
void svn_compat_log_revprops_out_string(const svn_string_t **author, const svn_string_t **date, const svn_string_t **message, apr_hash_t *revprops)
Return, in **author, **date, and **message, the values of the svn:author, svn:date, and svn:log revprops from revprops.
void svn_compat_log_revprops_clear(apr_hash_t *revprops)
Clear svn:author, svn:date, and svn:log from revprops if not NULL.
void svn_compat_wrap_commit_callback(svn_commit_callback2_t *callback2, void **callback2_baton, svn_commit_callback_t callback, void *callback_baton, apr_pool_t *pool)
Return, in *callback2 and *callback2_baton a function/baton that will call callback/callback_baton, allocating the *callback2_baton in pool.
apr_array_header_t * svn_compat_log_revprops_in(apr_pool_t *pool)
Return a list to pass to post-1.5 log-retrieval functions in order to retrieve the pre-1...
Subversion's data types.
void svn_compat_wrap_log_receiver(svn_log_entry_receiver_t *receiver2, void **receiver2_baton, svn_log_message_receiver_t receiver, void *receiver_baton, apr_pool_t *pool)
Return, in *receiver2 and *receiver2_baton a function/baton that will call receiver/receiver_baton, allocating the *receiver2_baton in pool.
svn_error_t *(* svn_log_message_receiver_t)(void *baton, apr_hash_t *changed_paths, svn_revnum_t revision, const char *author, const char *date, const char *message, apr_pool_t *pool)
Similar to svn_log_entry_receiver_t, except this uses separate parameters for each part of the log en...
void svn_compat_log_revprops_out(const char **author, const char **date, const char **message, apr_hash_t *revprops)
Simiar to svn_compat_log_revprops_out_string() but returns C-style strings instead of svn_string_t...
svn_error_t *(* svn_log_entry_receiver_t)(void *baton, svn_log_entry_t *log_entry, apr_pool_t *pool)
The callback invoked by log message loopers, such as svn_ra_plugin_t.get_log() and svn_repos_get_logs...
svn_error_t *(* svn_commit_callback_t)(svn_revnum_t new_revision, const char *date, const char *author, void *baton)
Same as svn_commit_callback2_t, but uses individual data elements instead of the svn_commit_info_t st...
svn_error_t *(* svn_commit_callback2_t)(const svn_commit_info_t *commit_info, void *baton, apr_pool_t *pool)
Callback function type for commits.