Subversion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
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
 

Typedefs

typedef struct svn_fs_fsfs_info_t svn_fs_fsfs_info_t
 A structure that provides some information about a filesystem. More...
 
typedef struct svn_fs_fsx_info_t svn_fs_fsx_info_t
 A structure that provides some information about a filesystem. More...
 
typedef struct
svn_fs_info_placeholder_t 
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. More...
 
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. More...
 

Detailed Description

Typedef Documentation

A structure that provides some information about a filesystem.

Returned by svn_fs_info() for SVN_FS_TYPE_FSFS filesystems.

Note
Fields may be added to the end of this structure in future versions. Therefore, users shouldn't allocate structures of this type, to preserve binary compatibility.
Since
New in 1.9.

A structure that provides some information about a filesystem.

Returned by svn_fs_info() for SVN_FS_TYPE_FSX filesystems.

Note
Fields may be added to the end of this structure in future versions. Therefore, users shouldn't allocate structures of this type, to preserve binary compatibility.
Since
New in 1.9.
See Also
svn_fs_info
Since
New in 1.9.

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.