summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb_private.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-15 14:07:06 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-15 18:45:43 -0700
commit03d0005b250ebd7e632e5cd5cbb8e76fceb1bbee (patch)
treee4feb54e37c0d4e0c6250b71bb1ac6e04495bf64 /source4/lib/ldb/include/ldb_private.h
parent458dda1f15db3db674cf8846b3c08340378a29a8 (diff)
downloadsamba-03d0005b250ebd7e632e5cd5cbb8e76fceb1bbee.tar.gz
samba-03d0005b250ebd7e632e5cd5cbb8e76fceb1bbee.tar.bz2
samba-03d0005b250ebd7e632e5cd5cbb8e76fceb1bbee.zip
s4-ldb: expose ldb_transaction_prepare_commit() in ldb
It is useful to be able to control the 2 phase commit from application code (s4 replication uses it)
Diffstat (limited to 'source4/lib/ldb/include/ldb_private.h')
-rw-r--r--source4/lib/ldb/include/ldb_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index c12f33495b..1fb3109b1b 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -114,6 +114,8 @@ struct ldb_context {
char *modules_dir;
struct tevent_context *ev_ctx;
+
+ bool prepare_commit_done;
};
/* The following definitions come from lib/ldb/common/ldb.c */