summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-08 21:39:33 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-08 21:56:31 +1000
commit237f720e6c116b0e07bd20fb90ce19680ad36d3c (patch)
tree7990515255ae060e2afd9ee1ff1e6228112aa6ff /source4/lib/ldb/common
parent206d79ac514823f1c8f33489b740439df79189b6 (diff)
downloadsamba-237f720e6c116b0e07bd20fb90ce19680ad36d3c.tar.gz
samba-237f720e6c116b0e07bd20fb90ce19680ad36d3c.tar.bz2
samba-237f720e6c116b0e07bd20fb90ce19680ad36d3c.zip
s4/ldb: expose the ldb flags with ldb_get_flags()
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index dc3032643c..6939cefb59 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -1467,3 +1467,9 @@ int ldb_global_init(void)
/* Provided for compatibility with some older versions of ldb */
return 0;
}
+
+/* return the ldb flags */
+unsigned int ldb_get_flags(struct ldb_context *ldb)
+{
+ return ldb->flags;
+}