2
* svn_server.h : declarations for the svn server
4
* ====================================================================
5
* Copyright (c) 2000-2004 CollabNet. All rights reserved.
7
* This software is licensed as described in the file COPYING, which
8
* you should have received as part of this distribution. The terms
9
* are also available at http://subversion.tigris.org/license-1.html.
10
* If newer versions of this license are posted there, you may use a
11
* newer version instead, at your option.
13
* This software consists of voluntary contributions made by many
14
* individuals. For exact contribution history, see the revision
15
* history and logs, available at http://subversion.tigris.org/.
16
* ====================================================================
24
#include <apr_network_io.h>
28
#endif /* __cplusplus */
30
typedef struct serve_params_t {
31
/* The virtual root of the repositories to serve. The client URL
32
path is interpreted relative to this root and is not allowed to
36
/* True if the connection is tunneled over an ssh-like transport,
37
such that the client may use EXTERNAL to authenticate as the
38
current uid's username. */
41
/* If tunnel is true, overrides the current uid's username as the
42
identity EXTERNAL authenticates as. */
43
const char *tunnel_user;
45
/* True if the deprecated read-only flag was specified on the
46
command-line, which forces all connections to be read-only. */
47
svn_boolean_t read_only;
50
/* Serve the connection CONN according to the parameters PARAMS. */
51
svn_error_t *serve(svn_ra_svn_conn_t *conn, serve_params_t *params,
56
#endif /* __cplusplus */