summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap/dbwrap.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-15 14:57:01 +0100
committerVolker Lendecke <vl@samba.org>2012-04-20 13:42:40 +0200
commit0f20ffbcbd41895dd073051539411f7194ae8224 (patch)
tree15494f3657fbbcb12ea60df0ed9255a0bb7e8fd6 /source3/lib/dbwrap/dbwrap.h
parente3de5e4fb6703976d7592b4dd8a52495a7deb951 (diff)
downloadsamba-0f20ffbcbd41895dd073051539411f7194ae8224.tar.gz
samba-0f20ffbcbd41895dd073051539411f7194ae8224.tar.bz2
samba-0f20ffbcbd41895dd073051539411f7194ae8224.zip
s3-dbwrap: Add dbwrap_db_id
This returns a blob uniquely identifying the database
Diffstat (limited to 'source3/lib/dbwrap/dbwrap.h')
-rw-r--r--source3/lib/dbwrap/dbwrap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap.h b/source3/lib/dbwrap/dbwrap.h
index 9981b6dfd9..6fd5999a9d 100644
--- a/source3/lib/dbwrap/dbwrap.h
+++ b/source3/lib/dbwrap/dbwrap.h
@@ -62,6 +62,7 @@ int dbwrap_get_flags(struct db_context *db);
int dbwrap_transaction_start(struct db_context *db);
int dbwrap_transaction_commit(struct db_context *db);
int dbwrap_transaction_cancel(struct db_context *db);
+void dbwrap_db_id(struct db_context *db, const uint8_t **id, size_t *idlen);
/* The following definitions come from lib/dbwrap_util.c */