From 945473aac0abffd8509bbeef3ed5a32737b7df51 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 22 Jun 2012 15:07:44 +0930 Subject: dbwrap: dbwrap_hash_size(). Implemented for ntdb and tdb; falls back to 0 for others. Signed-off-by: Rusty Russell --- lib/dbwrap/dbwrap_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/dbwrap/dbwrap_private.h') 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; -- cgit