1251881Speter/*
2251881Speter * ====================================================================
3251881Speter *    Licensed to the Apache Software Foundation (ASF) under one
4251881Speter *    or more contributor license agreements.  See the NOTICE file
5251881Speter *    distributed with this work for additional information
6251881Speter *    regarding copyright ownership.  The ASF licenses this file
7251881Speter *    to you under the Apache License, Version 2.0 (the
8251881Speter *    "License"); you may not use this file except in compliance
9251881Speter *    with the License.  You may obtain a copy of the License at
10251881Speter *
11251881Speter *      http://www.apache.org/licenses/LICENSE-2.0
12251881Speter *
13251881Speter *    Unless required by applicable law or agreed to in writing,
14251881Speter *    software distributed under the License is distributed on an
15251881Speter *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16251881Speter *    KIND, either express or implied.  See the License for the
17251881Speter *    specific language governing permissions and limitations
18251881Speter *    under the License.
19251881Speter * ====================================================================
20251881Speter */
21251881Speter
22251881Speter
23251881Speter#ifndef SVN_DEBUG_EDITOR_H
24251881Speter#define SVN_DEBUG_EDITOR_H
25251881Speter
26251881Speter#include "svn_delta.h"
27251881Speter
28251881Speter#ifdef __cplusplus
29251881Speterextern "C" {
30251881Speter#endif /* __cplusplus */
31251881Speter
32251881Speter/* Return a debug editor that wraps @a wrapped_editor.
33251881Speter *
34251881Speter * The debug editor simply prints an indication of what callbacks are being
35251881Speter * called to @c stderr, and is only intended for use in debugging subversion
36251881Speter * editors.
37251881Speter */
38251881Spetersvn_error_t *
39251881Spetersvn_delta__get_debug_editor(const svn_delta_editor_t **editor,
40251881Speter                            void **edit_baton,
41251881Speter                            const svn_delta_editor_t *wrapped_editor,
42251881Speter                            void *wrapped_baton,
43251881Speter                            apr_pool_t *pool);
44251881Speter
45251881Speter#ifdef __cplusplus
46251881Speter}
47251881Speter#endif /* __cplusplus */
48251881Speter
49251881Speter#endif /* SVN_DEBUG_EDITOR_H */
50