summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-10 10:17:05 +0100
committerVolker Lendecke <vl@samba.org>2008-03-10 21:08:44 +0100
commit541b8dec4e21e0a88ccc0d85bc01433b66eb3588 (patch)
treec1c9ac30c8f5ae0c1bad8d775e95c332ddbd950f /source3/include
parent69d67122b2935ce4e7691a9480444edecac1ab8c (diff)
downloadsamba-541b8dec4e21e0a88ccc0d85bc01433b66eb3588.tar.gz
samba-541b8dec4e21e0a88ccc0d85bc01433b66eb3588.tar.bz2
samba-541b8dec4e21e0a88ccc0d85bc01433b66eb3588.zip
Add transactions to the dbwrap API
Only filled in for tdb so far, for rbt it's pointless, and ctdb itself needs to be extended (This used to be commit 0a55e018dd68af06d84332d54148bbfb0b510b22)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/dbwrap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/dbwrap.h b/source3/include/dbwrap.h
index 4eb174fef1..5c824750d1 100644
--- a/source3/include/dbwrap.h
+++ b/source3/include/dbwrap.h
@@ -42,6 +42,9 @@ struct db_context {
void *private_data),
void *private_data);
int (*get_seqnum)(struct db_context *db);
+ int (*transaction_start)(struct db_context *db);
+ int (*transaction_commit)(struct db_context *db);
+ int (*transaction_cancel)(struct db_context *db);
void *private_data;
bool persistent;
};