Subversion
|
Macros | |
#define | SVN_REPOS_CAPABILITY_MERGEINFO "mergeinfo" |
The capability of doing the right thing with merge-tracking information, both storing it and responding to queries about it. More... | |
Functions | |
svn_error_t * | svn_repos_has_capability (svn_repos_t *repos, svn_boolean_t *has, const char *capability, apr_pool_t *pool) |
Set *has to TRUE if repos has capability (one of the capabilities beginning with "SVN_REPOS_CAPABILITY_" ), else set *has to FALSE. More... | |
svn_error_t * | svn_repos_capabilities (apr_hash_t **capabilities, svn_repos_t *repos, apr_pool_t *result_pool, apr_pool_t *scratch_pool) |
Return a set of capabilities supported by the running Subversion library and by repos. More... | |
#define SVN_REPOS_CAPABILITY_MERGEINFO "mergeinfo" |
The capability of doing the right thing with merge-tracking information, both storing it and responding to queries about it.
Definition at line 581 of file svn_repos.h.
svn_error_t* svn_repos_capabilities | ( | apr_hash_t ** | capabilities, |
svn_repos_t * | repos, | ||
apr_pool_t * | result_pool, | ||
apr_pool_t * | scratch_pool | ||
) |
Return a set of capabilities supported by the running Subversion library and by repos.
(Capabilities supported by this version of Subversion but not by repos are not listed. This may happen when svn_repos_upgrade2() has not been called after a software upgrade.)
The set is represented as a hash whose const char * keys are the set members. The values are not defined.
Allocate capabilities in result_pool and use scratch_pool for temporary allocations.
svn_error_t* svn_repos_has_capability | ( | svn_repos_t * | repos, |
svn_boolean_t * | has, | ||
const char * | capability, | ||
apr_pool_t * | pool | ||
) |
Set *has to TRUE if repos has capability (one of the capabilities beginning with "SVN_REPOS_CAPABILITY_"
), else set *has to FALSE.
If capability isn't recognized, throw SVN_ERR_UNKNOWN_CAPABILITY, with the effect on *has undefined.
Use pool for all allocation.