aboutsummaryrefslogtreecommitdiffstats
path: root/subversion/svnserve/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/svnserve/logger.h')
-rw-r--r--subversion/svnserve/logger.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/subversion/svnserve/logger.h b/subversion/svnserve/logger.h
index aac804b310f6..d8099e74a137 100644
--- a/subversion/svnserve/logger.h
+++ b/subversion/svnserve/logger.h
@@ -64,14 +64,21 @@ logger__write(logger_t *logger,
/* Write a description of ERR with additional information from REPOSITORY
* and CLIENT_INFO to the log file managed by LOGGER. REPOSITORY as well
* as CLIENT_INFO may be NULL. If either ERR or LOGGER are NULL, this
- * becomes a no-op.
+ * becomes a no-op. Does not clear ERR.
*/
void
logger__log_error(logger_t *logger,
- svn_error_t *err,
+ const svn_error_t *err,
repository_t *repository,
client_info_t *client_info);
+/* Like logger__log_error() but for warnings. */
+void
+logger__log_warning(logger_t *logger,
+ const svn_error_t *err,
+ repository_t *repository,
+ client_info_t *client_info);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */