summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/dbwrap/dbwrap.c15
-rw-r--r--source3/lib/dbwrap/dbwrap.h3
2 files changed, 18 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap.c b/source3/lib/dbwrap/dbwrap.c
index 3cbd699910..5a61bed886 100644
--- a/source3/lib/dbwrap/dbwrap.c
+++ b/source3/lib/dbwrap/dbwrap.c
@@ -217,3 +217,18 @@ int dbwrap_get_flags(struct db_context *db)
{
return db->get_flags(db);
}
+
+int dbwrap_transaction_start(struct db_context *db)
+{
+ return db->transaction_start(db);
+}
+
+int dbwrap_transaction_commit(struct db_context *db)
+{
+ return db->transaction_commit(db);
+}
+
+int dbwrap_transaction_cancel(struct db_context *db)
+{
+ return db->transaction_cancel(db);
+}
diff --git a/source3/lib/dbwrap/dbwrap.h b/source3/lib/dbwrap/dbwrap.h
index 79e215acad..8a0bee8f97 100644
--- a/source3/lib/dbwrap/dbwrap.h
+++ b/source3/lib/dbwrap/dbwrap.h
@@ -80,6 +80,9 @@ int dbwrap_parse_record(struct db_context *db, TDB_DATA key,
void *private_data);
int dbwrap_wipe(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);
+int dbwrap_transaction_cancel(struct db_context *db);
/* The following definitions come from lib/dbwrap_util.c */