summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-06-06 13:02:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:10 -0500
commit422722aad2e50465627a2f7b249c251652297a7b (patch)
treefb55c0fb04b631171ee02ddf8827e5b51d705ed1 /source3/lib/ldb/include
parentc9e21d8770a6bff73cbb2554b4192cbe0a289893 (diff)
downloadsamba-422722aad2e50465627a2f7b249c251652297a7b.tar.gz
samba-422722aad2e50465627a2f7b249c251652297a7b.tar.bz2
samba-422722aad2e50465627a2f7b249c251652297a7b.zip
r23367: check the "use mmap" option for ldb too
(This used to be commit 15345bbc73b28d07c069fde33d3d4c1f21f107d3)
Diffstat (limited to 'source3/lib/ldb/include')
-rw-r--r--source3/lib/ldb/include/ldb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/ldb/include/ldb.h b/source3/lib/ldb/include/ldb.h
index 44f9e5f3df..f96b90a1b2 100644
--- a/source3/lib/ldb/include/ldb.h
+++ b/source3/lib/ldb/include/ldb.h
@@ -233,6 +233,11 @@ struct ldb_utf8_fns {
*/
#define LDB_FLG_RECONNECT 4
+/**
+ Flag to tell backends not to use mmap
+*/
+#define LDB_FLG_NOMMAP 8
+
/*
structures for ldb_parse_tree handling code
*/