diff options
Diffstat (limited to 'subversion/include/private/svn_delta_private.h')
-rw-r--r-- | subversion/include/private/svn_delta_private.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/subversion/include/private/svn_delta_private.h b/subversion/include/private/svn_delta_private.h index 260327c43c695..fbf66e1be7b76 100644 --- a/subversion/include/private/svn_delta_private.h +++ b/subversion/include/private/svn_delta_private.h @@ -108,6 +108,25 @@ svn_txdelta__read_raw_window_len(apr_size_t *window_len, svn_stream_t *stream, apr_pool_t *pool); +/* Return a debug editor that wraps @a wrapped_editor. + * + * The debug editor simply prints an indication of what callbacks are being + * called to @c stdout, and is only intended for use in debugging subversion + * editors. + * + * @a prefix, if non-null, is printed between "DBG: " and each indication. + * + * Note: Our test suite generally ignores stdout lines starting with "DBG:". + */ +svn_error_t * +svn_delta__get_debug_editor(const svn_delta_editor_t **editor, + void **edit_baton, + const svn_delta_editor_t *wrapped_editor, + void *wrapped_baton, + const char *prefix, + apr_pool_t *pool); + + #ifdef __cplusplus } #endif /* __cplusplus */ |