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_iter.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_iter.h * @brief The Subversion Iteration drivers helper routines * */ #ifndef SVN_ITER_H #define SVN_ITER_H #include <apr.h> /* for apr_ssize_t */ #include <apr_pools.h> /* for apr_pool_t */ #include <apr_hash.h> /* for apr_hash_t */ #include <apr_tables.h> /* for apr_array_header_t */ #include "svn_types.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /** Callback function for use with svn_iter_apr_hash(). * Use @a pool for temporary allocation, it's cleared between invocations. * * @a key, @a klen and @a val are the values normally retrieved with * apr_hash_this(). * * @a baton is the baton passed into svn_iter_apr_hash(). * * @since New in 1.5. */ typedef svn_error_t *(*svn_iter_apr_hash_cb_t)(void *baton, const void *key, apr_ssize_t klen, void *val, apr_pool_t *pool); /** Iterate over the elements in @a hash, calling @a func for each one until * there are no more elements or @a func returns an error. * * Uses @a pool for temporary allocations. * * If @a completed is not NULL, then on return - if @a func returns no * errors - @a *completed will be set to @c TRUE. * * If @a func returns an error other than @c SVN_ERR_ITER_BREAK, that * error is returned. When @a func returns @c SVN_ERR_ITER_BREAK, * iteration is interrupted, but no error is returned and @a *completed is * set to @c FALSE (even if this iteration was the last one). * * @since New in 1.5. */ svn_error_t * svn_iter_apr_hash(svn_boolean_t *completed, apr_hash_t *hash, svn_iter_apr_hash_cb_t func, void *baton, apr_pool_t *pool); /** Iteration callback used in conjunction with svn_iter_apr_array(). * * Use @a pool for temporary allocation, it's cleared between invocations. * * @a baton is the baton passed to svn_iter_apr_array(). @a item * is a pointer to the item written to the array with the APR_ARRAY_PUSH() * macro. * * @since New in 1.5. */ typedef svn_error_t *(*svn_iter_apr_array_cb_t)(void *baton, void *item, apr_pool_t *pool); /** Iterate over the elements in @a array calling @a func for each one until * there are no more elements or @a func returns an error. * * Uses @a pool for temporary allocations. * * If @a completed is not NULL, then on return - if @a func returns no * errors - @a *completed will be set to @c TRUE. * * If @a func returns an error other than @c SVN_ERR_ITER_BREAK, that * error is returned. When @a func returns @c SVN_ERR_ITER_BREAK, * iteration is interrupted, but no error is returned and @a *completed is * set to @c FALSE (even if this iteration was the last one). * * @since New in 1.5. */ svn_error_t * svn_iter_apr_array(svn_boolean_t *completed, const apr_array_header_t *array, svn_iter_apr_array_cb_t func, void *baton, apr_pool_t *pool); /** Internal routine used by svn_iter_break() macro. */ svn_error_t * svn_iter__break(void); /** Helper macro to break looping in svn_iter_apr_array() and * svn_iter_apr_hash() driven loops. * * @note The error is just a means of communicating between * driver and callback. There is no need for it to exist * past the lifetime of the iterpool. * * @since New in 1.5. */ #define svn_iter_break(pool) return svn_iter__break() #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* SVN_ITER_H */
Upload File
Create Folder