summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nscd/cachelib.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nscd/cachelib.h')
-rw-r--r--usr.sbin/nscd/cachelib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/nscd/cachelib.h b/usr.sbin/nscd/cachelib.h
index 37f0041..9df50e7 100644
--- a/usr.sbin/nscd/cachelib.h
+++ b/usr.sbin/nscd/cachelib.h
@@ -92,6 +92,7 @@ struct common_cache_entry_params {
size_t satisf_elemsize; /* if entry size is exceeded,
* this number of elements will be left,
* others will be deleted */
+ int confidence_threshold; /* number matching replies required */
struct timeval max_lifetime; /* if 0 then no check is made */
enum cache_policy_t policy; /* policy used for transformations */
};
@@ -116,6 +117,7 @@ struct cache_ht_item_data_ {
size_t value_size;
struct cache_policy_item_ *fifo_policy_item;
+ int confidence; /* incremented for each verification */
};
struct cache_ht_item_ {
OpenPOWER on IntegriCloud