003 File Manager
Current Path:
/usr/src/contrib/subversion/subversion/include
usr
/
src
/
contrib
/
subversion
/
subversion
/
include
/
📁
..
📄
mod_authz_svn.h
(2.16 KB)
📄
mod_dav_svn.h
(5.06 KB)
📁
private
📄
svn_auth.h
(47.96 KB)
📄
svn_base64.h
(4.07 KB)
📄
svn_cache_config.h
(2.85 KB)
📄
svn_checksum.h
(8.28 KB)
📄
svn_client.h
(290.93 KB)
📄
svn_cmdline.h
(14.17 KB)
📄
svn_compat.h
(3.88 KB)
📄
svn_config.h
(34.46 KB)
📄
svn_ctype.h
(6.31 KB)
📄
svn_dav.h
(15.78 KB)
📄
svn_delta.h
(62.9 KB)
📄
svn_diff.h
(50.82 KB)
📄
svn_dirent_uri.h
(32.08 KB)
📄
svn_dso.h
(2.91 KB)
📄
svn_error.h
(24.33 KB)
📄
svn_error_codes.h
(62.1 KB)
📄
svn_fs.h
(126.75 KB)
📄
svn_hash.h
(8.01 KB)
📄
svn_io.h
(90.36 KB)
📄
svn_iter.h
(4.61 KB)
📄
svn_md5.h
(2.62 KB)
📄
svn_mergeinfo.h
(24.4 KB)
📄
svn_nls.h
(1.62 KB)
📄
svn_opt.h
(30.19 KB)
📄
svn_opt_impl.h
(2.53 KB)
📄
svn_path.h
(25.59 KB)
📄
svn_pools.h
(3.48 KB)
📄
svn_props.h
(24.69 KB)
📄
svn_quoprint.h
(2.61 KB)
📄
svn_ra.h
(96.65 KB)
📄
svn_ra_svn.h
(26.77 KB)
📄
svn_repos.h
(166.59 KB)
📄
svn_sorts.h
(4.9 KB)
📄
svn_string.h
(22.16 KB)
📄
svn_subst.h
(26.42 KB)
📄
svn_time.h
(3.14 KB)
📄
svn_types.h
(37.91 KB)
📄
svn_types_impl.h
(4.99 KB)
📄
svn_user.h
(1.86 KB)
📄
svn_utf.h
(8.11 KB)
📄
svn_version.h
(12.79 KB)
📄
svn_wc.h
(313.68 KB)
📄
svn_x509.h
(6.09 KB)
📄
svn_xml.h
(12.33 KB)
Editing: mod_dav_svn.h
/** * @copyright * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * ==================================================================== * @endcopyright * * @file mod_dav_svn.h * @brief Subversion's backend for Apache's mod_dav module */ #ifndef MOD_DAV_SVN_H #define MOD_DAV_SVN_H #include <httpd.h> #include <mod_dav.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /** Given an apache request @a r, a @a uri, and a @a root_path to the svn location block, process @a uri and return many things, allocated in @a pool: - @a cleaned_uri: The uri with duplicate and trailing slashes removed. - @a trailing_slash: Whether the uri had a trailing slash on it. Three special substrings of the uri are returned for convenience: - @a repos_basename: The single path component that is the directory which contains the repository. (Don't confuse this with the "repository name" as optionally defined via the SVNReposName directive!) - @a relative_path: The remaining imaginary path components. - @a repos_path: The actual path within the repository filesystem, or NULL if no part of the uri refers to a path in the repository (e.g. "!svn/vcc/default" or "!svn/bln/25"). For example, consider the uri /svn/repos/proj1/!svn/blah/13//A/B/alpha In the SVNPath case, this function would receive a @a root_path of '/svn/repos/proj1', and in the SVNParentPath case would receive a @a root_path of '/svn/repos'. But either way, we would get back: - @a cleaned_uri: /svn/repos/proj1/!svn/blah/13/A/B/alpha - @a repos_basename: proj1 - @a relative_path: /!svn/blah/13/A/B/alpha - @a repos_path: A/B/alpha - @a trailing_slash: FALSE NOTE: The returned dav_error will be also allocated in @a pool, not in @a r->pool. @since New in 1.9 */ AP_MODULE_DECLARE(dav_error *) dav_svn_split_uri2(request_rec *r, const char *uri_to_split, const char *root_path, const char **cleaned_uri, int *trailing_slash, const char **repos_basename, const char **relative_path, const char **repos_path, apr_pool_t *pool); /** * Same as dav_svn_split_uri2() but allocates the result in @a r->pool. */ AP_MODULE_DECLARE(dav_error *) dav_svn_split_uri(request_rec *r, const char *uri, const char *root_path, const char **cleaned_uri, int *trailing_slash, const char **repos_basename, const char **relative_path, const char **repos_path); /** * Given an apache request @a r and a @a root_path to the svn location * block, set @a *repos_path to the path of the repository on disk. * Perform all allocations in @a pool. * * NOTE: The returned dav_error will be also allocated in @a pool, not * in @a r->pool. * * @since New in 1.9 */ AP_MODULE_DECLARE(dav_error *) dav_svn_get_repos_path2(request_rec *r, const char *root_path, const char **repos_path, apr_pool_t *pool); /** * Same as dav_svn_get_repos_path2() but allocates the result in@a r->pool. */ AP_MODULE_DECLARE(dav_error *) dav_svn_get_repos_path(request_rec *r, const char *root_path, const char **repos_path); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* MOD_DAV_SVN_H */
Upload File
Create Folder