Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

svn_hash.h File Reference

Dumping and reading hash tables to/from files. More...

#include <apr_pools.h>
#include <apr_hash.h>
#include <apr_file_io.h>
#include "svn_types.h"
#include "svn_io.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.
#define SVN_HASH_TERMINATOR   "END"
 
Since:
New in 1.1.


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_tsvn_hash_read2 (apr_hash_t *hash, svn_stream_t *stream, const char *terminator, apr_pool_t *pool)
 
Since:
New in 1.1.

svn_error_tsvn_hash_write2 (apr_hash_t *hash, svn_stream_t *stream, const char *terminator, apr_pool_t *pool)
 
Since:
New in 1.1.

svn_error_tsvn_hash_read_incremental (apr_hash_t *hash, svn_stream_t *stream, const char *terminator, apr_pool_t *pool)
 
Since:
New in 1.1.

svn_error_tsvn_hash_write_incremental (apr_hash_t *hash, apr_hash_t *oldhash, svn_stream_t *stream, const char *terminator, apr_pool_t *pool)
 
Since:
New in 1.1.

svn_error_tsvn_hash_read (apr_hash_t *hash, apr_file_t *srcfile, apr_pool_t *pool)
svn_error_tsvn_hash_write (apr_hash_t *hash, apr_file_t *destfile, apr_pool_t *pool)
svn_error_tsvn_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.


Detailed Description

Dumping and reading hash tables to/from files.

Definition in file svn_hash.h.


Generated on Thu Aug 25 00:11:40 2005 for Subversion by  doxygen 1.3.9.1