summaryrefslogtreecommitdiff
path: root/lib/dbwrap/dbwrap_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dbwrap/dbwrap_private.h')
-rw-r--r--lib/dbwrap/dbwrap_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap_private.h b/lib/dbwrap/dbwrap_private.h
index f3c42b9d374..6a528507321 100644
--- a/lib/dbwrap/dbwrap_private.h
+++ b/lib/dbwrap/dbwrap_private.h
@@ -58,7 +58,8 @@ struct db_context {
int (*exists)(struct db_context *db,TDB_DATA key);
int (*wipe)(struct db_context *db);
int (*check)(struct db_context *db);
- void (*id)(struct db_context *db, const uint8_t **id, size_t *idlen);
+ size_t (*id)(struct db_context *db, uint8_t *id, size_t idlen);
+
const char *name;
void *private_data;
enum dbwrap_lock_order lock_order;