server.h (302408) | server.h (362181) |
---|---|
1/* 2 * svn_server.h : declarations for the svn server 3 * 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 --- 51 unchanged lines hidden (view full) --- 60 const char *hooks_env; /* Path to the hooks environment file or NULL */ 61 const char *uuid; /* Repository ID */ 62 apr_array_header_t *capabilities; 63 /* Client capabilities (SVN_RA_CAPABILITY_*) */ 64 svn_stringbuf_t *fs_path;/* Decoded base in-repos path (w/ leading slash) */ 65 enum username_case_type username_case; /* Case-normalize the username? */ 66 svn_boolean_t use_sasl; /* Use Cyrus SASL for authentication; 67 always false if SVN_HAVE_SASL not defined */ | 1/* 2 * svn_server.h : declarations for the svn server 3 * 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 --- 51 unchanged lines hidden (view full) --- 60 const char *hooks_env; /* Path to the hooks environment file or NULL */ 61 const char *uuid; /* Repository ID */ 62 apr_array_header_t *capabilities; 63 /* Client capabilities (SVN_RA_CAPABILITY_*) */ 64 svn_stringbuf_t *fs_path;/* Decoded base in-repos path (w/ leading slash) */ 65 enum username_case_type username_case; /* Case-normalize the username? */ 66 svn_boolean_t use_sasl; /* Use Cyrus SASL for authentication; 67 always false if SVN_HAVE_SASL not defined */ |
68#ifdef SVN_HAVE_SASL |
|
68 unsigned min_ssf; /* min-encryption SASL parameter */ 69 unsigned max_ssf; /* max-encryption SASL parameter */ | 69 unsigned min_ssf; /* min-encryption SASL parameter */ 70 unsigned max_ssf; /* max-encryption SASL parameter */ |
71#endif |
|
70 71 enum access_type auth_access; /* access granted to authenticated users */ 72 enum access_type anon_access; /* access granted to annonymous users */ 73 74} repository_t; 75 76typedef struct client_info_t { 77 const char *user; /* Authenticated username of the user */ --- 42 unchanged lines hidden (view full) --- 120 svn_config_t *cfg; 121 122 /* logging data structure; possibly NULL. */ 123 struct logger_t *logger; 124 125 /* all configurations should be opened through this factory */ 126 svn_repos__config_pool_t *config_pool; 127 | 72 73 enum access_type auth_access; /* access granted to authenticated users */ 74 enum access_type anon_access; /* access granted to annonymous users */ 75 76} repository_t; 77 78typedef struct client_info_t { 79 const char *user; /* Authenticated username of the user */ --- 42 unchanged lines hidden (view full) --- 122 svn_config_t *cfg; 123 124 /* logging data structure; possibly NULL. */ 125 struct logger_t *logger; 126 127 /* all configurations should be opened through this factory */ 128 svn_repos__config_pool_t *config_pool; 129 |
128 /* all authz data should be opened through this factory */ 129 svn_repos__authz_pool_t *authz_pool; 130 | |
131 /* The FS configuration to be applied to all repositories. 132 It mainly contains things like cache settings. */ 133 apr_hash_t *fs_config; 134 135 /* Username case normalization style. */ 136 enum username_case_type username_case; 137 138 /* Size of the in-memory cache (used by FSFS only). */ --- 8 unchanged lines hidden (view full) --- 147 /* Item size up to which we use the zero-copy code path to transmit 148 them over the network. 0 disables that code path. */ 149 apr_size_t zero_copy_limit; 150 151 /* Amount of data to send between checks for cancellation requests 152 coming in from the client. */ 153 apr_size_t error_check_interval; 154 | 130 /* The FS configuration to be applied to all repositories. 131 It mainly contains things like cache settings. */ 132 apr_hash_t *fs_config; 133 134 /* Username case normalization style. */ 135 enum username_case_type username_case; 136 137 /* Size of the in-memory cache (used by FSFS only). */ --- 8 unchanged lines hidden (view full) --- 146 /* Item size up to which we use the zero-copy code path to transmit 147 them over the network. 0 disables that code path. */ 148 apr_size_t zero_copy_limit; 149 150 /* Amount of data to send between checks for cancellation requests 151 coming in from the client. */ 152 apr_size_t error_check_interval; 153 |
154 /* If not 0, error out on requests exceeding this value. */ 155 apr_uint64_t max_request_size; 156 157 /* If not 0, stop sending a response once it exceeds this value. */ 158 apr_uint64_t max_response_size; 159 |
|
155 /* Use virtual-host-based path to repo. */ 156 svn_boolean_t vhost; 157} serve_params_t; 158 159/* This structure contains all data that describes a client / server 160 connection. Their lifetime is separated from the thread-local 161 serving pools. */ 162typedef struct connection_t --- 77 unchanged lines hidden --- | 160 /* Use virtual-host-based path to repo. */ 161 svn_boolean_t vhost; 162} serve_params_t; 163 164/* This structure contains all data that describes a client / server 165 connection. Their lifetime is separated from the thread-local 166 serving pools. */ 167typedef struct connection_t --- 77 unchanged lines hidden --- |