diff options
author | Michael Adam <obnox@samba.org> | 2011-08-18 14:09:56 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-10-11 14:17:56 +0200 |
commit | 3ed2fb4a874e8c271fa5976efcc1b0938872c708 (patch) | |
tree | 44c7061cdbbdcfbe74af650b9c5c32a3dd153510 /source3/lib/dbwrap | |
parent | 373b0606a35bfb213411dde163058d6ae0486f06 (diff) | |
download | samba-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.c | 5 | ||||
-rw-r--r-- | source3/lib/dbwrap/dbwrap.h | 1 |
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); |