+ union tdb_attribute log_attr, jhash_attr, ohash_attr,
+ incompat_hash_attr;
+
+ log_attr.base.attr = TDB_ATTRIBUTE_LOG;
+ log_attr.base.next = NULL;
+ log_attr.log.fn = log_fn;
+ log_attr.log.data = &log_count;
+
+ jhash_attr.base.attr = TDB_ATTRIBUTE_HASH;
+ jhash_attr.base.next = &log_attr;
+ jhash_attr.hash.fn = jenkins_hashfn;
+
+ ohash_attr.base.attr = TDB_ATTRIBUTE_HASH;
+ ohash_attr.base.next = &log_attr;
+ ohash_attr.hash.fn = old_hash;
+
+ incompat_hash_attr.base.attr = TDB_ATTRIBUTE_HASH;
+ incompat_hash_attr.base.next = &log_attr;
+ incompat_hash_attr.hash.fn = tdb1_incompatible_hash;