Subversion
|
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_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. 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... | |
typedef struct svn_fs_fsfs_info_t svn_fs_fsfs_info_t |
A structure that provides some information about a filesystem.
Returned by svn_fs_info() for SVN_FS_TYPE_FSFS filesystems.
typedef struct svn_fs_fsx_info_t svn_fs_fsx_info_t |
A structure that provides some information about a filesystem.
Returned by svn_fs_info() for SVN_FS_TYPE_FSX filesystems.
typedef struct svn_fs_info_placeholder_t svn_fs_info_placeholder_t |
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.
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.