diff options
author | Volker Lendecke <vl@samba.org> | 2012-02-15 14:57:01 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-20 13:42:40 +0200 |
commit | 0f20ffbcbd41895dd073051539411f7194ae8224 (patch) | |
tree | 15494f3657fbbcb12ea60df0ed9255a0bb7e8fd6 /source3/lib/dbwrap/dbwrap_private.h | |
parent | e3de5e4fb6703976d7592b4dd8a52495a7deb951 (diff) | |
download | samba-0f20ffbcbd41895dd073051539411f7194ae8224.tar.gz samba-0f20ffbcbd41895dd073051539411f7194ae8224.tar.xz samba-0f20ffbcbd41895dd073051539411f7194ae8224.zip |
s3-dbwrap: Add dbwrap_db_id
This returns a blob uniquely identifying the database
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_private.h')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_private.h b/source3/lib/dbwrap/dbwrap_private.h index f95e305a00..b24e3b370c 100644 --- a/source3/lib/dbwrap/dbwrap_private.h +++ b/source3/lib/dbwrap/dbwrap_private.h @@ -58,6 +58,7 @@ struct db_context { void *private_data); int (*exists)(struct db_context *db,TDB_DATA key); int (*wipe)(struct db_context *db); + void (*id)(struct db_context *db, const uint8_t **id, size_t *idlen); void *private_data; enum dbwrap_lock_order lock_order; bool persistent; |