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: svn_pools.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 svn_pools.h * @brief APR pool management for Subversion */ #ifndef SVN_POOLS_H #define SVN_POOLS_H #include "svn_types.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* Wrappers around APR pools, so we get debugging. */ /** The recommended maximum amount of memory (4MB) to keep in an APR * allocator on the free list, conveniently defined here to share * between all our applications. */ #define SVN_ALLOCATOR_RECOMMENDED_MAX_FREE (4096 * 1024) /** Wrapper around apr_pool_create_ex(), with a simpler interface. * The return pool will have an abort function set, which will call * abort() on OOM. */ apr_pool_t * svn_pool_create_ex(apr_pool_t *parent_pool, apr_allocator_t *allocator); #ifndef DOXYGEN_SHOULD_SKIP_THIS apr_pool_t * svn_pool_create_ex_debug(apr_pool_t *parent_pool, apr_allocator_t *allocator, const char *file_line); #if APR_POOL_DEBUG #define svn_pool_create_ex(pool, allocator) \ svn_pool_create_ex_debug(pool, allocator, APR_POOL__FILE_LINE__) #endif /* APR_POOL_DEBUG */ #endif /* DOXYGEN_SHOULD_SKIP_THIS */ /** Create a pool as a subpool of @a parent_pool */ #define svn_pool_create(parent_pool) svn_pool_create_ex(parent_pool, NULL) /** Clear a @a pool destroying its children. * * This define for @c svn_pool_clear exists for completeness. */ #define svn_pool_clear apr_pool_clear /** Destroy a @a pool and all of its children. * * This define for @c svn_pool_destroy exists for symmetry and * completeness. */ #define svn_pool_destroy apr_pool_destroy /** Return a new allocator. This function limits the unused memory in the * new allocator to #SVN_ALLOCATOR_RECOMMENDED_MAX_FREE and ensures * proper synchronization if the allocator is used by multiple threads. * * If your application uses multiple threads, creating a separate * allocator for each of these threads may not be feasible. Set the * @a thread_safe parameter to @c TRUE in that case; otherwise, set @a * thread_safe to @c FALSE to maximize performance. * * @note Even if @a thread_safe is @c TRUE, pools themselves will * still not be thread-safe and their access may require explicit * serialization. * * To access the owner pool, which can also serve as the root pool for * your sub-pools, call @c apr_allocator_get_owner(). * * @since: New in 1.8 */ apr_allocator_t * svn_pool_create_allocator(svn_boolean_t thread_safe); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* SVN_POOLS_H */
Upload File
Create Folder