diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-15 14:08:21 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-15 14:08:21 -0700 |
commit | f9c308664833ccba957050ac8a27c5e8a1b44e83 (patch) | |
tree | 2c1ca6a3c9c44e79f7dbb00bd52a60cd450af9fd /source4/lib/ldb/include | |
parent | dac0fb0b7c369255e0d07e47a11f6a0288019da1 (diff) | |
parent | f2b5b5bb17910c8a2b709fd62e214c96da3fdd2d (diff) | |
download | samba-f9c308664833ccba957050ac8a27c5e8a1b44e83.tar.gz samba-f9c308664833ccba957050ac8a27c5e8a1b44e83.tar.bz2 samba-f9c308664833ccba957050ac8a27c5e8a1b44e83.zip |
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 5 | ||||
-rw-r--r-- | source4/lib/ldb/include/ldb_private.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 04b0a22fc1..2c89031919 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -1284,6 +1284,11 @@ int ldb_sequence_number(struct ldb_context *ldb, enum ldb_sequence_type type, ui int ldb_transaction_start(struct ldb_context *ldb); /** + first phase of two phase commit + */ +int ldb_transaction_prepare_commit(struct ldb_context *ldb); + +/** commit a transaction */ int ldb_transaction_commit(struct ldb_context *ldb); 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 */ |