From cf46733632c7279a9fd0fe6ce26f9185a4ae82a9 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sat, 5 Aug 2017 16:22:51 +0000 Subject: subversion-1.9.7 --- subversion/libsvn_subr/cache.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'subversion/libsvn_subr/cache.h') 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; }; -- cgit v1.2.1