summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-03-31 15:07:54 +1100
committerAndrew Tridgell <tridge@samba.org>2009-03-31 15:07:54 +1100
commit6688ee80b2d2247825efd82ee212ec926e422250 (patch)
tree498728963133cb7cd6ae4ee5304f11c1d75babb4 /source4/lib/ldb/include
parent7a5e6940cf9578f865a559102c76f7c64b0ff47d (diff)
downloadsamba-6688ee80b2d2247825efd82ee212ec926e422250.tar.gz
samba-6688ee80b2d2247825efd82ee212ec926e422250.tar.bz2
samba-6688ee80b2d2247825efd82ee212ec926e422250.zip
added support for a prepare_commit() op in ldb modules
This op will be used by the partition module to give us good transaction semantics across the 4 partitions that sam.ldb uses.
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb_module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_module.h b/source4/lib/ldb/include/ldb_module.h
index 4e1019184d..e07fd43e27 100644
--- a/source4/lib/ldb/include/ldb_module.h
+++ b/source4/lib/ldb/include/ldb_module.h
@@ -52,6 +52,7 @@ struct ldb_module_ops {
int (*request)(struct ldb_module *, struct ldb_request *); /* match any other operation */
int (*extended)(struct ldb_module *, struct ldb_request *); /* extended operations */
int (*start_transaction)(struct ldb_module *);
+ int (*prepare_commit)(struct ldb_module *);
int (*end_transaction)(struct ldb_module *);
int (*del_transaction)(struct ldb_module *);
int (*sequence_number)(struct ldb_module *, struct ldb_request *);