#include <apr_pools.h>
#include <apr_hash.h>
#include <apr_file_io.h>
#include "svn_types.h"
#include "svn_error.h"
Go to the source code of this file.
Defines | |
#define | SVN_KEYLINE_MAXLEN 100 |
The longest the "K <number>" line can be in one of our hashdump files. | |
Typedefs | |
typedef svn_error_t *(* | svn_hash_diff_func_t )(const void *key, apr_ssize_t klen, enum svn_hash_diff_key_status status, void *baton) |
Function type for expressing a key's status between two hash tables. | |
Enumerations | |
enum | svn_hash_diff_key_status { svn_hash_diff_key_both, svn_hash_diff_key_a, svn_hash_diff_key_b } |
Hash key status indicator for svn_hash_diff_func_t. | |
Functions | |
svn_error_t * | svn_hash_read (apr_hash_t *hash, apr_file_t *srcfile, apr_pool_t *pool) |
Read a hash table from srcfile, storing the resultants names and values in hash. | |
svn_error_t * | svn_hash_write (apr_hash_t *hash, apr_file_t *destfile, apr_pool_t *pool) |
Dump hash to destfile. | |
svn_error_t * | svn_hash_diff (apr_hash_t *hash_a, apr_hash_t *hash_b, svn_hash_diff_func_t diff_func, void *diff_func_baton, apr_pool_t *pool) |
Take the diff of two hashtables. |
Definition in file svn_hash.h.