Filesystem information subsystem

Data Structures

struct  svn_fs_fsfs_info_t
 A structure that provides some information about a filesystem. More...
struct  svn_fs_fsx_info_t
 A structure that provides some information about a filesystem. More...
struct  svn_fs_info_placeholder_t

Functions

svn_error_tsvn_fs_info (const svn_fs_info_placeholder_t **fs_info, svn_fs_t *fs, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
 Set *fs_info to a struct describing fs.
void * svn_fs_info_dup (const void *info, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
 Return a duplicate of info, allocated in result_pool.

Function Documentation

svn_error_t* svn_fs_info ( const svn_fs_info_placeholder_t **  fs_info,
svn_fs_t fs,
apr_pool_t *  result_pool,
apr_pool_t *  scratch_pool 
)

Set *fs_info to a struct describing fs.

The type of the struct depends on the backend: for SVN_FS_TYPE_FSFS, the struct will be of type svn_fs_fsfs_info_t; for SVN_FS_TYPE_FSX, it will be of type svn_fs_fsx_info_t; otherwise, the struct is guaranteed to be (compatible with) svn_fs_info_placeholder_t.

See also:
svn_fs_fsfs_info_t, svn_fs_fsx_info_t
Since:
New in 1.9.
void* svn_fs_info_dup ( const void *  info,
apr_pool_t *  result_pool,
apr_pool_t *  scratch_pool 
)

Return a duplicate of info, allocated in result_pool.

The returned struct will be of the same type as the passed-in struct, which itself must have been returned from svn_fs_info() or svn_fs_info_dup(). No part of the new structure will be shared with info (except static string constants). Use scratch_pool for temporary allocations.

See also:
svn_fs_info_placeholder_t, svn_fs_fsfs_info_t
Since:
New in 1.9.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 13 May 2015 for Subversion by  doxygen 1.6.1