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

reading and writing hashtables to disk

Reading/writing hashtables to disk. More...

Functions

svn_error_tsvn_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_tsvn_hash_write (apr_hash_t *hash, apr_file_t *destfile, apr_pool_t *pool)
 Dump hash to destfile.


Detailed Description

Reading/writing hashtables to disk.


Function Documentation

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.

Use a pool for all allocations. hash will have const char * keys and svn_string_t * values.

svn_error_t* svn_hash_write apr_hash_t *  hash,
apr_file_t *  destfile,
apr_pool_t *  pool
 

Dump hash to destfile.

Use pool for all allocations. hash has const char * keys and svn_string_t * values.


Generated on Wed Oct 13 23:55:36 2004 for Subversion by doxygen 1.3.4