summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-08-18 14:09:56 +0200
committerMichael Adam <obnox@samba.org>2011-10-11 14:17:56 +0200
commit3ed2fb4a874e8c271fa5976efcc1b0938872c708 (patch)
tree44c7061cdbbdcfbe74af650b9c5c32a3dd153510 /source3/lib/dbwrap
parent373b0606a35bfb213411dde163058d6ae0486f06 (diff)
downloadsamba-3ed2fb4a874e8c271fa5976efcc1b0938872c708.tar.gz
samba-3ed2fb4a874e8c271fa5976efcc1b0938872c708.tar.bz2
samba-3ed2fb4a874e8c271fa5976efcc1b0938872c708.zip
s3:dbwrap: add wrapper function dbwrap_get_seqnum()
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r--source3/lib/dbwrap/dbwrap.c5
-rw-r--r--source3/lib/dbwrap/dbwrap.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap.c b/source3/lib/dbwrap/dbwrap.c
index 5a61bed886..361c786880 100644
--- a/source3/lib/dbwrap/dbwrap.c
+++ b/source3/lib/dbwrap/dbwrap.c
@@ -213,6 +213,11 @@ int dbwrap_wipe(struct db_context *db)
return db->wipe(db);
}
+int dbwrap_get_seqnum(struct db_context *db)
+{
+ return db->get_seqnum(db);
+}
+
int dbwrap_get_flags(struct db_context *db)
{
return db->get_flags(db);
diff --git a/source3/lib/dbwrap/dbwrap.h b/source3/lib/dbwrap/dbwrap.h
index 8a0bee8f97..5120210399 100644
--- a/source3/lib/dbwrap/dbwrap.h
+++ b/source3/lib/dbwrap/dbwrap.h
@@ -79,6 +79,7 @@ int dbwrap_parse_record(struct db_context *db, TDB_DATA key,
void *private_data),
void *private_data);
int dbwrap_wipe(struct db_context *db);
+int dbwrap_get_seqnum(struct db_context *db);
int dbwrap_get_flags(struct db_context *db);
int dbwrap_transaction_start(struct db_context *db);
int dbwrap_transaction_commit(struct db_context *db);