summaryrefslogtreecommitdiff
path: root/src/include/config.h
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-03-12 13:50:54 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-03-12 13:50:54 -0400
commit3e384a74e6e02793e983a232a7bb64d6d358eeff (patch)
tree6dd9e8f021e2d36bfa69f62e5972ad405487427d /src/include/config.h
parent4bdadc781d442f2ecd230418805239c5f79adf40 (diff)
downloadmongo-3e384a74e6e02793e983a232a7bb64d6d358eeff.tar.gz
Add support for calling functions to validate configuration values,
reference #1536, #1739.
Diffstat (limited to 'src/include/config.h')
-rw-r--r--src/include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/config.h b/src/include/config.h
index 046f515188c..1f30667b8d6 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -19,6 +19,7 @@ struct __wt_config {
struct __wt_config_check {
const char *name;
const char *type;
+ int (*checkf)(WT_SESSION_IMPL *, WT_CONFIG_ITEM *);
const char *checks;
const WT_CONFIG_CHECK *subconfigs;
};