summaryrefslogtreecommitdiff
path: root/lib/dbwrap/dbwrap_private.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-22 15:07:44 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-22 07:35:17 +0200
commit945473aac0abffd8509bbeef3ed5a32737b7df51 (patch)
tree1a01de9fd747aade6fbcc3ae00545f3be7bbc415 /lib/dbwrap/dbwrap_private.h
parente92cb556fdb5faee71f614475aaade846dcd0aed (diff)
downloadsamba-945473aac0abffd8509bbeef3ed5a32737b7df51.tar.gz
samba-945473aac0abffd8509bbeef3ed5a32737b7df51.tar.bz2
samba-945473aac0abffd8509bbeef3ed5a32737b7df51.zip
dbwrap: dbwrap_hash_size().
Implemented for ntdb and tdb; falls back to 0 for others. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/dbwrap/dbwrap_private.h')
-rw-r--r--lib/dbwrap/dbwrap_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap_private.h b/lib/dbwrap/dbwrap_private.h
index f5b2140866..d49a568cd0 100644
--- a/lib/dbwrap/dbwrap_private.h
+++ b/lib/dbwrap/dbwrap_private.h
@@ -64,6 +64,7 @@ struct db_context {
int (*check)(struct db_context *db);
void (*id)(struct db_context *db, const uint8_t **id, size_t *idlen);
const char *name;
+ int hash_size;
void *private_data;
enum dbwrap_lock_order lock_order;
bool persistent;