]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/subversion/subversion/libsvn_delta/deprecated.c
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / subversion / subversion / libsvn_delta / deprecated.c
1 /*
2  * deprecated.c:  holding file for all deprecated APIs.
3  *                "we can't lose 'em, but we can shun 'em!"
4  *
5  * ====================================================================
6  *    Licensed to the Apache Software Foundation (ASF) under one
7  *    or more contributor license agreements.  See the NOTICE file
8  *    distributed with this work for additional information
9  *    regarding copyright ownership.  The ASF licenses this file
10  *    to you under the Apache License, Version 2.0 (the
11  *    "License"); you may not use this file except in compliance
12  *    with the License.  You may obtain a copy of the License at
13  *
14  *      http://www.apache.org/licenses/LICENSE-2.0
15  *
16  *    Unless required by applicable law or agreed to in writing,
17  *    software distributed under the License is distributed on an
18  *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19  *    KIND, either express or implied.  See the License for the
20  *    specific language governing permissions and limitations
21  *    under the License.
22  * ====================================================================
23  */
24
25 /* We define this here to remove any further warnings about the usage of
26    deprecated functions in this file. */
27 #define SVN_DEPRECATED
28
29 #include "svn_delta.h"
30 #include "svn_sorts.h"
31
32
33 svn_error_t *
34 svn_delta_path_driver(const svn_delta_editor_t *editor,
35                       void *edit_baton,
36                       svn_revnum_t revision,
37                       const apr_array_header_t *paths,
38                       svn_delta_path_driver_cb_func_t callback_func,
39                       void *callback_baton,
40                       apr_pool_t *scratch_pool)
41 {
42   /* REVISION is dropped on the floor.  */
43
44   return svn_error_trace(svn_delta_path_driver2(editor, edit_baton, paths,
45                                                 TRUE,
46                                                 callback_func, callback_baton,
47                                                 scratch_pool));
48 }