2 * svn_log.h: Functions for assembling entries for server-side logs.
3 * See also tools/server-side/svn_server_log_parse.py .
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 * ====================================================================
28 #include <apr_pools.h>
29 #include <apr_tables.h>
31 #include "svn_types.h"
32 #include "svn_mergeinfo.h"
36 #endif /* __cplusplus */
39 * Return a log string for a reparent action.
44 svn_log__reparent(const char *path, apr_pool_t *pool);
47 * Return a log string for a change-rev-prop action.
52 svn_log__change_rev_prop(svn_revnum_t rev, const char *name, apr_pool_t *pool);
55 * Return a log string for a rev-proplist action.
60 svn_log__rev_proplist(svn_revnum_t rev, apr_pool_t *pool);
63 * Return a log string for a rev-prop action.
68 svn_log__rev_prop(svn_revnum_t rev, const char *name, apr_pool_t *pool);
71 * Return a log string for a commit action.
76 svn_log__commit(svn_revnum_t rev, apr_pool_t *pool);
79 * Return a log string for a get-file action.
84 svn_log__get_file(const char *path, svn_revnum_t rev,
85 svn_boolean_t want_contents, svn_boolean_t want_props,
89 * Return a log string for a get-dir action.
94 svn_log__get_dir(const char *path, svn_revnum_t rev,
95 svn_boolean_t want_contents, svn_boolean_t want_props,
96 apr_uint64_t dirent_fields,
100 * Return a log string for a get-mergeinfo action.
105 svn_log__get_mergeinfo(const apr_array_header_t *paths,
106 svn_mergeinfo_inheritance_t inherit,
107 svn_boolean_t include_descendants,
111 * Return a log string for a checkout action.
116 svn_log__checkout(const char *path, svn_revnum_t rev, svn_depth_t depth,
120 * Return a log string for an update action.
125 svn_log__update(const char *path, svn_revnum_t rev, svn_depth_t depth,
126 svn_boolean_t send_copyfrom_args,
130 * Return a log string for a switch action.
135 svn_log__switch(const char *path, const char *dst_path, svn_revnum_t revnum,
136 svn_depth_t depth, apr_pool_t *pool);
139 * Return a log string for a status action.
144 svn_log__status(const char *path, svn_revnum_t rev, svn_depth_t depth,
148 * Return a log string for a diff action.
153 svn_log__diff(const char *path, svn_revnum_t from_revnum,
154 const char *dst_path, svn_revnum_t revnum,
155 svn_depth_t depth, svn_boolean_t ignore_ancestry,
159 * Return a log string for a log action.
164 svn_log__log(const apr_array_header_t *paths,
165 svn_revnum_t start, svn_revnum_t end,
166 int limit, svn_boolean_t discover_changed_paths,
167 svn_boolean_t strict_node_history,
168 svn_boolean_t include_merged_revisions,
169 const apr_array_header_t *revprops, apr_pool_t *pool);
172 * Return a log string for a get-locations action.
177 svn_log__get_locations(const char *path, svn_revnum_t peg_revision,
178 const apr_array_header_t *location_revisions,
182 * Return a log string for a get-location-segments action.
187 svn_log__get_location_segments(const char *path, svn_revnum_t peg_revision,
188 svn_revnum_t start, svn_revnum_t end,
192 * Return a log string for a get-file-revs action.
197 svn_log__get_file_revs(const char *path, svn_revnum_t start, svn_revnum_t end,
198 svn_boolean_t include_merged_revisions,
202 * Return a log string for a lock action.
207 svn_log__lock(const apr_array_header_t *paths, svn_boolean_t steal,
211 * Return a log string for an unlock action.
216 svn_log__unlock(const apr_array_header_t *paths, svn_boolean_t break_lock,
220 * Return a log string for a lock action on only one path; this is
221 * just a convenience wrapper around svn_log__lock().
226 svn_log__lock_one_path(const char *path, svn_boolean_t steal,
230 * Return a log string for an unlock action on only one path; this is
231 * just a convenience wrapper around svn_log__unlock().
236 svn_log__unlock_one_path(const char *path, svn_boolean_t break_lock,
240 * Return a log string for a replay action.
245 svn_log__replay(const char *path, svn_revnum_t rev, apr_pool_t *pool);
248 * Return a log string for a get-inherited-props action.
253 svn_log__get_inherited_props(const char *path,
258 #endif /* __cplusplus */
260 #endif /* SVN_LOG_H */