diff options
author | peter <peter@FreeBSD.org> | 2015-10-12 08:54:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2015-10-12 08:54:49 +0000 |
commit | c18b5d7f26f112be58bb1c4660799dea49f219ba (patch) | |
tree | 013c2e6845398e5a9ca4901dcc077769c7520e1d /subversion/libsvn_subr/cache.h | |
parent | 91308aec6ca93cab82659cd43b3f6a83d366350b (diff) | |
download | FreeBSD-src-c18b5d7f26f112be58bb1c4660799dea49f219ba.zip FreeBSD-src-c18b5d7f26f112be58bb1c4660799dea49f219ba.tar.gz |
Vendor import of subversion-1.9.2
Diffstat (limited to 'subversion/libsvn_subr/cache.h')
-rw-r--r-- | subversion/libsvn_subr/cache.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subversion/libsvn_subr/cache.h b/subversion/libsvn_subr/cache.h index 5029cef..62a1f8e 100644 --- a/subversion/libsvn_subr/cache.h +++ b/subversion/libsvn_subr/cache.h @@ -38,6 +38,12 @@ typedef struct svn_cache__vtable_t { const void *key, apr_pool_t *result_pool); + /* See svn_cache__has_key(). */ + svn_error_t *(*has_key)(svn_boolean_t *found, + void *cache_implementation, + const void *key, + apr_pool_t *scratch_pool); + /* See svn_cache__set(). */ svn_error_t *(*set)(void *cache_implementation, const void *key, @@ -99,6 +105,10 @@ struct svn_cache__t { /* Total number of function calls that returned an error. */ apr_uint64_t failures; + + /* Cause all getters to act as though the cache contains no data. + (Currently this never becomes set except in maintainer builds.) */ + svn_boolean_t pretend_empty; }; |