diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 | 
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 | 
| commit | 3faf8d6bffc5d0fb2525ba37bb504c53366caf9d (patch) | |
| tree | 7e47911263e75034b767fe34b2f8d3d17e91f66d /subversion/include/private/svn_delta_private.h | |
| parent | a55fb3c0d5eca7d887798125d5b95942b1f01d4b (diff) | |
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 260327c43c69..fbf66e1be7b7 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 */ | 
