#include <apr_hash.h>
#include "svn_types.h"
#include "svn_error.h"
Go to the source code of this file.
Typedefs | |
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) |
Callback function for use with svn_iter_apr_hash(). | |
typedef svn_error_t *(* | svn_iter_apr_array_cb_t )(void *baton, void *item, apr_pool_t *pool) |
Iteration callback used in conjuction with svn_iter_apr_array(). | |
Functions | |
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) |
Iterate over the elements in hash, calling func for each one until there are no more elements or func returns an error. | |
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) |
Iterate over the elements in array calling func for each one until there are no more elements or func returns an error. | |
svn_error_t * | svn_iter__break (void) |
Internal routine used by svn_iter_break() macro. |
Definition in file svn_iter.h.
|
Iteration callback used in conjuction with svn_iter_apr_array(). Use pool for temporary allocation, it's cleared between invocations. baton is the baton passed to svn_iter_apr_array(). item is a pointer to the item written to the array with the APR_ARRAY_PUSH() macro.
Definition at line 77 of file svn_iter.h. |
|
Callback function for use with svn_iter_apr_hash(). Use pool for temporary allocation, it's cleared between invocations. key, klen and val are the values normally retrieved with apr_hash_this(). baton is the baton passed into svn_iter_apr_hash().
Definition at line 40 of file svn_iter.h. |
|
Iterate over the elements in array calling func for each one until there are no more elements or func returns an error. Uses pool for temporary allocations.
On return - if func returns no errors - *completed will be set to
If func returns an error other than
|
|
Iterate over the elements in hash, calling func for each one until there are no more elements or func returns an error. Uses pool for temporary allocations.
On return - if func returns no errors - *completed will be set to
If func returns an error other than
|