summaryrefslogtreecommitdiff
path: root/src/packing/pack_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/packing/pack_impl.c')
-rw-r--r--src/packing/pack_impl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/packing/pack_impl.c b/src/packing/pack_impl.c
index 0b699814fc1..c92325a4c23 100644
--- a/src/packing/pack_impl.c
+++ b/src/packing/pack_impl.c
@@ -44,6 +44,16 @@ __wt_struct_check(WT_SESSION_IMPL *session,
}
/*
+ * __wt_struct_confchk --
+ * Check that the specified packing format is valid, configuration version.
+ */
+int
+__wt_struct_confchk(WT_SESSION_IMPL *session, WT_CONFIG_ITEM *v)
+{
+ return (__wt_struct_check(session, v->str, v->len, NULL, NULL));
+}
+
+/*
* __wt_struct_size --
* Calculate the size of a packed byte string.
*/