~svn/ubuntu/raring/subversion/ppa

« back to all changes in this revision

Viewing changes to subversion/svnserve/server.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:26:14 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205012614-qom4xfypgtsqc2xq
Tags: 1.2.3dfsg1-3ubuntu1
Merge with the final Debian release of 1.2.3dfsg1-3, bringing in
fixes to the clean target, better documentation of the libdb4.3
upgrade and build fixes to work with swig1.3_1.3.27.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * svn_server.h :  declarations for the svn server
 
3
 *
 
4
 * ====================================================================
 
5
 * Copyright (c) 2000-2004 CollabNet.  All rights reserved.
 
6
 *
 
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.
 
12
 *
 
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
 * ====================================================================
 
17
 */
 
18
 
 
19
 
 
20
 
 
21
#ifndef SERVER_H
 
22
#define SERVER_H
 
23
 
 
24
#include <apr_network_io.h>
 
25
 
 
26
#ifdef __cplusplus
 
27
extern "C" {
 
28
#endif /* __cplusplus */
 
29
 
 
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
 
33
     escape it. */
 
34
  const char *root;
 
35
 
 
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. */
 
39
  svn_boolean_t tunnel;
 
40
 
 
41
  /* If tunnel is true, overrides the current uid's username as the
 
42
     identity EXTERNAL authenticates as. */
 
43
  const char *tunnel_user;
 
44
 
 
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;
 
48
} serve_params_t;
 
49
 
 
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,
 
52
                   apr_pool_t *pool);
 
53
 
 
54
#ifdef __cplusplus
 
55
}
 
56
#endif /* __cplusplus */
 
57
 
 
58
#endif  /* SERVER_H */