ldb: make key/value backends expose if there is an active transaction
[metze/samba/wip.git] / lib / ldb / ldb_tdb / ldb_tdb.h
index f14666ba88a4e62ff8e2f68ddb0924b9a787eae8..72ebb9713f2f70ebbb20201fe4a79b2ed1107afa 100644 (file)
@@ -29,6 +29,7 @@ struct kv_db_ops {
        const char * (*errorstr)(struct ltdb_private *ltdb);
        const char * (*name)(struct ltdb_private *ltdb);
        bool (*has_changed)(struct ltdb_private *ltdb);
+       bool (*transaction_active)(struct ltdb_private *ltdb);
 };
 
 /* this private structure is used by the ltdb backend in the