2 * conflicts.h: Conflicts handling
4 * ====================================================================
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied. See the License for the
19 * specific language governing permissions and limitations
21 * ====================================================================
26 #ifndef SVN_CONFLICTS_H
27 #define SVN_CONFLICTS_H
30 #include <apr_pools.h>
32 #include "svn_types.h"
33 #include "svn_string.h"
38 #endif /* __cplusplus */
43 * Return in @a desc a possibly localized human readable
44 * description of a property conflict described by @a conflict.
46 * Allocate the result in @a pool.
49 svn_cl__get_human_readable_prop_conflict_description(
51 const svn_wc_conflict_description2_t *conflict,
55 * Return in @a desc a possibly localized human readable
56 * description of a tree conflict described by @a conflict.
58 * Allocate the result in @a pool.
61 svn_cl__get_human_readable_tree_conflict_description(
63 const svn_wc_conflict_description2_t *conflict,
66 /* Like svn_cl__get_human_readable_tree_conflict_description but
67 for other conflict types */
69 svn_cl__get_human_readable_action_description(
71 svn_wc_conflict_action_t action,
72 svn_wc_operation_t operation,
77 * Append to @a str an XML representation of the conflict data
78 * for @a conflict, in a format suitable for 'svn info --xml'.
81 svn_cl__append_conflict_info_xml(
83 const svn_wc_conflict_description2_t *conflict,
88 #endif /* __cplusplus */
90 #endif /* SVN_CONFLICTS_H */